Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upprometheus still send alert to alertmanager/api/v1 #5167
Comments
This comment has been minimized.
This comment has been minimized.
|
Alertmanager v2 api is still fairly new and still has a few bugs. I think it is safer to keep using v1 for the moment |
This comment has been minimized.
This comment has been minimized.
|
For the record you can always set Prometheus to use the v2 api using alerting:
alertmanagers:
relabel_configs:
replacement: "/api/v2/alerts"
target_label: __alerts_path__
...As for when/if we switch Prometheus to the v2 API by default, this is a good question... |
simonpasquier
referenced this issue
Mar 25, 2019
Merged
Dependabot/go modules/GitHub.com/hashicorp/go sockaddr 1.0.2 #1811
mxinden
self-assigned this
Apr 18, 2019
mxinden
referenced this issue
Apr 18, 2019
Draft
config¬ifier: Add option to use Alertmanager API v2 #5482
simonpasquier
added
component/notify
kind/enhancement
labels
Apr 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ArcherLinXin commentedFeb 1, 2019
log is : caller=notifier.go:481 component=notifier alertmanager=http://*******/api/v1/alerts