Closed
Description
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
The service name for a span, which overrides any default "service name" property defined in a tracer's config. The meaning of service should correspond to the value set in peer.service, except it is applied to the current span. This tag is meant to only be used when a tracer is reporting spans on behalf of another service (for example, a service mesh reporting on behalf of the services it is proxying, or an out-of-band reporter which reads in log files). This tag does not need to be used when reporting spans for the service the tracer is running in.
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
).
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,
Metadata
Metadata
Assignees
Labels
No labels