19 lines
No EOL
1.1 KiB
Django/Jinja
19 lines
No EOL
1.1 KiB
Django/Jinja
{%- from "prometheus/map.jinja" import pushgateway with context %}
|
|
# Set the command-line arguments to pass to the server.
|
|
ARGS="-web.listen-address {{pushgateway.bind.get('address', '')}}:{{pushgateway.bind.get('port', 9091)}} -web.telemetry-path {{pushgateway.get('telemetry_path', '/metrics')}}"
|
|
|
|
#Usage of /usr/bin/pushgateway:
|
|
# -log.format value
|
|
# If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr.
|
|
# -log.level value
|
|
# Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal].
|
|
# -persistence.file string
|
|
# File to persist metrics. If empty, metrics are only kept in memory.
|
|
# -persistence.interval duration
|
|
# The minimum interval at which to write out the persistence file. (default 5m0s)
|
|
# -version
|
|
# Print version information.
|
|
# -web.listen-address string
|
|
# Address to listen on for the web interface, API, and telemetry. (default ":9091")
|
|
# -web.telemetry-path string
|
|
# Path under which to expose metrics. (default "/metrics") |