Skip to content

Open-source status page, incident response and uptime monitoring

🔥 few improvements (#796)

Thibault Le Ouaye0c621bb92d0
diff --git a/README.md b/README.md
index 22f5e6e8c..ff0156ca1 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,7 @@
<h3 align="center">OpenStatus</h3>
- <p align="center">
- The Open-Source website & API monitoring platform.
+ <p align="center"> The Open-Source synthetic and Real User Monitoring monitoring platform.
<br />
<a href="https://www.openstatus.dev"><strong>Learn more »</strong></a>
<br />
@@ -20,9 +19,9 @@
## About OpenStatus 🏓
-OpenStatus is open-source synthetic monitoring platform with beautiful status
-page and incident management. We are building it publicly for everyone to see
-our progress. We believe great softwares are built this way.
+OpenStatus is open-source synthetic and real user monitoring platform with
+beautiful status page and incident management. We are building it publicly for
+everyone to see our progress. We believe great softwares are built this way.
You can choose to host it yourself or use our hosted version at
[openstatus.dev](https://www.openstatus.dev)
diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.ts
index 0421ef661..1cb4b6bba 100644
--- a/apps/web/src/middleware.ts
+++ b/apps/web/src/middleware.ts
@@ -90,6 +90,7 @@ export default authMiddleware({
"/monitors/(.*)", // used when trying subdomain slug via status.documenso.com/monitors/123
"/verify/(.*)", // used when trying subdomain slug via status.documenso.com/incidents
"/public/(.*)",
+ "/badge", // used when trying subdomain slug via status.documenso.com/badge to get the badge
],
ignoredRoutes: ["/api/og", "/discord", "/github", "/status-page/(.*)"], // FIXME: we should check the `publicRoutes`
beforeAuth: before,
diff --git a/packages/api/src/router/rum/index.ts b/packages/api/src/router/rum/index.ts
index fa383d133..380277db1 100644
--- a/packages/api/src/router/rum/index.ts
+++ b/packages/api/src/router/rum/index.ts
@@ -27,7 +27,7 @@ export const rumRouter = createTRPCRouter({
query: `
select
event_name,
- quantile(0.5)(value) as median
+ quantile(0.75)(value) as median
from cwv
where
dsn = '${opts.ctx.workspace.dsn}'
@@ -83,7 +83,7 @@ export const rumRouter = createTRPCRouter({
const pageData = await opts.ctx.clickhouseClient.query({
query: `
select
- quantile(0.5)(value) as value,
+ quantile(0.75)(value) as value,
event_name
from
cwv