Monitoring documentation (#1933)

This commit is contained in:
Yudi Xue
2024-11-07 22:14:16 -08:00
committed by GitHub
parent a71a44f203
commit 5bc2508b80
4 changed files with 1951 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
services:
prometheus:
image: prom/prometheus:latest
network_mode: host
ports:
- "9090:9090"
volumes:
- ${PWD}/prometheus.yaml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:latest
network_mode: host
depends_on:
- prometheus
ports:
- "3000:3000"
File diff suppressed because it is too large Load Diff
+10
View File
@@ -0,0 +1,10 @@
# prometheus.yaml
global:
scrape_interval: 5s
evaluation_interval: 30s
scrape_configs:
- job_name: sglang
static_configs:
- targets:
- '127.0.0.1:30000'