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

Sanitize label keys for metric descriptors #331

Merged
merged 1 commit into from Mar 10, 2022

Conversation

dashpole
Copy link
Contributor

Fixes #330.

Also, sanitize the keys in the seenKeys map so we don't output duplicate labels when labels collide.

@dashpole dashpole requested a review from aabmass March 10, 2022 00:18
@dashpole dashpole merged commit d88605e into GoogleCloudPlatform:main Mar 10, 2022
@dashpole dashpole deleted the sanitize_labels branch March 10, 2022 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New pdata collector exporter does not sanitize metric labels when creating metric descriptors
2 participants