This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/modules/vigil/vigil.toml.tpl

70 lines
1.6 KiB
Smarty
Raw Normal View History

2024-06-28 13:49:44 +00:00
# Vigil
# Microservices Status Page
# Configuration file
# Example: https://github.com/valeriansaliou/vigil/blob/master/config.cfg
[server]
log_level = "debug"
2024-06-28 15:53:53 +00:00
inet = "0.0.0.0:8080"
2024-06-28 13:49:44 +00:00
workers = 4
manager_token = "${manager_token}"
reporter_token = "${reporter_token}"
[assets]
path = "./res/assets/"
[branding]
page_title = "${page_title}"
page_url = "${page_url}"
company_name = "${company_name}"
icon_color = "${icon_color}"
icon_url = "${icon_url}"
logo_color = "${logo_color}"
logo_url = "${logo_url}"
website_url = "${website_url}"
support_url = "${support_url}"
custom_html = "${custom_html}"
[metrics]
poll_interval = 15
poll_retry = 2
poll_http_status_healthy_above = 200
poll_http_status_healthy_below = 400
poll_delay_dead = 10
poll_delay_sick = 5
poll_parallelism = 4
push_delay_dead = 20
push_system_cpu_sick_above = 0.90
push_system_ram_sick_above = 0.90
script_interval = 300
script_parallelism = 2
local_delay_dead = 40
[plugins]
[plugins.rabbitmq]
api_url = "http://127.0.0.1:15672"
auth_username = "rabbitmq-administrator"
auth_password = "RABBITMQ_ADMIN_PASSWORD"
virtualhost = "crisp"
queue_ready_healthy_below = 500
queue_nack_healthy_below = 100
queue_ready_dead_above = 20000
queue_nack_dead_above = 5000
queue_loaded_retry_delay = 500
[notify]
startup_notification = ${startup_notification}
2024-06-28 13:49:44 +00:00
reminder_interval = 600
reminder_backoff_function = "linear"
reminder_backoff_limit = 3
2024-07-18 15:17:26 +00:00
${telegram_enable}[notify.telegram]
${telegram_enable}bot_token = "${telegram_bot_token}"
${telegram_enable}chat_id = "${telegram_chat_id}"
2024-06-28 13:49:44 +00:00
[probe]
%{ for service in services ~}
${service}
%{ endfor ~}