mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Fix incorrect indentation in Prometheus tutorial
Reported by Slack user - `scrape_configs` is on the same indent level as the `global` config. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/
This commit is contained in:
@ -103,13 +103,13 @@ configuration file:
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: minio-job
|
||||
bearer_token: TOKEN
|
||||
metrics_path: /minio/v2/metrics/cluster
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: [minio.example.net]
|
||||
scrape_configs:
|
||||
- job_name: minio-job
|
||||
bearer_token: TOKEN
|
||||
metrics_path: /minio/v2/metrics/cluster
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: [minio.example.net]
|
||||
|
||||
Start the Prometheus cluster using the configuration file:
|
||||
|
||||
@ -176,4 +176,4 @@ for Grafana, see :prometheus-docs:`Grafana Support for Prometheus
|
||||
|
||||
Prometheus includes a :prometheus-docs:`graphing interface
|
||||
<prometheus/latest/getting_started/#using-the-graphing-interface>` for
|
||||
visualizing collected metrics.
|
||||
visualizing collected metrics.
|
||||
|
Reference in New Issue
Block a user