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

Restrict attribute keys to non-empty strings #2057

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

owais
Copy link
Contributor

@owais owais commented Aug 19, 2021

Description

According to the spec:

The attribute key, which MUST be a non-null and non-empty string.

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/common.md

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Unit tests

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@owais owais requested a review from a team as a code owner August 19, 2021 14:20
@owais owais requested review from aabmass and lzchen and removed request for a team August 19, 2021 14:20
@owais owais force-pushed the restrict-attr-keys-to-strings branch 2 times, most recently from 863adb0 to dcd5bac Compare August 19, 2021 14:23
@owais owais force-pushed the restrict-attr-keys-to-strings branch from dcd5bac to 4c8e4b4 Compare August 19, 2021 14:26
@owais owais merged commit 653207d into open-telemetry:main Aug 19, 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.

None yet

3 participants