separated influxdb measurements

This commit is contained in:
Nicholas St. Germain 2018-02-10 01:46:58 -06:00
parent 861cd1b676
commit c0e8f998a7
5 changed files with 25 additions and 43 deletions

View file

@ -23,9 +23,8 @@ for movie in movies.keys():
for movie, id in missing:
influx_payload.append(
{
"measurement": "Plex",
"measurement": "Radarr",
"tags": {
"server": "Radarr",
"type": "Missing",
"tmdbId": id
},
@ -36,7 +35,6 @@ for movie, id in missing:
}
)
influx = InfluxDBClient('grafana.domain.tld', 8086, 'root', 'root', 'plex')
influx.write_points(influx_payload)