mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 07:18:50 +00:00
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.
13 lines
513 B
YAML
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"]
|