10 Apr 2019 07:25 AM
Hello community!
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:
"error": {
"code": 400,
"message": "The entity SERVICE_INSTANCE-******** is not allowed for the given timeseries id."
Regards,
Alexander
Solved! Go to Solution.
10 Apr 2019 08:35 AM
do you get same error when you run the API from API explorer?
10 Apr 2019 08:56 AM
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.
10 Apr 2019 03:37 PM
Hi Alexander,
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.
Thanks
NJ
26 Nov 2020 01:34 PM - last edited on 16 Oct 2023 03:14 PM by random_user