]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: many-to-many Prometheus error 37792/head
authorPatrick Seidensal <pseidensal@suse.com>
Mon, 26 Oct 2020 11:53:17 +0000 (12:53 +0100)
committerPatrick Seidensal <pseidensal@suse.com>
Mon, 26 Oct 2020 11:53:17 +0000 (12:53 +0100)
commitea8a3aca02f2adc1e68a055ab95ced207da1561a
tree7b41603ec8822ebee4c9de877a089bab61d2553f
parenta363e693369438922b69a2285e52371af69d5a00
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>
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2