From ce76b34a81193254a6d3af715dba567040c12975 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 11 Mar 2023 12:50:24 +0100 Subject: ... --- overlays/cake-prometheus-exporter/cake-prometheus-exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'overlays/cake-prometheus-exporter') diff --git a/overlays/cake-prometheus-exporter/cake-prometheus-exporter.py b/overlays/cake-prometheus-exporter/cake-prometheus-exporter.py index 07197149..5d07c279 100644 --- a/overlays/cake-prometheus-exporter/cake-prometheus-exporter.py +++ b/overlays/cake-prometheus-exporter/cake-prometheus-exporter.py @@ -58,7 +58,7 @@ class CAKEMetrics: if len(qdisc['tins']) == 4: tin_names = ['bulk', 'best-effort', 'video', 'voice'] tins = {} - for tin_name, tin_data in zip(tin_names, qdics['tins']): + for tin_name, tin_data in zip(tin_names, qdisc['tins']): tins[tin_name] = { 'bytes': tin_data['sent_bytes'], 'packets': tin_data['sent_packets'] -- cgit v1.2.3