Commit Graph

12 Commits

Author SHA1 Message Date
Ben Greear
08401996b2 l3-longevity: Add influxdb-2 API
This properly inserts data into the c7-graphana system.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 22:02:34 -07:00
Matthew Stidham
108c014f98 script tag in test_l3_longevity
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 14:18:08 -07:00
Matthew Stidham
bb65157ca4 Add tags variable back to posttoinflux
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 13:54:58 -07:00
Matthew Stidham
291216dcb6 Insert data from test_l3_longevity into influx database
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 12:06:08 -07:00
Ben Greear
b4bead52ff longevity: Add initial influx support.
Doesn't work yet, calling influx with wrong data structure it seems.
But, getting closer.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-07 17:20:31 -07:00
lanforge
076a142501 Move running influxdbclient to init since it is needed in both functions.
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 13:49:35 -07:00
lanforge
3470bfd5b5 give custom datapoint to influx
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 13:37:22 -07:00
lanforge
fe45a2c657 Option to paste data from test_ipv4_variable_time to influx database
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 12:41:39 -07:00
Matthew Stidham
13c08a7a76 Properly report influx data in sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:21:29 -07:00
Matthew Stidham
bdb00daf6a correct url in influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 13:19:57 -07:00
lanforge
8e870862d9 Allow a user to gather data from only select variables
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:38:15 -07:00
lanforge
430c5b2ad0 Create influx.py in py-json and import it into recordinflux.py
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:18:40 -07:00