Manual OTLP trace python ingest generate duplicate Service names

Hi,

We reconstruct manually traces with python open telemetry package (1.27.0). When, we look at imported services in Dynatrace’s “Service” tab, we get duplicate services names :

- one with python logo, which is enriched with our otlp trace data

- one with open telemetry logo, which contains nothing

Our python code seems correct. Note that the python workload, for the otlp trace reconstruct, run on kubernetes. On the k8s cluster, one agent 1.2.1 is also running

Thanks in advance for your help

1st) ensure the process groups of these services, in case for 2 service instances you found it has 2 different process groups so you’ve to create Declarative Process Group or Advanced Process Group detection rule to make them the same, accordingly once succeeded you’ll get your services has been merged automatically.

2nd) in case you found the duplicated services has the same process group so you’ve to check the service detection factors as the following:

  • Application ID
  • Context Root
  • Web Server Name

check this link for further details about how service is detected in dynatrace Configure service detection rules in Service Detection v1 — Dynatrace Docs

BR,
Mostafa Hussein.