diff options
-rw-r--r-- | overlays/cake-prometheus-exporter/cake-prometheus-exporter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
58 | if len(qdisc['tins']) == 4: | 58 | if len(qdisc['tins']) == 4: |
59 | tin_names = ['bulk', 'best-effort', 'video', 'voice'] | 59 | tin_names = ['bulk', 'best-effort', 'video', 'voice'] |
60 | tins = {} | 60 | tins = {} |
61 | for tin_name, tin_data in zip(tin_names, qdics['tins']): | 61 | for tin_name, tin_data in zip(tin_names, qdisc['tins']): |
62 | tins[tin_name] = { | 62 | tins[tin_name] = { |
63 | 'bytes': tin_data['sent_bytes'], | 63 | 'bytes': tin_data['sent_bytes'], |
64 | 'packets': tin_data['sent_packets'] | 64 | 'packets': tin_data['sent_packets'] |