From 9cf8a20c94b883c469db5ec5db14eb465af1968c Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 18 Jun 2017 17:07:19 +0100 Subject: Change target_groups to static_configs in the docs In the example scrape configuration that is shown on the main webpage, update the configuration to be valid for the current version of Prometheus. --- prometheus_pgbouncer_exporter/exposition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = """

     scrape_configs:
       - job_name: pgbouncer
-        target_groups:
+        static_configs:
           - targets:
             - MACHINE_ADDRESS:9127
   
-- cgit v1.2.3