-
Notifications
You must be signed in to change notification settings - Fork 82
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
Implement a way to set span attributes without overriding #869
Labels
Comments
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. Add the name field to the span struct to avoid having to update the extension and agent to handle this logic. Part of #869
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. Add the name field to the span struct to avoid having to update the extension and agent to handle this logic. Part of #869
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. Add the name field to the span struct to avoid having to update the extension and agent to handle this logic. Part of #869
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. Add the name field to the span struct to avoid having to update the extension and agent to handle this logic. Part of #869
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. Add the name field to the span struct to avoid having to update the extension and agent to handle this logic. Part of #869
tombruijn
added a commit
that referenced
this issue
May 24, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. This change requires an update to the extension. See PR appsignal/appsignal-agent#1158 Part of #869
tombruijn
added a commit
that referenced
this issue
May 27, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. This change requires an update to the extension. See PR appsignal/appsignal-agent#1158 Part of #869
tombruijn
added a commit
that referenced
this issue
Jun 3, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. This change requires an update to the extension. See PR appsignal/appsignal-agent#1158 Part of #869
tombruijn
added a commit
that referenced
this issue
Jun 3, 2024
Add helper to not set the name on a span if it's already set. We can use this to only set the span name (and the root span's (action) name), to not overwrite custom (action) names set by the app. This change requires an update to the extension. See PR appsignal/appsignal-agent#1158 Part of #869
tombruijn
changed the title
Implement a way to set span name and attributes without overriding
Implement a way to set span attributes without overriding
Jun 3, 2024
I've added it for span name, but won't implement it for attributes, because I have no purpose for it myself now. Unassigning and throwing it back on the backlog. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is spun off from a comment in #862. Implement a way to set the name and attributes for a span without overriding it, similar to how it was done for the sample data in #862.
To do
set_attribute_if_nil
set_name_if_nil
, Add set_name_if_nil helper #944The text was updated successfully, but these errors were encountered: