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

feat(serializer.prometheusremotewrite): output native histogram #16494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Reimirno
Copy link

@Reimirno Reimirno commented Feb 10, 2025

Summary

Be able to output prom native histogram when necessary fields are present.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #16120

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/serializer labels Feb 10, 2025
labels[l.Name] = l.Value
}
}
for _, h := range ts.Histograms {
Copy link
Author

Choose a reason for hiding this comment

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

there is no text representation for native histogram and it has to be written out as proto exposition. For test purpose we format a reasonable string for verification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/serializer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prometheusremotewrite: End-to-end Prometheus Native Histogram Support
1 participant