Files
Strata/docs/monitoring/prometheus.yml
benoit lange a782177ee1 serve: GET /metrics in the Prometheus text format with vLLM's metric names (#793)
Asked with Accept: text/plain or ?format=prometheus; every other request keeps the JSON.
Latency histograms, a Grafana dashboard and scrape configs under docs/monitoring.
Only the Prometheus part of #793; the pipelined-window slot allocator needs a 2-GPU check and is left out.
2026-10-07 00:18:37 +02:00

13 lines
513 B
YAML

# Scrape a Strata server's GET /metrics (Prometheus text, vLLM's names; docs/DETAILS.md).
# Prometheus asks for text/plain, so it gets the text format; the Monitor tab keeps the JSON.
scrape_configs:
- job_name: strata
metrics_path: /metrics
scrape_interval: 15s
# with an API key (strata-<model>.json "api_key" or --api-key): sent as a bearer token
authorization:
type: Bearer
credentials_file: /etc/prometheus/strata-api-key
static_configs:
- targets: ["127.0.0.1:8080"]