NAME¶
prometheus-script-exporter - Prometheus exporter for scripts
OPTIONS¶
- -h, --help
- Show context-sensitive help (also try --help-long and --help-man).
- --config.files
- Configuration files. To specify multiple configuration files glob patterns
can be used.
- --config.check
- If true, validate the configuration files and then exit.
- --log.env
- If true, environment variables passed to a script will be logged.
- --script.no-args
- Restrict script to accept arguments.
- --script.timeout-offset=0.5
- Offset to subtract from timeout in seconds.
- --web.external-url=<url>
- The URL under which Script Exporter is externally reachable (for example,
if Script Exporter is served via a reverse proxy). Used for generating
relative and absolute links back to Script Exporter itself. If the URL has
a path portion, it will be used to prefix all HTTP endpoints served by
Script Exporter. If omitted, relevant URL components will be derived
automatically.
- --web.route-prefix=<path>
- Prefix for the internal routes of web endpoints. Defaults to path of
--web.external-url.
- --discovery.host
- Host for service discovery.
- --discovery.port
- Port for service discovery.
- --discovery.scheme
- Scheme for service discovery.
- --web.systemd-socket
- Use systemd socket activation listeners instead of port listeners (Linux
only).
- --web.listen-address=:9469
- Addresses on which to expose metrics and web interface. Repeatable for
multiple addresses. Examples: `:9100` or `[::1]:9100` for http,
`vsock://:9100` for vsock
- --web.config.file
- Path to configuration file that can enable TLS or authentication. See:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
- --log.level=info
- Only log messages with the given severity or above. One of: [debug, info,
warn, error]
- --log.format=logfmt
- Output format of log messages. One of: [logfmt, json]
- --version
- Show application version.