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

Unify api/label and api/kv in new label package #1060

Merged
merged 11 commits into from
Aug 18, 2020

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Aug 15, 2020

Most of the changes are just replacing the package name used to reference Keys, Values, and KeyValues, but there are some small fixes to correct the prefered KeyValue creation pattern (i.e. not label.Key("key").String("value"), but instead label.String("key", "value"))

Resolves #1052

@MrAlias MrAlias merged commit f995380 into open-telemetry:master Aug 18, 2020
@MrAlias MrAlias deleted the kv-label branch August 18, 2020 03:25
@Aneurysm9 Aneurysm9 mentioned this pull request Aug 24, 2020
evantorrie pushed a commit to evantorrie/opentelemetry-go that referenced this pull request Sep 10, 2020
…#1060)

* Move `api/label` to `label`

* Move `api/kv` package contents into `label` package

* Unify label package name

* Move `api/internal/rawhelpers.go` to `internal`

* Propagate replacing `api/kv` with `label` pkg

* golint

* Fix over-aggressive change

* Update Changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:API Related to an API package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge the kv and labels packages
3 participants