We are facing issues with respect to “Default metrics getting generated for Nomad”. These metrics are getting generated even for dead nomad allocations.
We have configured the Nomad default configurations as mentioned on your website.
Link: telemetry Stanza - Agent Configuration | Nomad | HashiCorp Developer
statsd_address = “localhost:8125”
publish_allocation_metrics = true
publish_node_metrics = true
which generating metrics as mentioned in link Metrics Reference | Nomad | HashiCorp Developer
Question: How we can stop collecting metrics data for dead nomad allocations?
- Even after collectd restart, dead allocations are still pushing metrics data to graphite server from app server.
- On app server restart where nomad client and collectd are running, dead allocations stop pushing metrics data to graphite server.