So, in the service we can get the downtime and even the time when it went down and recovery time as well, so this downtime is it available through API, we have availability % and availability state APIs.
builtin:pgi.availability
builtin:pgi.availability.state
Do we have any particular API or can we derive like this below, give suggestions
api/v2/metrics/query?metricSelector=builtin:pgi.availability:splitBy(“dt.entity.process_group_instance”):partition(downtime,value(“true”,lt(100)),otherwise(“false”)):limit(5)
