prometheus
Installation
SKILL.md
Prometheus
Direct integration with the Prometheus HTTP API. Works against any Prometheus-compatible endpoint: self-hosted Prometheus, Grafana Cloud, Amazon Managed Prometheus, Thanos, Cortex, Mimir.
Credentials
| Env Var | Required | Notes |
|---|---|---|
PROMETHEUS_URL |
yes | Base URL, no trailing slash, e.g. https://prometheus.example.com. |
PROMETHEUS_USERNAME |
no | Basic auth username. Grafana Cloud uses the stack instance ID here. |
PROMETHEUS_PASSWORD |
no | Basic auth password / API token. Must be paired with PROMETHEUS_USERNAME. |
PROMETHEUS_BEARER_TOKEN |
no | Bearer token. Used only when no full USERNAME + PASSWORD pair is set. |
Auth selection is deterministic: full basic-auth pair wins → bearer token → no Authorization header. Partial basic (username XOR password) is treated as no basic.