Monitoring documentation (#1933)
This commit is contained in:
16
examples/monitoring/docker-compose.yaml
Normal file
16
examples/monitoring/docker-compose.yaml
Normal 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"
|
||||
1720
examples/monitoring/grafana.json
Normal file
1720
examples/monitoring/grafana.json
Normal file
File diff suppressed because it is too large
Load Diff
10
examples/monitoring/prometheus.yaml
Normal file
10
examples/monitoring/prometheus.yaml
Normal 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'
|
||||
Reference in New Issue
Block a user