Skip to content

Restrict attribute keys to non-empty strings#2057

Merged
owais merged 1 commit intoopen-telemetry:mainfrom
owais:restrict-attr-keys-to-strings
Aug 19, 2021
Merged

Restrict attribute keys to non-empty strings#2057
owais merged 1 commit intoopen-telemetry:mainfrom
owais:restrict-attr-keys-to-strings

Conversation

@owais
Copy link
Copy Markdown
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 review from a team, 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.

3 participants