diff options
author | Christopher Baines <mail@cbaines.net> | 2017-06-18 17:07:19 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-06-18 17:07:19 +0100 |
commit | 9cf8a20c94b883c469db5ec5db14eb465af1968c (patch) | |
tree | a293dc5925556cefe6ff6a6c67ccd0e97893764e | |
parent | eb9060e520d5711367253b80fa17e47614b2408c (diff) | |
download | prometheus-pgbouncer-exporter-master.tar prometheus-pgbouncer-exporter-master.tar.gz |
In the example scrape configuration that is shown on the main webpage, update
the configuration to be valid for the current version of Prometheus.
-rw-r--r-- | prometheus_pgbouncer_exporter/exposition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus_pgbouncer_exporter/exposition.py b/prometheus_pgbouncer_exporter/exposition.py index 5eceb6c..c9510b6 100644 --- a/prometheus_pgbouncer_exporter/exposition.py +++ b/prometheus_pgbouncer_exporter/exposition.py @@ -49,7 +49,7 @@ index_page = """ <pre><code> scrape_configs: - job_name: pgbouncer - target_groups: + static_configs: - targets: - MACHINE_ADDRESS:9127 </code></pre> |