mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-23 07:08:33 -04:00
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a configuration option for Prometheus to send alerts to the v2 endpoint instead of the defautl v1 endpoint. Signed-off-by: Max Leonard Inden <IndenML@gmail.com> |
||
|---|---|---|
| .. | ||
| .travis.yml | ||
| LICENSE | ||
| README.md | ||
| urlesc.go | ||
urlesc

Package urlesc implements query escaping as per RFC 3986.
It contains some parts of the net/url package, modified so as to allow some reserved characters incorrectly escaped by net/url (see issue 5684).
Install
go get github.com/PuerkitoBio/urlesc
License
Go license (BSD-3-Clause)