# Calling Service to a specific namespace

**URL:** <https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391>\
**Category:** Dashboarding\
**Tags:** namespaces, dynatrace-managed, dashboards, kubernetes\
**Created:** [December 15, 2025, 10:00am UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391 "2025-12-15T10:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas\_g1997](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Vikas\_g1997](https://community.dynatrace.com/u/Vikas_g1997)\
**Post date:** [December 15, 2025, 10:00am UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391/1 "2025-12-15T10:00:00Z")

</div>

Hi Team,

Could anyone suggest the best way to plot calling services for a specific namespace, particularly for the namespace?

Thanks in advance for your help!

Regards,

Vikas

---

<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:** [December 15, 2025, 10:18am UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391/2 "2025-12-15T10:18:53Z")

</div>

Hi&nbsp;[@Vikas\_g1997](https://community.dynatrace.com/user/57336)&nbsp;  
You can tag individual services and then use those tags to assign them to management zones, for example ones created per namespace. For tagging, you can use an auto-tagging rule.

![lubrman_0-1765794211683.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/8/f8ac8bc83804b405eaf3952b119544ce7b3433d5.png)

---

<div class="post-metadata">

**Author:** ![Vikas\_g1997](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Vikas\_g1997](https://community.dynatrace.com/u/Vikas_g1997)\
**Post date:** [December 15, 2025, 1:13pm UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391/3 "2025-12-15T13:13:01Z")

</div>

Hi&nbsp;[@lubrman](https://community.dynatrace.com/user/73905)&nbsp;,

Thank you for the suggestion. However, I believe applying the mentioned tag only affects the processes/services within the specific namespace. I was actually looking into the services that are calling the tagged services under a namespace to plot it .

 ![Vikas_g1997_0-1765804298840.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/f/0f3df2030662772bc7c01e66d572d63e39533a89.png)

---

<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:** [December 15, 2025, 2:34pm UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391/4 "2025-12-15T14:34:16Z")

</div>

Hi&nbsp;[@Vikas\_g1997](https://community.dynatrace.com/user/57336)

I now understand the question, but unfortunately there is probably no easy answer. The options are either to use Grail, where you create a bucket with this data within dt.entity.service, or to use the Dynatrace API via a script, where you choose the entity selector ‘toRelationships’ and retrieve the data separately for each service.

> **[Monitored entities API - GET an entity](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/entity-v2/get-entity)**
>
> View parameters of a monitored entity via Dynatrace API.

---

<div class="post-metadata">

**Author:** ![PetrVlacil](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@PetrVlacil](https://community.dynatrace.com/u/PetrVlacil)\
**Post date:** [December 15, 2025, 6:08pm UTC](https://community.dynatrace.com/t/calling-service-to-a-specific-namespace/54391/5 "2025-12-15T18:08:12Z")

</div>

You can try to use this entity selector. This will give you all the services that are calling services in the namespace you specify:

type(“service”), fromRelationShip.calls(type(“service”), toRelationships.isNamespaceOfService(type(“CLOUD\_APPLICATION\_NAMESPACE”), namespaceName(“\<NAMESPACE NAME\>”)))

Or if you have more clusters with the same namespace you can add also the relation to cluster with specific name:

type(“service”), fromRelationShip.calls(type(“service”), toRelationships.isNamespaceOfService(type(“CLOUD\_APPLICATION\_NAMESPACE”), namespaceName(“\<NAMESPACE NAME\>”), toRelationShip.isClusterOfNamespace(type(“KUBERNETES\_CLUSTER”), customizedName(“\<CLUSTER NAME IN DT\>”))))
