Dynatrace API
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

V2 Metrics API - How do I narrow the search to a certain Kubernetes namespace?

crabbylou
Helper

When I pull Kubernetes namespace statistics for containers and services, it works fine, howeverI would like to narrow the search to a particular Kubernetes workload name.

How do I do that??

I tried this, but it does not work: (Python example)

strKubernetesWorkloadClause = ',fromRelationship.isCgiOfCa(type(CLOUD_APPLICATION),' + \
'entityName.equals(~"' + strInputKubernetesWorkload + '~"))'

Any help appreciated.

Lou

1 REPLY 1

Michal_Gebacki
Community Team
Community Team

Hello, @crabbylou!

 

Can you take a look at this Documentation page and let us know if is it helping in anyway to solve your challenge?

 

Thank you in advance for any feedback!

Featured Posts