-
Notifications
You must be signed in to change notification settings - Fork 182
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
Attribute names: unicode on OTLP, only [a-z0-9._]
in OTel semcov
#1124
Comments
[a-z0-9._]
in OTel semcov[a-z0-9._]
in OTel semcov
[a-z0-9._]
in OTel semcov[a-z0-9._]
in OTel semcov
The use of I think use cases like this show that strictly prohibiting it may create problems with interoperability with other standards. |
Agreed. Our existing tooling imposes such limitations - CI checks would flag it and fail. To support other characters, we'd need some mechanism to define a code-friendly name for such identifiers. We might need a similar mechanism for #1118 (comment) (phase 2). |
Attribute names can be any unicode sequence
semantic-conventions/docs/general/attribute-naming.md
Line 24 in dd277f6
It makes sense for user apps using OTel API and OTLP, but is not accepted by our (build-tools) tooling
We should document and enforce the rules that we have for semantic convention definitions in this repo:
.
and_
are acceptedThese rules are necessary for code-generation. They should also apply to metric names, units, event names, event payload fields, or other properties that are likely to be represented as a code.
We can expand the list of allowed characters if we can find a way to support code generation for them.
The text was updated successfully, but these errors were encountered: