21 lines
728 B
Text
21 lines
728 B
Text
# Defines where the metrics will be served.
|
|
# Takes the format IPv4:port or [IPv6]:port
|
|
listener = "[::]:9898"
|
|
|
|
# Configuration of peshmings pinging behaviour
|
|
[ping]
|
|
# The timeout is specified in milliseconds, with a default of 3 seconds.
|
|
# timeout = 3000
|
|
|
|
# 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.
|
|
[ping.hosts]
|
|
"1.1.1.1" = 500
|
|
"1.0.0.1" = 500
|
|
|
|
# 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"
|