# Entity Selector for matching OpenTelemetry service name

**URL:** <https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [October 8, 2025, 2:54pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658 "2025-10-08T14:54:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [October 8, 2025, 2:54pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658/1 "2025-10-08T14:54:45Z")

</div>

Hi everyone,

I’m trying to identify and tag some services that we’re ingesting traces from OpenTelemetry. When defining an entitySelector based on strings, it’s usually straightforward — for example:

type(SERVICE),serviceType(“UNIFIED”)

 ![DanielS_0-1759935140307.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/867355b0b87ade28e0f6a2c12b6b28510011368c.png)

However, I’m trying to match the name [Built-in] OpenTelemetry service, and while I’ve managed to get somewhat close using exists clause, I can’t figure out how to dereference a list to properly match the name in this case.

Has anyone dealt with this before or knows how to write an entitySelector that successfully matches the name [Built-in] OpenTelemetry service?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 8, 2025, 3:56pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658/2 "2025-10-08T15:56:27Z")

</div>

[@DanielS](https://community.dynatrace.com/user/35788)&nbsp; that’s not possible using entitySelector as you have limited options for properties/attributes described [here](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector#attribute). Maybe you can use [relationships](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector#relationships) in the entitySelector? (I don’t know your environment and use case).

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [October 8, 2025, 5:14pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658/3 "2025-10-08T17:14:40Z")

</div>

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

I understand what you want to achieve, however, to help you more accurately, we need to access the environment or deploy OpenTelemetry-ingested services and replicate the case.

However, I’ll share a tip on how you could run “entitySelector” simulations to make it work faster and more accurately. I hope it helps.

 ![PierreGutierrez_0-1759943584888.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/c/2c3db5e5485c0798017ffd82f207b6bac8d41f90.png)

in the SLO Wizard, exist a part of “Entity Selector” there you can create a query and receive help of the autocomplete wizard to know if work your sentence.

I hope it’s helpful&nbsp; 💪

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [October 8, 2025, 6:48pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658/4 "2025-10-08T18:48:01Z")

</div>

Thanks, Julius! I suspected that was the case, but I didn’t want to leave any doubts. I understand now that exists will do the trick. Appreciate your help!

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [October 8, 2025, 6:50pm UTC](https://community.dynatrace.com/t/entity-selector-for-matching-opentelemetry-service-name/53658/5 "2025-10-08T18:50:02Z")

</div>

Thanks, Pierre! Indeed, the furthest we can get seems to be with exists — it’s not exactly what I was aiming for, but it works, at least partially.

That said, I loved the SLO autocomplete trick — I didn’t know about it. Super helpful!
