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

[processor/span] Add 'keep_original_name' #36397

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

andrzej-stencel
Copy link
Member

This is another version of #36120 with fixed conflicts. Thanks @lopes-felipe for creating it!

Description

Some tracing libraries add some attributes into the span name (ex for the db.system), which can be further used to extract it as span attributes with this very processor. However, when that is done, the span name is replaced by a placeholder containing the attribute name.

This PR adds the possibility of keeping the original span name unchanged with a keep_original_name config property, but keeping the existing behavior (renaming the span) as the default option.

@andrzej-stencel andrzej-stencel requested a review from a team as a code owner November 15, 2024 23:57
@andrzej-stencel andrzej-stencel changed the title Span processor/keep original name [processor/span] Add 'keep_original_name' Nov 15, 2024
@jpkrohling jpkrohling merged commit 09a7033 into main Nov 16, 2024
169 checks passed
@jpkrohling jpkrohling deleted the span-processor/keep-original-name branch November 16, 2024 00:14
@github-actions github-actions bot added this to the next release milestone Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants