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

@ -24,9 +24,8 @@ for movie in get_movie_requests:
influx_payload = [
{
"measurement": "Plex",
"measurement": "Ombi",
"tags": {
"server": "Ombi",
"type": "Requests"
},
"time": current_time,
@ -36,7 +35,6 @@ influx_payload = [
}
]
influx = InfluxDBClient('grafana.domain.tld', 8086, 'root', 'root', 'plex')
influx.write_points(influx_payload)