-
Notifications
You must be signed in to change notification settings - Fork 41
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
Can't override service using opentracing_tag #72
Comments
Try service.name! It's a Datadog convention (so other tracers should support it) If it makes it easier, I can add in 'service' as a special tag name too, as per OpenTracing. But until that's merged in, 'service.name' as your span key should work :) |
Thanks @willgittoes-dd We now can have correct service list. I got other issue with the Create other issue for that: #74 |
Seems like OpenTracing might not adopt that tag after all: opentracing/specification#135 I'm going to leave the PR to add it here open, until we see if the revert passes. However none of that will stop 'service.name' from working! |
Thanks @willgittoes-dd, That's mean I will just stick with |
I think this issue can be closed. The PR referenced above was merged, and a solution was provided (setting |
Agreed with @cgilmour. We can close this issue. |
I'm using the nginx for proxy to our microservices.
I want to using dd-opentracing-cpp as nginx plugin.
I also using the
opentracing_tag "service" "service_name"
to change the service name, like this documents tell:https://github.com/opentracing/specification/blob/master/semantic_conventions.md#span-tags-table
But the issue is all of tracer reports in apm-ui is only show the
nginx
service name (Which defined in/etc/datadog-config.json
).For example:

How can I override the service_name for some span? (We also have a plan to implement dd-trace to all sub services), but its take time and I want to implements this way first.
Thanks,
The text was updated successfully, but these errors were encountered: