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 pkg label vars and methods #1692

Merged
merged 4 commits into from
Mar 11, 2021

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented 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 #1691

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 MrAlias added this to the RC1 milestone Mar 10, 2021
@codecov
Copy link

codecov bot commented Mar 10, 2021

Codecov Report

Merging #1692 (9921ac1) into main (a1539d4) will not change coverage.
The diff coverage is 88.2%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1692   +/-   ##
=====================================
  Coverage   77.7%   77.7%           
=====================================
  Files        130     130           
  Lines       6924    6924           
=====================================
  Hits        5384    5384           
  Misses      1290    1290           
  Partials     250     250           
Impacted Files Coverage Δ
sdk/resource/resource.go 55.5% <80.0%> (ø)
exporters/metric/prometheus/prometheus.go 64.8% <100.0%> (ø)
sdk/resource/env.go 100.0% <100.0%> (ø)

@MrAlias MrAlias merged commit 8b1be11 into open-telemetry:main Mar 11, 2021
@MrAlias MrAlias deleted the resource-no-label branch March 11, 2021 19:00
@MrAlias MrAlias mentioned this pull request Mar 18, 2021
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.

Rename Resource.LabelSet
4 participants