fixup: remove label from RPC fail due to no servers

pull/19721/head
Jared Kirschner 1 year ago committed by GitHub
parent 06507fe053
commit 14e160573d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -294,7 +294,7 @@ TRY:
retryCount++
manager, server := c.router.FindLANRoute()
if server == nil {
metrics.IncrCounterWithLabels([]string{"client", "rpc", "failed"}, 1, []metrics.Label{{Name: "server", Value: "nil"}})
metrics.IncrCounter([]string{"client", "rpc", "failed"}, 1)
return structs.ErrNoServers
}

Loading…
Cancel
Save