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>
(cherry picked from commit
9d408a70c7d01fd7c94f9b814af916396d7cbf1f)
alerting:
alertmanagers:
- scheme: http
- path_prefix: /alertmanager
static_configs:
- targets: [{{ alertmgr_targets|join(', ') }}]
{% endif %}