From b4566e080bd79678a099989529a6f8d9faf9ec64 Mon Sep 17 00:00:00 2001 From: pengganyu Date: Mon, 21 Jun 2021 09:58:29 +0800 Subject: [PATCH 1/2] Fix configuration: at 2.26+ prometheus versions, params should be list, not k/v --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 61db034..258909d 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -91,7 +91,7 @@ add the following to your Prometheus config: ``` - job_name: ipmi params: - module: default + module: ["default"] scrape_interval: 1m scrape_timeout: 30s metrics_path: /ipmi From 5811015efd22e39a07c69f5133ced6b7c3f3e6ed Mon Sep 17 00:00:00 2001 From: pengganyu Date: Mon, 21 Jun 2021 10:00:22 +0800 Subject: [PATCH 2/2] Fix configuration: at 2.26+ prometheus versions, params should be list, not k/v --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 258909d..cc7cf9c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -91,7 +91,7 @@ add the following to your Prometheus config: ``` - job_name: ipmi params: - module: ["default"] + module: ['default'] scrape_interval: 1m scrape_timeout: 30s metrics_path: /ipmi