From 917d038bf96995dc1ad2082910777f537ffd3eb6 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Mon, 31 Aug 2020 13:44:02 +0100 Subject: [PATCH] Drop time-of-day tag which makes data difficult to use with victoria-metrics/promql --- app/octopus_to_influxdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/octopus_to_influxdb.py b/app/octopus_to_influxdb.py index 1cdb509..a5a7de4 100644 --- a/app/octopus_to_influxdb.py +++ b/app/octopus_to_influxdb.py @@ -102,7 +102,7 @@ def store_series(connection, series, metrics, rate_data): time = period.datetime().strftime('%H:%M') return { 'active_rate': active_rate_field(measurement), - 'time_of_day': time, + #'time_of_day': time, } measurements = [