okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge branch 'f-1402-d2' into f-14021be32e9c7

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