Openstatus
www.openstatus.dev
1VERSION 0
2
3TAGS http
4
5NODE endpoint
6SQL >
7
8 %
9 SELECT
10 region,
11 round(quantile(0.5)(latency)) as p50Latency,
12 round(quantile(0.75)(latency)) as p75Latency,
13 round(quantile(0.9)(latency)) as p90Latency,
14 round(quantile(0.95)(latency)) as p95Latency,
15 round(quantile(0.99)(latency)) as p99Latency,
16 count() as count,
17 count(if(error = 0, 1, NULL)) AS ok
18 FROM mv__http_1d__v0
19 WHERE
20 monitorId = {{ String(monitorId, '1', required=True) }}
21 GROUP BY region
22
23
24
25TYPE ENDPOINT