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

[prometheusremotewriteexporter] Drop prometheus exemplar labels when the max length is exceeded #8379

Merged
merged 3 commits into from
Mar 15, 2022

Conversation

dashpole
Copy link
Contributor

Description:
Fixes #8352. This follows the OTLP -> Prometheus specification for handling exemplar labels.

Testing:

Added a unit test

@dashpole dashpole requested review from a team and pmm-sumo March 10, 2022 16:32
@dashpole dashpole force-pushed the max_examplar_size branch 2 times, most recently from 69afeb2 to bf1d1a7 Compare March 10, 2022 16:35
@dashpole dashpole added the comp:prometheus Prometheus related issues label Mar 10, 2022
@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Mar 15, 2022
@jpkrohling jpkrohling merged commit 0040cdb into open-telemetry:main Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:prometheus Prometheus related issues ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[prometheusremotewriteexporter] exemplars can exceed the maximum number of allowed characters.
5 participants