]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm:fix alerts sent to wrong URL
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 2 Jun 2021 23:34:19 +0000 (11:34 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Fri, 4 Jun 2021 00:52:35 +0000 (12:52 +1200)
commit9d408a70c7d01fd7c94f9b814af916396d7cbf1f
tree97ebecb0a5bef65703a4a335cbc3a86e2ac45fb7
parent5871240363e9912ece5e9bc9a02673ba6ba5ef8d
mgr/cephadm:fix alerts sent to wrong URL

The path_prefix in prometheus.yml was specifying an
endpoint prefix, which was invalid. This resulted in 404
errors when trying to send alerts to alertmanager and
blocked alerts being sent on to the ceph-dashboard API
receiver. This fix remves this prefix.

Fixes: https://tracker.ceph.com/issues/51073
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2