I am new in influx DB and I have to create structure as of now for 8 devices
each devices will have their neighbour devices and will be located in different cities of a country.
Also each devices will have there link capacity that will 10gig/sec and when device will communicate with other device during that time there current link capacity will be random float value but will be under 10gig/sec
and some threshold value like 80% of each device if any device’s current link capaxcity crosses the threshold value or it reaches to near by threshold need to generate alert,
and need to generate graph continiously for each device where every 5min record will entre into database.
This is my requirement. In this requirement I have written python scriot that will enter data in DB and have cron job that will execute python script every 5min. I want to know how I will handle in database to generate graph for further analysis based on time like if I have to check activity of device of last week or last 2 days i need to generate that.