Prometheus Scrape Config (K8s)
Platform:
26.04
24.04
20.04
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| 2/stable | 69 | 13 Nov 2025 | |
| 2/candidate | 73 | 18 Jun 2026 | |
| 2/beta | 73 | 18 Jun 2026 | |
| 2/edge | 73 | 17 Jun 2026 | |
| dev/edge | 74 | 18 Jun 2026 | |
| dev/edge | 70 | 05 Jun 2026 | |
| 1/stable | 67 | 08 Jul 2025 | |
| 1/candidate | 67 | 26 Jun 2025 | |
| 1/beta | 67 | 10 Jun 2025 | |
| 1/edge | 67 | 14 May 2025 |
juju deploy prometheus-scrape-config-k8s --channel dev/edge
A set of Prometheus scrape configuration options.
Prometheus Scrape Config K8s is a workloadless Juju charm that acts as an adapter between metrics providers and Prometheus on Kubernetes. It intercepts scrape jobs from upstream charms and allows operators to override configuration options — such as scrape interval, timeout, relabeling rules, and sample limits — before forwarding them to Prometheus. It is a complementary charm to the Canonical Observability Stack (COS): https://documentation.ubuntu.com/observability
By interposing this charm between a scrape target and Prometheus, operators gain centralized control over scrape job settings without modifying the target charms themselves.
Key features:
- Override scrape job configurations (interval, timeout, proxy, relabeling) provided by upstream charms before they reach Prometheus.
- Configurable sample and label limits to control ingestion volume.
- Support for metric relabeling to filter, rename, or drop metrics at scrape time.
- Toggle forwarding of alert rules from upstream charms.
- Workloadless charm — no additional containers or resources required.