statsys/config.toml
2025-12-14 22:08:30 +00:00

35 lines
925 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 on the index page
# 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 for the status page
# 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
# 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"