From 386b02355ac252d3dc4c4e9001dbb43f3a5fb14a Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Wed, 29 Jan 2020 12:42:55 -0600 Subject: [PATCH] TUN-2707: Inconsistent cardinality in tunnel error metrics --- origin/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/origin/metrics.go b/origin/metrics.go index 20ab2394..be64f533 100644 --- a/origin/metrics.go +++ b/origin/metrics.go @@ -419,7 +419,7 @@ func NewTunnelMetrics() *TunnelMetrics { Name: "tunnel_rpc_fail", Help: "Count of RPC connection errors by type", }, - []string{"error"}, + []string{"error", "rpcName"}, ) prometheus.MustRegister(rpcFail)