diff --git a/prometheus-grafana/prometheus/prometheus.yml b/prometheus-grafana/prometheus/prometheus.yml index 18c44da..b0c47b4 100644 --- a/prometheus-grafana/prometheus/prometheus.yml +++ b/prometheus-grafana/prometheus/prometheus.yml @@ -8,7 +8,7 @@ alerting: - targets: [] scheme: http timeout: 10s - api_version: v1 + api_version: v2 scrape_configs: - job_name: prometheus honor_timestamps: true @@ -18,4 +18,4 @@ scrape_configs: scheme: http static_configs: - targets: - - localhost:9090 \ No newline at end of file + - localhost:9090