TUN-2707: Inconsistent cardinality in tunnel error metrics
This commit is contained in:
parent
203b939614
commit
386b02355a
|
@ -419,7 +419,7 @@ func NewTunnelMetrics() *TunnelMetrics {
|
||||||
Name: "tunnel_rpc_fail",
|
Name: "tunnel_rpc_fail",
|
||||||
Help: "Count of RPC connection errors by type",
|
Help: "Count of RPC connection errors by type",
|
||||||
},
|
},
|
||||||
[]string{"error"},
|
[]string{"error", "rpcName"},
|
||||||
)
|
)
|
||||||
prometheus.MustRegister(rpcFail)
|
prometheus.MustRegister(rpcFail)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue