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
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.
|Deploy COS Lite on MicroK8s
|Logging, Monitoring, and Alerting
|What is observability?