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