Integrate MON and Prometheus 84/13584/14
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Mon, 26 Jun 2023 16:31:17 +0000 (16:31 +0000)
committerPatricia Reinoso <patricia.reinoso@canonical.com>
Thu, 3 Aug 2023 08:24:51 +0000 (08:24 +0000)
commitc5b6206a7c21cadda941762389ecadd0100418f0
treede1792968a90c0fb0390fa44bde37b65f4f37714
parent87b620ace4933f30db8c4834862a57d56f9a07a6
Integrate MON and Prometheus

Using the metrics-endpoint | prometheus_scrape  integration
Add prometheus-url to the charm config.
prometheus-url does not have a default value.
if prometheus-url is missing the charm is blocked.

Change-Id: I963f305efec9f171eace82379ba23999736f1d4e
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
installers/charm/osm-mon/config.yaml
installers/charm/osm-mon/lib/charms/observability_libs/v0/juju_topology.py [new file with mode: 0644]
installers/charm/osm-mon/lib/charms/prometheus_k8s/v0/prometheus_scrape.py [new file with mode: 0644]
installers/charm/osm-mon/metadata.yaml
installers/charm/osm-mon/src/charm.py
installers/charm/osm-mon/src/legacy_interfaces.py
installers/charm/osm-mon/tests/integration/test_charm.py
installers/charm/osm-mon/tests/unit/test_charm.py