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

Rename Resource.LabelSet #1691

Closed
MrAlias opened this issue Mar 10, 2021 · 0 comments · Fixed by #1692
Closed

Rename Resource.LabelSet #1691

MrAlias opened this issue Mar 10, 2021 · 0 comments · Fixed by #1692
Labels
area:resources Part of OpenTelemetry resources good first issue Good for newcomers help wanted Extra attention is needed pkg:SDK Related to an SDK package
Milestone

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Mar 10, 2021

Remove the old term labels and make the method name concise, rename Resource.LabelSet to Resource.Set.

@MrAlias MrAlias added help wanted Extra attention is needed good first issue Good for newcomers pkg:SDK Related to an SDK package release:required-for-ga area:resources Part of OpenTelemetry resources labels Mar 10, 2021
@MrAlias MrAlias added this to the RC1 milestone Mar 10, 2021
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this issue Mar 10, 2021
The former `labels` package is now named `attributes` to conform with
the specification requirement. This removes the lingering `label` term
from the `resource` package.

Resolve open-telemetry#1691
MrAlias added a commit that referenced this issue Mar 11, 2021
* Rename resource pkg label vars and methods

The former `labels` package is now named `attributes` to conform with
the specification requirement. This removes the lingering `label` term
from the `resource` package.

Resolve #1691

* Update PR number in CHANGELOG

* Propagate rename to the prometheus exporter pkg
shbieng added a commit to shbieng/opentelemetry-go that referenced this issue Aug 26, 2022
* Rename resource pkg label vars and methods

The former `labels` package is now named `attributes` to conform with
the specification requirement. This removes the lingering `label` term
from the `resource` package.

Resolve open-telemetry/opentelemetry-go#1691

* Update PR number in CHANGELOG

* Propagate rename to the prometheus exporter pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:resources Part of OpenTelemetry resources good first issue Good for newcomers help wanted Extra attention is needed pkg:SDK Related to an SDK package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant