1# /etc/conf.d/postgres-exporter
2
3# Connection string for the PostgreSQL database. You need to either connect as
4# superuser, or create a user with enough rights, as described in
5# /usr/share/doc/prometheus-postgres-exporter/README.Alpine
6
7# DATA_SOURCE_NAME='postgresql://login:password@hostname:port/'
8# DATA_SOURCE_NAME='user=prometheus host=/run/postgresql dbname=postgres'
9
10DATA_SOURCE_NAME=''
11
12# Set the command-line arguments to pass to the server.
13
14ARGS=''
15
16# Available flags:
17# --web.listen-address=":9187" Address to listen on for web interface and telemetry.
18# --web.telemetry-path="/metrics"
19# Path under which to expose metrics.
20# --extend.query-path="" Path to custom queries to run.
21# --log.level="info" Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]
22# --log.format="logger:stderr" Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true"