aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-06-18 17:07:19 +0100
committerChristopher Baines <mail@cbaines.net>2017-06-18 17:07:19 +0100
commit9cf8a20c94b883c469db5ec5db14eb465af1968c (patch)
treea293dc5925556cefe6ff6a6c67ccd0e97893764e
parenteb9060e520d5711367253b80fa17e47614b2408c (diff)
downloadprometheus-pgbouncer-exporter-9cf8a20c94b883c469db5ec5db14eb465af1968c.tar
prometheus-pgbouncer-exporter-9cf8a20c94b883c469db5ec5db14eb465af1968c.tar.gz
Change target_groups to static_configs in the docsHEADmaster
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.py2
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>