Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .upptimerc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ sites:
icon: https://dos.ai/icon.svg
maxResponseTime: 5000

- name: Rate.vn
url: https://rate.vn
icon: https://rate.vn/img/rate-logo-64.png
maxResponseTime: 5000

# 503 when the Supabase read fails (DOS/Rate#829). Cold starts take up to ~9 s.
- name: Rate.vn Health
url: https://rate.vn/api/health
icon: https://rate.vn/img/rate-logo-64.png
maxResponseTime: 10000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comment on line 50 notes that cold starts can take up to ~9 seconds. Setting maxResponseTime to 10000 (10 seconds) leaves a very narrow margin of only 1 second. Under slight network jitter or platform load, cold starts can easily exceed 10 seconds, leading to false-positive downtime alerts. It is recommended to increase this threshold to 15000 (15 seconds) to provide a safe buffer and prevent alert fatigue.

    maxResponseTime: 15000


- name: Rate.vn API
url: https://rate.vn/api/v1/rate/stats
icon: https://rate.vn/img/rate-logo-64.png
maxResponseTime: 5000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since the Rate.vn API endpoint (/api/v1/rate/stats) is also a serverless API route that queries the database, it will be subject to the same Vercel cold start delays (up to ~9 seconds) as the health endpoint. Setting maxResponseTime to 5000 (5 seconds) will highly likely trigger false-positive alerts on cold starts. It is recommended to increase this threshold to 15000 (15 seconds) to accommodate cold starts safely.

    maxResponseTime: 15000


status-website:
cname: status.dos.ai
logoUrl: https://dos.ai/icon.svg
Expand Down
Loading