Files
Strata/docs/monitoring/servicemonitor.yaml
T
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

22 lines
578 B
YAML

# Kubernetes (Prometheus Operator): Strata behind a Service whose port is named "http".
# The API key lives in a Secret (key "key"), sent as a bearer token.
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: strata
labels:
release: kube-prometheus-stack # whatever your Prometheus selects ServiceMonitors by
spec:
selector:
matchLabels:
app: strata
endpoints:
- port: http
path: /metrics
interval: 15s
authorization:
type: Bearer
credentials:
name: strata-api-key
key: key