Open azelezni opened 1 year ago
:wave: why did you change the default opsgenie_api_url
value? It should be the base URL of the OpsGenie API (e.g. https://api.opsgenie.com/
or https://api.eu.opsgenie.com/
).
Well that's why I'm here isn't it, the documentation isn't clear at all about the actual value.
The doc says: The host to send OpsGenie API requests to
The key is: api_url
but the actual expected value is the root URL?
but the actual expected value is the root URL?
yes, feel free to send a PR to improve the documentation :)
What did you do?
What did you expect to see? Expected Alertmanager to create a new alert in OpsGenie
What did you see instead? Under which circumstances? No alert created in OpsGenie, looking at the logs I get this error:
Environment
System information:
Alertmanager version:
Prometheus version:
Alertmanager configuration file:
Now, I was able to solve this by simply removing the key
global.opsgenie_api_url
, and upon reading the docs again I noticed the strange wording used:So which is it? host or url? this is a big distinction and the above just makes it confusing. The default value configured at
global.opsgenie_api_url
ishttps://api.opsgenie.com/
, this is a URL.