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

Allowing tags to start with _ #5478

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Allowing tags to start with _ #5478

merged 2 commits into from
Oct 10, 2024

Conversation

carolineRe13
Copy link
Contributor

@carolineRe13 carolineRe13 commented Oct 8, 2024

Making it possible for tags to start with _

We want to use OT exporter with code gen. However, to override namespaces, we need to pass a tag which starts with "_"

Microsoft Reviewers: Open in CodeFlow

Making it possible for namespaces to start with _. This is necessary to use OT exporter as it requires namespace overrides to start with _
@carolineRe13 carolineRe13 changed the title Allowing namespaces to start with _ Allowing tags to start with _ Oct 8, 2024
@RussKie
Copy link
Member

RussKie commented Oct 9, 2024

Could you please add tests for this change too?

Also, please provide more details on your use case, a small repro would be very useful.

@RussKie RussKie added the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Oct 9, 2024
@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Oct 9, 2024
@carolineRe13
Copy link
Contributor Author

@dotnet-policy-service agree company="Microsoft"

@evgenyfedorov2
Copy link
Contributor

As per the OpenTelemetry naming conventions https://opentelemetry.io/docs/specs/semconv/general/attribute-naming/#recommendations-for-opentelemetry-authors names must not start with an underscore. Will check if it applies here

@evgenyfedorov2
Copy link
Contributor

@carolineRe13 did you close it without merging?

@carolineRe13 carolineRe13 reopened this Oct 10, 2024
@carolineRe13
Copy link
Contributor Author

carolineRe13 commented Oct 10, 2024

@evgenyfedorov2 was by accident

@RussKie
Copy link
Member

RussKie commented Oct 10, 2024

This was discussed internally with the Geneva team; this change poses no issues.

@RussKie RussKie merged commit b4734e2 into dotnet:main Oct 10, 2024
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants