Skip to content

How does the Datadog Exporter attach metrics to Hosts? #6125

Answered by bertysentry
bertysentry asked this question in Q&A
Discussion options

You must be logged in to vote

As @ericmustin mentioned, the Datadog exporter leverages the "hostname", "host.name" (and equivalent) on the Resource a Metric is attached to, to create the corresponding Hosts in Datadog. It doesn't use the attributes of the Metric itself (which makes sense).

To solve the problem raised here, #6232 (Add support for metrics in groupbyattrsprocessor) must be implemented so that Prometheus metrics can be attached to Resources that are not just the exporter host itself.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ericmustin
Comment options

@bertysentry
Comment options

@mx-psi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bertysentry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants