# Manual OTLP trace python ingest generate duplicate Service names

**URL:** <https://community.dynatrace.com/t/manual-otlp-trace-python-ingest-generate-duplicate-service-names/48547>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [October 24, 2024, 4:52pm UTC](https://community.dynatrace.com/t/manual-otlp-trace-python-ingest-generate-duplicate-service-names/48547 "2024-10-24T16:52:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cscotti78](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@cscotti78](https://community.dynatrace.com/u/cscotti78)\
**Post date:** [October 24, 2024, 4:52pm UTC](https://community.dynatrace.com/t/manual-otlp-trace-python-ingest-generate-duplicate-service-names/48547/1 "2024-10-24T16:52:41Z")

</div>

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.&nbsp;Note that the python workload, for the otlp trace reconstruct, run on kubernetes. On the k8s cluster, one agent&nbsp;1.2.1&nbsp;is also running

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![MostafaHussein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mostafahussein/32/2785_2.png) [@MostafaHussein](https://community.dynatrace.com/u/MostafaHussein)\
**Post date:** [October 25, 2024, 9:49am UTC](https://community.dynatrace.com/t/manual-otlp-trace-python-ingest-generate-duplicate-service-names/48547/2 "2024-10-25T09:49:43Z")

</div>

_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&nbsp;[Configure service detection rules in Service Detection v1 — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/rule-based-service-detection#manage)

BR,  
Mostafa Hussein.
