separated influxdb measurements
This commit is contained in:
parent
861cd1b676
commit
c0e8f998a7
5 changed files with 25 additions and 43 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue