# Tag the services discovered by OpenTelemetry traces

**URL:** <https://community.dynatrace.com/t/tag-the-services-discovered-by-opentelemetry-traces/51932>\
**Category:** OpenTelemetry\
**Tags:** tagging, opentelemetry, distributed-tracing, services\
**Created:** [June 4, 2025, 7:54am UTC](https://community.dynatrace.com/t/tag-the-services-discovered-by-opentelemetry-traces/51932 "2025-06-04T07:54:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [June 4, 2025, 7:54am UTC](https://community.dynatrace.com/t/tag-the-services-discovered-by-opentelemetry-traces/51932/1 "2025-06-04T07:54:39Z")

</div>

Hi Folks,

Is there any way to tag the services discovered by otel traces?

I could see only following properties:

 ![AK_0-1749023869112.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/01177ce8b56f74f9f35aa50eb847899a7ed36f2f.png)

Regards,  
AK

---

<div class="post-metadata">

**Author:** ![lubrman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lubrman/32/7353_2.png) [@lubrman](https://community.dynatrace.com/u/lubrman)\
**Post date:** [June 4, 2025, 9:57am UTC](https://community.dynatrace.com/t/tag-the-services-discovered-by-opentelemetry-traces/51932/2 "2025-06-04T09:57:03Z")

</div>

Hi&nbsp;[@AK](https://community.dynatrace.com/user/2080)

Yes, for tagging you can use an automatic tagging rule. There are several approaches:

A more complex and harder-to-maintain option is tagging by service ID. This ensures a clean and precise result and is also fast.

A more sustainable approach is tagging based on entity rules for services, where you tag based on specific attribute values.

> **[Best practices and recommendations for tagging](https://docs.dynatrace.com/docs/manage/tags-and-metadata/basic-concepts/best-practices-and-recommendations-for-tagging)**
>
> Learn when it's recommended to use tags that leverage auto-detected metadata, as well as best practices for enriching Dynatrace monitoring with additional metadata.
