You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tags set with SetTag aren't showing up in APM #177
Hi @vesquen, this is sadly a known issue with how our lambda instrumentation works with golang and other languages that use what we call "universal instrumentation" (ie java, dotnet, ruby, go). For these languages we defer a lot of instrumentation work to the Datadog Extension, including the creation of the root aws.lambda span. Thus, it's not currently possible to add tags to this root span.
The work around would be to create another span and add your tags there.
@vesquen Unfortunately not in the short term, though we are actively considering alternative approaches. However, none of them would land in the coming quarters.
Will the work around I offered help you? If not, what exactly is it you are attempting to do. There should be a way for us to get you what you need, albeit with a little more creativity than otherwise necessary.
Activity
purple4reina commentedon Oct 11, 2024
Hi @vesquen, this is sadly a known issue with how our lambda instrumentation works with golang and other languages that use what we call "universal instrumentation" (ie java, dotnet, ruby, go). For these languages we defer a lot of instrumentation work to the Datadog Extension, including the creation of the root
aws.lambdaspan. Thus, it's not currently possible to add tags to this root span.The work around would be to create another span and add your tags there.
vesquen commentedon Oct 11, 2024
Hi @purple4reina
Thank you for your input (and the workaround). Given the nature of this “bug”, I suppose this won’t change in the short term?
purple4reina commentedon Oct 18, 2024
@vesquen Unfortunately not in the short term, though we are actively considering alternative approaches. However, none of them would land in the coming quarters.
Will the work around I offered help you? If not, what exactly is it you are attempting to do. There should be a way for us to get you what you need, albeit with a little more creativity than otherwise necessary.
vesquen commentedon Oct 18, 2024
Hi @purple4reina
The workaround works as expected.