From c52cb9c5dd8f04931b4da6a235509cf855c13d9f Mon Sep 17 00:00:00 2001 From: Noel Kwan <47273164+kwannoel@users.noreply.github.com> Date: Fri, 10 May 2024 11:03:40 +0800 Subject: [PATCH] chore(standalone): add monitoring configuration files (#16594) --- standalone/grafana.ini | 10 ++++++++++ standalone/prometheus.yml | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 standalone/grafana.ini create mode 100644 standalone/prometheus.yml diff --git a/standalone/grafana.ini b/standalone/grafana.ini new file mode 100644 index 000000000000..c05dee52e831 --- /dev/null +++ b/standalone/grafana.ini @@ -0,0 +1,10 @@ +[server] +http_addr = 0.0.0.0 +http_port = 3001 + +[users] +default_theme = light + +[auth.anonymous] +enabled = true +org_role = Admin \ No newline at end of file diff --git a/standalone/prometheus.yml b/standalone/prometheus.yml new file mode 100644 index 000000000000..b35450351550 --- /dev/null +++ b/standalone/prometheus.yml @@ -0,0 +1,40 @@ +global: + scrape_interval: 15s + evaluation_interval: 60s + external_labels: + rw_cluster: 20240506-185437 + + +scrape_configs: + - job_name: prometheus + static_configs: + - targets: ["127.0.0.1:9500"] + + - job_name: compute + static_configs: + - targets: ["127.0.0.1:1222"] + + - job_name: meta + static_configs: + - targets: ["127.0.0.1:1250"] + + - job_name: minio + metrics_path: /minio/v2/metrics/cluster + static_configs: + - targets: ["127.0.0.1:9301"] + + - job_name: compactor + static_configs: + - targets: ["127.0.0.1:1260"] + + - job_name: etcd + static_configs: + - targets: ["127.0.0.1:2379"] + + - job_name: frontend + static_configs: + - targets: ["127.0.0.1:2222"] + + - job_name: redpanda + static_configs: + - targets: []