27 Feb 2025 11:21 PM - edited 28 Feb 2025 12:26 PM
I am really stuck - Trying to create a filter for :
dt.entity.cloud_application
This is the query that I'm trying to apply the filter for cloud application to. This query returns all apps within a management zone. Trying to filter by a single app or a list of apps.
url = 'https://xxxxxx/e/xxxxx/api/v2/metrics/query?metricSelector=' \
'(builtin:kubernetes.pods:last:splitBy("dt.entity.cloud_application"):sum:sort(value(avg,descending))):' \
'names:fold(auto)&from=1739297079132&to=1739304279132&mzName=mzId(MBF)'
Can someone please provide me with the proper syntax for this API request?
28 Feb 2025 09:11 AM
try without quotes
https://xxxxxx/e/xxxxx/api/v2/metrics/query?metricSelector=(builtin:kubernetes.pods:last:splitBy("dt.entity.cloud_application"):sum:sort(value(avg,descending))):names:fold(auto)&from=1739297079132&to=1739304279132&mzName=mzId(MBF)
28 Feb 2025 12:27 PM
Sorry about that, my question wasn't clear. I fixed that. What I'm looking for is a query where I can specify one or more apps.