prometheus/vendor/github.com/globalsign/mgo/bson
Max Leonard Inden 41c22effbe
config&notifier: Add option to use Alertmanager API v2
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>
2019-06-21 16:33:53 +02:00
..
bson.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
bson_corpus_spec_test_generator.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
compatibility.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
decimal.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
decode.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
encode.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
json.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
LICENSE config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
README.md config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
stream.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00

GoDoc

An Implementation of BSON for Go

Package bson is an implementation of the BSON specification for Go.

While the BSON package implements the BSON spec as faithfully as possible, there is some MongoDB specific behaviour (such as map keys $in, $all, etc) in the bson package. The priority is for backwards compatibility for the mgo driver, though fixes for obviously buggy behaviour is welcome (and features, etc behind feature flags).