2020-04-06 20:50:32 +00:00
|
|
|
# Defines where the metrics will be served.
|
|
|
|
# Takes the format IPv4:port or [IPv6]:port
|
2019-02-06 18:29:27 +00:00
|
|
|
listener = "[::]:9898"
|
|
|
|
|
2022-03-17 10:13:32 +00:00
|
|
|
# Configuration of peshmings pinging behaviour
|
|
|
|
[ping]
|
|
|
|
# The timeout is specified in milliseconds, with a default of 3 seconds.
|
|
|
|
# timeout = 3000
|
|
|
|
|
2020-04-06 20:50:32 +00:00
|
|
|
# Array of hosts to ping. Currently only supports plain IPs, no DNS names.
|
|
|
|
# The format here is `"host" = interval in milliseconds`, so these examples
|
|
|
|
# will ping the primary and secondary IP of cloudflare's 1.1.1.1 DNS service
|
|
|
|
# every 500ms, or twice per second.
|
2022-03-16 23:12:51 +00:00
|
|
|
[ping.hosts]
|
2022-07-26 22:07:38 +00:00
|
|
|
"192.0.2.142" = 500
|
|
|
|
"198.51.100.17" = 500
|
|
|
|
"203.0.113.55" = 500
|
|
|
|
"2001:DB8::C0:FF:EE" = 500
|
|
|
|
"example.org" = 500
|
2022-03-16 23:12:51 +00:00
|
|
|
|
|
|
|
# Configure logging is also possible here instead of using the CLI. If both are
|
|
|
|
# specified, the more verbose of the two will be used.
|
|
|
|
# [log]
|
|
|
|
# level = "ERROR"
|