diff --git a/grafana/README.md b/grafana/README.md index 6e7051b51c0b..3167cee95a2f 100644 --- a/grafana/README.md +++ b/grafana/README.md @@ -25,7 +25,7 @@ Please ensure the following configuration before importing the dashboard into Gr __1. Prometheus scrape config__ -Assign `greptime_pod` label to each host target. We use this label to identify each node instance. +Configure Prometheus to scrape the cluster. ```yml # example config @@ -34,27 +34,15 @@ Assign `greptime_pod` label to each host target. We use this label to identify e scrape_configs: - job_name: metasrv static_configs: - - targets: [':'] - labels: - greptime_pod: metasrv + - targets: [':'] - job_name: datanode static_configs: - - targets: [':'] - labels: - greptime_pod: datanode1 - - targets: [':'] - labels: - greptime_pod: datanode2 - - targets: [':'] - labels: - greptime_pod: datanode3 + - targets: [':', ':', ':'] - job_name: frontend static_configs: - - targets: [':'] - labels: - greptime_pod: frontend + - targets: [':'] ``` __2. Grafana config__