diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-12 22:07:14 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-12 22:12:00 +0100 |
commit | eed21034efae03ee661e06122f96dc01e53afaa4 (patch) | |
tree | 77d08583f538a9f87bc1a34e6fe29c3e2f3fd13a /apks/prometheus-postgres-exporter/postgres-exporter.confd | |
parent | ae0a676dd82ad2c842437ee3cd36526f4951f998 (diff) | |
download | apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.tar.gz apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.tar.bz2 apkbuilds-eed21034efae03ee661e06122f96dc01e53afaa4.zip |
feat: Add prometheus-postgres-exporter
Diffstat (limited to 'apks/prometheus-postgres-exporter/postgres-exporter.confd')
-rw-r--r-- | apks/prometheus-postgres-exporter/postgres-exporter.confd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apks/prometheus-postgres-exporter/postgres-exporter.confd b/apks/prometheus-postgres-exporter/postgres-exporter.confd new file mode 100644 index 0000000..cbc18de --- /dev/null +++ b/apks/prometheus-postgres-exporter/postgres-exporter.confd @@ -0,0 +1,22 @@ +# /etc/conf.d/postgres-exporter + +# Connection string for the PostgreSQL database. You need to either connect as +# superuser, or create a user with enough rights, as described in +# /usr/share/doc/prometheus-postgres-exporter/README.Alpine + +# DATA_SOURCE_NAME='postgresql://login:password@hostname:port/' +# DATA_SOURCE_NAME='user=prometheus host=/run/postgresql dbname=postgres' + +DATA_SOURCE_NAME='' + +# Set the command-line arguments to pass to the server. + +ARGS='' + +# Available flags: +# --web.listen-address=":9187" Address to listen on for web interface and telemetry. +# --web.telemetry-path="/metrics" +# Path under which to expose metrics. +# --extend.query-path="" Path to custom queries to run. +# --log.level="info" Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] +# --log.format="logger:stderr" Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true" |