summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-11 12:50:24 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-11 12:50:24 +0100
commitce76b34a81193254a6d3af715dba567040c12975 (patch)
treea00451cd4b932ac417f067f382e53856304a0c63 /overlays
parent4879d0f3fbdd245290b7d1394862b0c15561da6b (diff)
downloadnixos-ce76b34a81193254a6d3af715dba567040c12975.tar
nixos-ce76b34a81193254a6d3af715dba567040c12975.tar.gz
nixos-ce76b34a81193254a6d3af715dba567040c12975.tar.bz2
nixos-ce76b34a81193254a6d3af715dba567040c12975.tar.xz
nixos-ce76b34a81193254a6d3af715dba567040c12975.zip
...
Diffstat (limited to 'overlays')
-rw-r--r--overlays/cake-prometheus-exporter/cake-prometheus-exporter.py2
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']