We want to filter results from v2/metrics/query using process, host, process, processgroup or services etc using params present in dimensionMap.
We need filtering based on process, process group, services, hosts and applications.
So for host filtering this entitySelector worked
?metricSelector=builtin:host.cpu.gcpu.usage:names&entitySelector=type(“HOST”),entityName.equals(“ABCD”)
Where ABCD is dt.entity.host.name in dimensionMap.
So how can i filter all other types of elements monitored by dynatrace?
In below examples I want data of Real users only
“dimensionMap”: {
“User type”: “Real users”,
“dt.entity.application_method”: “APPLICATION_METHOD-B2F93E1A7FA2007E”
},
To filter only above data I queried using api : /api/v2/metrics/query?metricSelector=builtin:apps.web.action.apdex:names&entitySelector=type(“APPLICATION”),entityName.equals(“Real users”)&from=1652853660000&to=1652940060000&resolution=60m
But getting no data.
So what and all allowed values for entitySelector=type()