feat: option to hide latency chart

This commit is contained in:
lyc8503 committed 2025-03-25 17:41:32 +08:00
1 parent dabccd83f6
commit d1857502bb
5 files changed
+8 -4

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ const workerConfig = {
tooltip: 'This is a tooltip for this monitor',
// [OPTIONAL] `statusPageLink` is ONLY used for clickable link at status page
statusPageLink: 'https://example.com',
// [OPTIONAL] `hideLatencyChart` will hide status page latency chart if set to true
hideLatencyChart: false,
// [OPTIONAL] `expectedCodes` is an array of acceptable HTTP response codes, if not specified, default to 2xx
expectedCodes: [200],
// [OPTIONAL] `timeout` in millisecond, if not specified, default to 10000