Hi ,
I want to find out availability % of each service in specific environment. Can somebody please help me on this.
Regards,
Heramb Sawant
Hi ,
I want to find out availability % of each service in specific environment. Can somebody please help me on this.
Regards,
Heramb Sawant
Hi @heramb_sawant ,
you can use SLO, or use the same method in the Data Explorer
Best Regards
Mohamed
Hi Mohamed_Hamdy ,
(100) X (builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())
is this right way to find the service availability?
Hi @heramb_sawant , yes you can use it and the following is a sample to give you the availability percentage of a specific service, this sample you can use in the global demo environment
((100)*(builtin:service.errors.server.successCount:filter(and(in(“dt.entity.service”,entitySelector(“type(SERVICE),entityName.equals(azure easytravelazure-weather-service)”)))):splitBy())/(builtin:service.requestCount.server:filter(and(in(“dt.entity.service”,entitySelector(“type(SERVICE),entityName.equals(azure easytravelazure-weather-service)”)))):splitBy())):setUnit(Percent)
Thanks Mohamed for providing solution.
Can we get the same output( service availability % ) using dynatrace API??
Regards,
Heramb
Hi @heramb_sawant, yes, you can use metric API, using the above sample, you can copy the request as metric API directly same as the below screenshots
Regards,
Mohamed
Thanks for this example. This is really helpful.