Difference between revisions of "/etc/default/prometheus-postgres-exporter"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | |||
+ | # 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.Debian | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
# DATA_SOURCE_NAME='postgresql://login:password@hostname:port/' | # DATA_SOURCE_NAME='postgresql://login:password@hostname:port/' | ||
# DATA_SOURCE_NAME='user=prometheus host=/run/postgresql dbname=postgres' | # DATA_SOURCE_NAME='user=prometheus host=/run/postgresql dbname=postgres' |
Revision as of 11:24, 8 February 2023
# 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.Debian
# 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"
See also
- Prometheus exporters,
prometheus-openstack-exporter, prometheus-libvirt-exporter, prometheus-node-exporter, mysqld_exporter
, RabbitMQ Exporter, Blackbox exporter - Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: