Prometheus-k8s docs - index

Charmed Prometheus

prometheus-k8s is a charm for Prometheus. It is an essential part of the COS Lite bundle.

This Charmed Operator handles deployment, scaling, configuration, and Day 2 operations specific to Prometheus.

This operator drives the Prometheus application, and it can be composed with other operators to deliver a complex application or service.

The charm imposes configurable resource limits on the workload, can be readily integrated with metrics providers such, and comes with built-in alert rules and dashboards for self-monitoring.

This charm is:

  • part of the COS Lite bundle
  • intended to be used together with alertmanager-k8s

Integrating with external (non-charmed) workloads

You can integrate prometheus-k8s with any workload, even if it’s not managed by Juju, by setting up a Grafana Agent instance to scrape the target and forward the metrics to prometheus.

First, you’ll likely need an ingress integration with traefik-k8s to give your prometheus-k8s deployment a stable, external-facing URL.

Once you have the URL for Prometheus, you can use it to configure Grafana Agent to forward metrics to it.

You can do this with all charms in COS Lite!


Level Path Navlink
1 Tutorials Tutorials
2 deploy-cos-lite Deploy COS Lite on MicroK8s
1 How To How To
2 contributing Contributing
2 integrating Integrating
1 Reference Reference
2 Actions Actions
2 Configurations Configurations
2 Libraries Libraries
1 Explanation Explanation
2 lma Logging, Monitoring, and Alerting
2 what-is-observability What is observability?


Mapping table
Path Location