I have one service in Dynatrace. There are three instance for this service placed on three hosts.
I want get service method metrcis (response time) via API only for one instance.
It is possible?
I have already tried with tags (process tags) and entities (entity: service_method_id.... entity: service_instance_id...)
But response from API is:
"message": "The entity SERVICE_INSTANCE-******** is not allowed for the given timeseries id."
Solved! Go to Solution.
Yes as i thought, you will have to find the entity ID for the instance you can do that via problem feeds or monitors api call to pull that detail and then use that entityID in that call it will not accept the entity name.
The Service Instance is not a supported parameter for the requested timeseries. You can specify the exact service method entityID as a parameter as you have selected the com.dynatrace.builtin:servicemethod.requestspermin metric but you cannot split by the instances using the API at this time. You can use the Multi-Dimensional Analysis to see this or Add filters within the Service Page for the exact key request and instance in the UI.