28 Jun 2023 02:58 AM
Hi,
Is it possible we can tag CGI by kubernetes namespace?
Tried it with something like
type(CONTAINER_GROUP_INSTANCE),fromRelationship.isCgiOfNamespace(type("CLOUD_APPLICATION_NAMESPACE"))
and it's variation but no luck
Solved! Go to Solution.
28 Jun 2023 08:48 AM - edited 28 Jun 2023 08:52 AM
Hello.
Entities matching:
type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityName("zoo-app")) |
Result in UI:
Classic full-stack - Dynatrace Operator - Kubernetes.
Regards,
Alex Romanenkov
28 Jun 2023 10:42 AM
hmm, couldn't find it even when reduced to
type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE))
30 May 2025 11:53 AM
Hey @Ardhi, did you manage to find the solution to your problem? If so, it would be amazing if you've shared it with the rest of the Community! If not, let me know, and I'll look for some further assistance 😊
10 Jun 2025 03:17 PM
Has anyone found a way to do this for CONTAINER_GROUP rather than CONTAINER_GROUP_INSTANCE?
Thanks!
10 Jun 2025 03:24 PM
With a bit of help, this worked for me in case anyone needs it 👍
type(CONTAINER_GROUP),toRelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityName.startsWith("<NAMESPACE NAME>")))