15 Dec 2025 10:00 AM
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
Solved! Go to Solution.
15 Dec 2025 10:18 AM - edited 15 Dec 2025 10:23 AM
Hi @Vikas_g1997
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.
15 Dec 2025 01:13 PM
Hi @lubrman ,
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 .
15 Dec 2025 02:34 PM
Hi @Vikas_g1997
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.
https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/entity-v...
15 Dec 2025 06:08 PM
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>"))))
Featured Posts