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

Support exemplars in Prometheus component pipelines #2574

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Nov 30, 2022

This commit allows exemplars to be passed around in Prometheus component pipelines. To support this change, the prometheus.Interceptor struct was extended to support intercepting any call to the Appendable interface.

Support for metadata is also added, though that code path is currently not invoked in our usage of the Prometheus scraper.

Fixes #2420.

…ines

This commit allows exemplars to be passed around in Prometheus component
pipelines. To support this change, the prometheus.Interceptor struct was
extended to support intercepting any call to the Appendable interface.

Support for metadata is also added, though that code path is currently
not invoked in our usage of the Prometheus scraper.

Fixes grafana#2420.
Copy link
Collaborator

@mattdurham mattdurham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rfratto rfratto merged commit 03b9598 into grafana:main Nov 30, 2022
@rfratto rfratto deleted the flow-exemplar-support branch November 30, 2022 21:32
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 14, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grafana Agent Flow doesn't support Prometheus exemplars
2 participants