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 upalertmanagers static_configs no longer working on HEAD #3637
Comments
hoffie
referenced this issue
Dec 29, 2017
Closed
Prometheus always uses last proxy_url in alertmanagers config #3636
hoffie
changed the title
Alertmanager static_configs no longer working on HEAD
alertmanagers static_configs no longer working on HEAD
Dec 29, 2017
This comment has been minimized.
This comment has been minimized.
|
I found the issue and will make a PR with the fix. |
This comment has been minimized.
This comment has been minimized.
|
The PR seems to work with your config ,so you can test now or can subscribe the PR to see if the maintainers would require some changes first. It would be great if you could test different service discovery providers if you have something ready. |
This comment has been minimized.
This comment has been minimized.
|
@krasi-georgiev: I can confirm that your branch fixes this issue for static_configs and file_sd_configs and allows usage of alertmanagers again. Thanks for your effort! Thanks! |
This comment has been minimized.
This comment has been minimized.
xuelvming
commented
Jan 16, 2018
|
I guess I have the same issue here , not able to make the alertmanager recognized by the prometheus ... |
gouthamve
closed this
in
#3638
Jan 17, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
hoffie commentedDec 29, 2017
•
edited
What did you do?
Start Prometheus (587dec9) with the example config (with the example alertmanager target enabled).
What did you expect to see?
Status page (http://localhost:9090/status) should show one configured Alertmanager.
What did you see instead? Under which circumstances?
Status page does not show any Alertmanagers.
Environment
file_sd_configs seems to yield the same result. This may indicate a general issue with alertmanager target discovery in master. I have not tried other discovery methods though. Maybe I am misunderstand something or I am supposed to use different configs now, but for now, this looks like a bug to me as it unexpectedly changes previous behaviour.
I tried bisect'ing this issue but could not identify a single commit due to build issues (
retrieval/manager.go:95:11: undefined: TargetManager).The last working and building commit is a8cce41.
The first non-working and building commit is 587dec9
According to the commits, this may be related to pull request #3362 (@krasi-georgiev).