Delete definition of metric `consul.acl.blocked.node.registration`

Although the metric is defined, there is no code which ever sets its
value - the code in question is genuinely asymmetric - there are 3 types
of object for which registration can be tracked, but only 2 for which
deregistration can be tracked.
pull/13499/head
Max Bowsher 2 years ago
parent a407d378af
commit 7b97b8abd2

@ -46,10 +46,6 @@ var StateCounters = []prometheus.CounterDefinition{
Name: []string{"acl", "blocked", "node", "registration"},
Help: "Increments whenever a registration fails for a node (blocked by an ACL)",
},
{
Name: []string{"acl", "blocked", "node", "deregistration"},
Help: "Increments whenever a deregistration fails for a node (blocked by an ACL)",
},
}
const fullSyncReadMaxStale = 2 * time.Second

Loading…
Cancel
Save