Well.. I’m confused how availability metric is calculated.
I am playing with different options and looks like this short form returns what I need :
(builtin:osservice.availability:filter(contains(“dt.osservice.display_name”,“SQL Server B”)))
EXCEPT that result values does not look like percentage to me. For instance, I found a day and time where SQL services were down for a short period and I am trying to get availability metric for “SQL Server Browser” service (see request above) with 1 day resolution and 5 days time period.
This request returns these values:
“timestamps”: [ 1697414400000, 1697500800000, 1697587200000, 1697673600000 ], “values”: [ 5.999304105775922, 6, 6, 6 ]As far as I understand, “6” should be 100% and “5.999” should be 99.9…%.Host page correctly shows Availability for this exact service:
The metric that is used to show service availability on Host page has a filter for a specific entity ID. :
(builtin:osservice.availability:filter(eq(“dt.entity.os:service”,CUSTOM_DEVICE-FCB38F0D778F9026))
I’d like to use another filter - filter(contains(“dt.osservice.display_name”,…) that would in theory return availability for all services from all hosts in the specified management group that fall under this filter.
Is it feasible?

