We ran into this issue in both v1.35 and v1.36. There is potentially a bug around which DataDog Service the agent reports data back to. In v1.34 we were sending APM data to my-service but after upgrading the tracer, it now sends to a Service called echo which looks to be the default set here. We're using Echo github.com/labstack/echo/v4 v4.6.3
DD_SERVICE_MAPPING
Default: null
Dynamically rename services through configuration. Services can be separated by commas or spaces, for example: mysql:mysql-service-name,postgres:postgres-service-name, mysql:mysql-service-name postgres:postgres-service-name.
Our interpretation is if the service mapping is null it shouldn't interfere with the service naming.
We were able to get around the bug by setting DD_SERVICE_MAPPING to rename the service to its original name
@matlegit from what I see, null service mapping can't interfere with the service naming, so I couldn't reproduce. If the problem still persists, please feel free to share more info / snippets 🙌
Hi there,
We ran into this issue in both v1.35 and v1.36. There is potentially a bug around which DataDog Service the agent reports data back to. In v1.34 we were sending APM data to
my-service
but after upgrading the tracer, it now sends to a Service calledecho
which looks to be the default set here. We're using Echogithub.com/labstack/echo/v4 v4.6.3
The env var we're using in our containerized app:
Related PR: https://github.com/DataDog/dd-trace-go/pull/1077
Log:
Based on the official docs
Our interpretation is if the service mapping is null it shouldn't interfere with the service naming.
We were able to get around the bug by setting
DD_SERVICE_MAPPING
to rename the service to its original nameLog:
Hope this helps, thanks