Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus exporter emits target_info for Resource #3073

Closed
dashpole opened this issue Dec 2, 2022 · 2 comments · Fixed by #3279
Closed

Prometheus exporter emits target_info for Resource #3073

dashpole opened this issue Dec 2, 2022 · 2 comments · Fixed by #3279

Comments

@dashpole
Copy link

dashpole commented Dec 2, 2022

From the spec for handling resource in prometheus exporters:

In SDK Prometheus (pull) exporters, resource attributes SHOULD be converted to a single target_info metric; otherwise, they MUST be dropped, and MUST NOT be attached as labels to other metric families. The target_info metric MUST be an info-typed metric whose labels MUST include the resource attributes, and MUST NOT include any other labels. There MUST be at most one target_info metric exposed on an SDK Prometheus endpoint.

@nerstak
Copy link
Contributor

nerstak commented May 13, 2023

Oops, forgot to mention I was taking this issue. My bad

@ocelotl
Copy link
Contributor

ocelotl commented Jun 7, 2023

Assigned you, @nerstak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants