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

refactor(exporter-prometheus): replace MetricAttributes to Attributes #4993

Conversation

david-luna
Copy link
Contributor

@david-luna david-luna commented Sep 13, 2024

Which problem is this PR solving?

Replaces MetricsAttributes and MetricAttributeValues to Attributes and AttributeValue

Refs #4175

Short description of the changes

How Has This Been Tested?

Ran the test suite for the exporter

@david-luna david-luna requested a review from a team September 13, 2024 14:37
Copy link
Member

@JamieDanielson JamieDanielson left a comment

Choose a reason for hiding this comment

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

It looks like the discussion is happening on the referenced PR updating API versions, but want to clarify here. Because this package already depends on "@opentelemetry/api": "1.9.0", this is a refactor that does not depend on that other PR. The reference to the original PR is helpful for discussion. This is one of the changes that can happen inmain without breaking changes, vs the changes to add to next that require an update to API version.

Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

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

Looks good % changelog nit 🙂
Thanks for working on this 🙌

CHANGELOG.md Outdated
@@ -19,6 +19,8 @@ For semantic convention package changes, see the [semconv CHANGELOG](packages/se

### :house: (Internal)

* refactor(exporter-prometheus): replace `MetricAttributes` and `MetricAttributeValues` with `Attributes` and `AttributeValues` [#4993](https://github.com/open-telemetry/opentelemetry-js/pull/4993)
Copy link
Member

Choose a reason for hiding this comment

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

ah, this should go into ./experimental/CHANGELOG.md as we're just modifying a experimental package. 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks! I've moved the entry

@david-luna david-luna added this pull request to the merge queue Sep 17, 2024
Merged via the queue into open-telemetry:main with commit 32e25c3 Sep 17, 2024
19 checks passed
@david-luna david-luna deleted the dluna/4175-replace-attrib-interfaces-prometheus branch September 17, 2024 19:39
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