mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 04:31:12 +00:00
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.
This commit is contained in:
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…
x
Reference in New Issue
Block a user