aboutsummaryrefslogtreecommitdiff
path: root/telemetry/prometheus.yml
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-06-28 14:11:55 -0700
committerGitHub <noreply@github.com>2025-06-28 14:11:55 -0700
commita1aab8a083111dd9357c7f35397fdf610f23cb6d (patch)
tree66b56b09bec60cd1962236b7aad43a37011450b9 /telemetry/prometheus.yml
parent29892c43ff95ad957c0f64ad5cd11e0d43e616e2 (diff)
downloadseaweedfs-a1aab8a083111dd9357c7f35397fdf610f23cb6d.tar.xz
seaweedfs-a1aab8a083111dd9357c7f35397fdf610f23cb6d.zip
add telemetry (#6926)
* add telemetry * fix go mod * add default telemetry server url * Update README.md * replace with broker count instead of s3 count * Update telemetry.pb.go * github action to deploy
Diffstat (limited to 'telemetry/prometheus.yml')
-rw-r--r--telemetry/prometheus.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/telemetry/prometheus.yml b/telemetry/prometheus.yml
new file mode 100644
index 000000000..e33d518e7
--- /dev/null
+++ b/telemetry/prometheus.yml
@@ -0,0 +1,15 @@
+global:
+ scrape_interval: 15s
+ evaluation_interval: 15s
+
+rule_files:
+ # - "first_rules.yml"
+ # - "second_rules.yml"
+
+scrape_configs:
+ - job_name: 'seaweedfs-telemetry'
+ static_configs:
+ - targets: ['telemetry-server:8080']
+ scrape_interval: 30s
+ metrics_path: '/metrics'
+ scrape_timeout: 10s \ No newline at end of file