consul
consul copied to clipboard
Metrics missing from documentation
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_count
defined 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.apply
from https://github.com/hashicorp/consul/blob/019aeaa57de97100d57f8ab9c771365b1cfcf7b8/agent/consul/intention_endpoint.go#L88 -
consul.raft.peers
from within thegithub.com/hashicorp/raft
library -
consul.runtime.gc_pause_ns
,.free_count
,.malloc_count
,.total_gc_runs
from within thegithub.com/armon/go-metrics
library -
consul.serf.member.update
andconsul.serf.queue.*
from within thegithub.com/hashicorp/serf
library