integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

Consul Integration Metric Naming

Open reskin89 opened this issue 1 year ago • 0 comments

Issue

I am seeing metrics in datadog for consul.raft.heartbeat also including what seems to be a heartbeat ID as part of the metric, for example:

consul.raft.replication.heartbeat.07914c80_085b_bfa1_c1a3_4fae883f18e7.avg

This, according to the docs should just be: consul.raft.replication.heartbeat.avg and so on with median, sum etc.

This makes it nearly impossible to make alerts or dashboards with this metric as it has a great deal of values.

This identification stamp (it is not a consul node id or anything of the sort) should most likely be a tag on the metric and not part of the metric name.

Additional environment details (Operating System, Cloud provider, etc): AWS Amazon Linux 2

Steps to reproduce the issue:

  1. Run a datadog agent with consul integration
  2. Check the consul.raft.replication.heartbeat metrics that come in.

Describe the results you received:

I have a great deal of consul.raft.replication.heartbeat.SOMERANDOMID metrics, making it impossible to isolate that metric as a whole for my cluster

Describe the results you expected:

To have a single set of consul.raft.replication.heartbeat metrics that I can then filter by tag.

reskin89 avatar Feb 23 '24 16:02 reskin89