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

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

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!