Platform:

Channel Revision Published Runs on
2/stable 287 16 Mar 2026
Ubuntu 24.04
2/candidate 301 18 Jun 2026
Ubuntu 24.04
2/beta 301 18 Jun 2026
Ubuntu 24.04
2/edge 301 17 Jun 2026
Ubuntu 24.04
dev/edge 304 23 Jun 2026
Ubuntu 26.04 Ubuntu 24.04
dev/edge 296 09 Jun 2026
Ubuntu 26.04 Ubuntu 24.04
1/stable 247 14 May 2025
Ubuntu 20.04
1/candidate 247 14 May 2025
Ubuntu 20.04
1/beta 247 14 May 2025
Ubuntu 20.04
1/edge 247 14 May 2025
Ubuntu 20.04
juju deploy prometheus-k8s --channel dev/edge

Prometheus for Kubernetes clusters

Prometheus K8s is a Juju charm that deploys and manages Prometheus on Kubernetes, providing a monitoring and alerting solution based on a time-series database. It is a core component of COS Lite, the lightweight version of the Canonical Observability Stack (COS): https://documentation.ubuntu.com/observability

Related charms automatically register their metrics endpoints and alert rules through Juju relations, and collected metrics can be visualized in Grafana and used to trigger alerts via Alertmanager.

Key features:

  • Automatic metrics scraping and alert rule registration via Juju relations with any charm that supports the prometheus_scrape interface.
  • Prometheus remote write endpoint for receiving metrics from agents such as OpenTelemetry Collector.
  • Seamless integration with Grafana, Alertmanager, and other charms in the COS ecosystem through Juju relations.
  • Built-in Grafana dashboards and Prometheus alert rules for self-monitoring.
  • Configurable metrics retention by time and storage size, with WAL compression support.
  • Per-unit ingress support for cross-model access through reverse proxies such as Traefik.
  • TLS support via the certificates relation.
  • Distributed tracing support via integration with Tempo.
  • Persistent storage for the time-series database across container restarts.
  • Configurable Kubernetes resource limits for CPU and memory.