mirror of
https://github.com/trafficlunar/statsys.git
synced 2026-03-28 11:13:17 +00:00
39 lines
979 B
TOML
39 lines
979 B
TOML
# Name of status page, shown at the top
|
|
title = "trafficlunar"
|
|
|
|
# Footer link, shown at the bottom
|
|
link_text = "go back"
|
|
link_url = "https://trafficlunar.net"
|
|
|
|
# Default timeline shown
|
|
# Users can still switch views manually
|
|
#
|
|
# Available options:
|
|
# "minutes" - past 30 minutes
|
|
# "hours" - past 24 hours
|
|
# "days" - past 30 days
|
|
default_view = "hours"
|
|
|
|
# Default theme
|
|
# Available themes: https://github.com/trafficlunar/statsys/tree/main/www/themes
|
|
# Defaults to "monochrome"
|
|
default_theme = "color"
|
|
# Set to true to allow users to switch the theme
|
|
# Defaults to true
|
|
enable_theme_switcher = true
|
|
|
|
# Set to true to show a small statsys watermark
|
|
# Defaults to true
|
|
enable_watermark = true
|
|
|
|
# List of services to monitor
|
|
[[services]]
|
|
name = "website"
|
|
url = "http://localhost:9999/up"
|
|
# Response time (milliseconds) after which the service is marked as "Degraded"
|
|
# Defaults to 1000ms
|
|
latency_threshold = 1000
|
|
|
|
[[services]]
|
|
name = "api"
|
|
url = "http://localhost:9999/degraded"
|