Fix "usage" mode for InfluxDB
I forgot this script knows about the category labels.
This commit is contained in:
parent
ed2ef50581
commit
188733e4fb
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ def sync_timebase(opts, gstate):
|
||||||
|
|
||||||
|
|
||||||
def loop_body(opts, gstate):
|
def loop_body(opts, gstate):
|
||||||
fields = {"status": {}, "ping_stats": {}}
|
fields = {"status": {}, "ping_stats": {}, "usage": {}}
|
||||||
|
|
||||||
def cb_add_item(key, val, category):
|
def cb_add_item(key, val, category):
|
||||||
fields[category][key] = val
|
fields[category][key] = val
|
||||||
|
|
Loading…
Reference in a new issue