How we can calculate service availability % using metrics or logs

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