diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 2a8f241..2e820aa 100644 --- a/prometheus/prometheus.yml +++ b/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 @@ -27,4 +27,4 @@ scrape_configs: scheme: http static_configs: - targets: - - openswoole:9501 \ No newline at end of file + - openswoole:9501