From 00fd65e339b03af9ce0e5ffeebf103a0e7c4b648 Mon Sep 17 00:00:00 2001 From: delano Date: Fri, 24 May 2024 17:47:59 -0700 Subject: [PATCH] [#2] Update Upptime monitoring config The monitoring configuration has been updated to consolidate the Onetime Secret homepage and staging site under a common "Homepage" name and ensure consistent health checks. The staging site check was revised to match the homepage using max response time and expected status codes instead of TCP ping for parity. --- .upptimerc.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.upptimerc.yml b/.upptimerc.yml index 4f485ab6b..a7b36b6e0 100644 --- a/.upptimerc.yml +++ b/.upptimerc.yml @@ -8,7 +8,7 @@ owner: onetimesecret repo: status sites: - - name: Onetime Secret + - name: Homepage url: https://onetimesecret.com/ maxResponseTime: 5000 expectedStatusCodes: @@ -16,11 +16,14 @@ sites: - 201 headers: - "OTS-VIA: upptime" - - name: Staging + - name: Homepage (staging) url: $STAGING_HOST - port: 443 - check: "tcp-ping" - ipv6: true + maxResponseTime: 5000 + expectedStatusCodes: + - 200 + - 201 + headers: + - "OTS-VIA: upptime" - name: App Support url: https://app.onetimesecret.com/ - name: API (v1)