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

Use dots for OTLP labels #140

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Use dots for OTLP labels #140

merged 1 commit into from
Nov 13, 2023

Conversation

arendjr
Copy link
Collaborator

@arendjr arendjr commented Nov 7, 2023

This merely changes all the label constants to use dots instead of underscores, so they get submitted to OTLP endpoints according to the 1.0 spec.

I didn't have to change anything for the Prometheus exporters, because it appears the libraries do the translation back to underscores for us (and we have test coverage for it).

Implements AM-46.

@@ -2,6 +2,7 @@
"compilerOptions": {
"allowImportingTsExtensions": true,
"lib": ["DOM", "ESNext"],
"module": "ES2022",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This merely resolved a warning in the IDE.

@arendjr arendjr merged commit 16d6926 into main Nov 13, 2023
1 check failed
@arendjr arendjr deleted the use-dots-for-otlp-labels branch November 13, 2023 14:03
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.

3 participants