Prometheus scrape target

  • By Leon
Channel Version Revision Published Runs on
latest/candidate 19 19 08 Aug 2022
Ubuntu 20.04
latest/beta 19 19 08 Aug 2022
Ubuntu 20.04
latest/edge 22 22 15 Sep 2022
Ubuntu 20.04
juju deploy prometheus-scrape-target-k8s --channel candidate
Show information


Prometheus Scrape Target Operator


The Prometheus Scrape Target operator supports metrics aggregation from applications outside any Juju model. This facilitates using the Canonical Observability Stack even for use cases where the metrics endpoints do not originate from other charmed operators.


# Deploy prometheus, scrape target charms and relate them
$ juju deploy prometheus-k8s
$ juju deploy prometheus-scrape-target-k8s
$ juju relate prometheus-k8s prometheus-scrape-target-k8s

# Setup as an external target
juju config prometheus-scrape-target targets=""


  • Prometheus The scrape target charm only supports relations with a metrics consumer charm using the metrics-endpoint relation and the prometheus_scrape interface.