]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: many-to-many Prometheus error
authorPatrick Seidensal <pseidensal@suse.com>
Mon, 26 Oct 2020 11:53:17 +0000 (12:53 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 18 Nov 2020 10:52:40 +0000 (11:52 +0100)
commit40ec0374f55a69d5387bc11f7c2b2528cac65d43
treec4b109110c6ae01df4179dab03d82631092ffb9f
parentfe8385a482b606fe94ac0872ba7306220d858803
mgr/cephadm: many-to-many Prometheus error

Fix configuration created by cephadm to prevent any "many-to-many
matching not allowed: matching labels must be unique on one side"
issues. The mgr/prometheus exporter exports suitable instance labels
itself, which can be taken over when `honor_labels` in Prometheus is set
to `true`.

Fixes: https://tracker.ceph.com/issues/47997
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit ea8a3aca02f2adc1e68a055ab95ced207da1561a)
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2