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

[prometheusreceiver and prometheusremotewriteexporter] Update resource attributes used when translating to/from prometheus #8266

Merged
merged 3 commits into from
Mar 11, 2022

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Mar 5, 2022

Description:

Fixes #8264.
Fixes #7081.

This PR updates the resource attributes used when translating to and from prometheus to match the prometheus conversion specification, which was updated in open-telemetry/opentelemetry-specification#2381 with these attributes.

Testing: Unit tests were updated. Prometheus compatibility tests still pass after this change.

@dashpole dashpole force-pushed the prom_semantic_conv branch 2 times, most recently from ac1a06f to bb88142 Compare March 7, 2022 14:07
@dashpole dashpole marked this pull request as ready for review March 7, 2022 14:08
@dashpole dashpole requested a review from a team March 7, 2022 14:08
@dashpole dashpole requested a review from Aneurysm9 as a code owner March 7, 2022 14:08
@dashpole dashpole force-pushed the prom_semantic_conv branch 2 times, most recently from 242ad5b to 4739572 Compare March 10, 2022 14:40
@dashpole dashpole added the comp:prometheus Prometheus related issues label Mar 10, 2022
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks @dashpole

@jpkrohling jpkrohling changed the title Update resource attributes used when translating to/from prometheus [prometheusreceiver and prometheusremotewriteexporter] Update resource attributes used when translating to/from prometheus Mar 11, 2022
@jpkrohling jpkrohling enabled auto-merge (squash) March 11, 2022 18:08
@jpkrohling jpkrohling merged commit c8db780 into open-telemetry:main Mar 11, 2022
@dashpole dashpole deleted the prom_semantic_conv branch April 6, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:prometheus Prometheus related issues
Projects
None yet
5 participants