Open
Description
Hello,
Is your feature request related to a problem? Please describe.
When I try to ack an alert, alerta logs display:
2024-09-30 13:08:50,335 alerta.plugins.prometheus[51]: [DEBUG] Alertmanager: 410 - {"status":"deprecated","error":"The Alertmanager v1 API was deprecated in version 0.16.0 and is removed as of version 0.28.0 - please use the equivalent route in the v2 API"}
2024-09-30 13:09:31,845 alerta.plugins.prometheus[70]: [DEBUG] Alertmanager response was: 410 - {"status":"deprecated","error":"The Alertmanager v1 API was deprecated in version 0.16.0 and is removed as of version 0.28.0 - please use the equivalent route in the v2 API"}
Describe the solution you'd like
Switch to API v2 url or make it configurable.
For example: https://github.com/alerta/alerta-contrib/blob/master/plugins/prometheus/alerta_prometheus.py#L62
Describe alternatives you've considered
None for now. In the next release of Altermanager, v1 API will be removed.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels