Description
https://www.consul.io/docs/agent/telemetry#metrics-reference claims "This is a full list of metrics emitted by Consul." but some are missing:
-
The family of new
consul.acl.*metrics defined at https://github.com/hashicorp/consul/blob/019aeaa57de97100d57f8ab9c771365b1cfcf7b8/agent/consul/acl_endpoint.go#L33 -
consul.consul.cache.entries_countdefined at https://github.com/hashicorp/consul/blob/019aeaa57de97100d57f8ab9c771365b1cfcf7b8/agent/cache/cache.go#L38-L44 (the doubled initialconsul.is presumably what the TODO comment is talking about - a number of other metrics are documented without the doubledconsul.even though they are actually emitted with it - but that's a separate issue.) -
consul.federation_state.*from https://github.com/hashicorp/consul/blob/019aeaa57de97100d57f8ab9c771365b1cfcf7b8/agent/consul/federation_state_endpoint.go#L16-L33 -
consul.intention.applyfrom https://github.com/hashicorp/consul/blob/019aeaa57de97100d57f8ab9c771365b1cfcf7b8/agent/consul/intention_endpoint.go#L88 -
consul.raft.peersfrom within thegithub.com/hashicorp/raftlibrary -
consul.runtime.gc_pause_ns,.free_count,.malloc_count,.total_gc_runsfrom within thegithub.com/armon/go-metricslibrary -
consul.serf.member.updateandconsul.serf.queue.*from within thegithub.com/hashicorp/serflibrary