From 188733e4fb84062c5d397f991c8fa2511de1c0c7 Mon Sep 17 00:00:00 2001 From: sparky8512 <76499194+sparky8512@users.noreply.github.com> Date: Tue, 2 Feb 2021 18:03:47 -0800 Subject: [PATCH] Fix "usage" mode for InfluxDB I forgot this script knows about the category labels. --- dish_grpc_influx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dish_grpc_influx.py b/dish_grpc_influx.py index 8aa667d..68d26db 100644 --- a/dish_grpc_influx.py +++ b/dish_grpc_influx.py @@ -214,7 +214,7 @@ def sync_timebase(opts, gstate): def loop_body(opts, gstate): - fields = {"status": {}, "ping_stats": {}} + fields = {"status": {}, "ping_stats": {}, "usage": {}} def cb_add_item(key, val, category): fields[category][key] = val