From 7c2c391b6abf675941ed83849a5dbea0345ce2ac Mon Sep 17 00:00:00 2001 From: Alex Stockinger Date: Tue, 26 Jul 2022 14:10:28 +0200 Subject: [PATCH] Update pkg/iptables/metrics.go Co-authored-by: leonnicolas <60091705+leonnicolas@users.noreply.github.com> --- pkg/iptables/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/iptables/metrics.go b/pkg/iptables/metrics.go index 0910e3b..bb977fe 100644 --- a/pkg/iptables/metrics.go +++ b/pkg/iptables/metrics.go @@ -105,7 +105,7 @@ func (m *metricsClientWrapper) ListChains(table string) ([]string, error) { m.operationCounter.With(prometheus.Labels{ "operation": "ListChains", "table": table, - "chain": "", + "chain": "*", }).Inc() return m.client.ListChains(table) }