mirror of
https://github.com/minio/minio.git
synced 2025-02-05 10:48:07 -05:00
Correct sample for node scrape configuration (#19491)
As node metrics should be scraped per node basis, use a sample configuartion using all the nodes in targets. Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
parent
8d39b715dc
commit
d3a07c29ba
@ -128,6 +128,8 @@ scrape_configs:
|
|||||||
##### Node (optional)
|
##### Node (optional)
|
||||||
|
|
||||||
Optionally you can also collect per node metrics. This needs to be done on a per server instance.
|
Optionally you can also collect per node metrics. This needs to be done on a per server instance.
|
||||||
|
The scrape configurations should use all the servers under `targets` so that graphing systems like
|
||||||
|
grafana can visualize them for all the nodes
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
@ -135,7 +137,7 @@ scrape_configs:
|
|||||||
metrics_path: /minio/v2/metrics/node
|
metrics_path: /minio/v2/metrics/node
|
||||||
scheme: http
|
scheme: http
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9000']
|
- targets: ['server1:9000','server2:9000','server3:9000','server4:9000']
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Resource (optional)
|
##### Resource (optional)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user