Add support for prometheus target relation (for haproxy)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
New
|
Undecided
|
Unassigned |
Bug Description
HAProxy Community Edition has prometheus metrics exporter support since v2.0 [1] (focal) and the deb package is already built with such capability [2] (unfortunately, bionic provides haproxy v1.8, which is not supported built-in).
charm-hacluster should support a Juju interface so Prometheus can collect metrics from the exported path (all hacluster units need to be scraped, so the real IPs need to be used).
charm-prometheus2 already supports the target relation, so charm-hacluster should react to such relation being created.
Additionally, a relation between cs:grafana and charm-hacluster should exist so Grafana can import a dashboard [3] to paint HAProxy metrics (similarly to charm-prometheus2, cs:grafana also supports an interface for such imports).
References:
1. https:/
2. http://
3. https:/
tags: | added: canonical-bootstack |
tags: | added: canonical-bootstack-doc |
Changed in charm-hacluster: | |
assignee: | nobody → Robert Gildein (rgildein) |
Changed in charm-hacluster: | |
status: | New → In Progress |
Changed in charm-hacluster: | |
status: | In Progress → New |
assignee: | Robert Gildein (rgildein) → nobody |