mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
f83cd401e5
* Alerting: Send alerts to external Alertmanager(s) Within this PR we're adding support for registering or unregistering sending to a set of external alertmanagers. A few of the things that are going are: - Introduce a new table to hold "admin" (either org or global) configuration we can change at runtime. - A new periodic check that polls for this configuration and adjusts the "senders" accordingly. - Introduces a new concept of "senders" that are responsible for shipping the alerts to the external Alertmanager(s). In a nutshell, this is the Prometheus notifier (the one in charge of sending the alert) mapped to a multi-tenant map. There are a few code movements here and there but those are minor, I tried to keep things intact as much as possible so that we could have an easier diff.
127 lines
5.6 KiB
Modula-2
127 lines
5.6 KiB
Modula-2
module github.com/grafana/grafana
|
|
|
|
go 1.16
|
|
|
|
// Override xorm's outdated go-mssqldb dependency, since we can't upgrade to current xorm (due to breaking changes).
|
|
// We need a more current go-mssqldb so we get rid of a version of apache/thrift with vulnerabilities.
|
|
// Also, use our fork with fixes for unimplemented methods (required for Go 1.16).
|
|
replace github.com/denisenkom/go-mssqldb => github.com/grafana/go-mssqldb v0.0.0-20210326084033-d0ce3c521036
|
|
|
|
// Override k8s.io/client-go outdated dependency, which is an indirect dependency of grafana/loki.
|
|
// It's also present on grafana/loki's go.mod so we'll need till it gets updated.
|
|
replace k8s.io/client-go => k8s.io/client-go v0.18.8
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.14.0
|
|
cuelang.org/go v0.3.2
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.16.1
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.9.1
|
|
github.com/BurntSushi/toml v0.3.1
|
|
github.com/Masterminds/semver v1.5.0
|
|
github.com/VividCortex/mysqlerr v0.0.0-20170204212430-6c6b55f8796f
|
|
github.com/aws/aws-sdk-go v1.38.68
|
|
github.com/beevik/etree v1.1.0
|
|
github.com/benbjohnson/clock v1.1.0
|
|
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b
|
|
github.com/centrifugal/centrifuge v0.17.1
|
|
github.com/cortexproject/cortex v1.8.2-0.20210428155238-d382e1d80eaf
|
|
github.com/crewjam/saml v0.4.6-0.20201227203850-bca570abb2ce
|
|
github.com/davecgh/go-spew v1.1.1
|
|
github.com/denisenkom/go-mssqldb v0.0.0-20200910202707-1e08a3fab204
|
|
github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect
|
|
github.com/facebookgo/inject v0.0.0-20180706035515-f23751cae28b
|
|
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
|
|
github.com/facebookgo/structtag v0.0.0-20150214074306-217e25fb9691 // indirect
|
|
github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect
|
|
github.com/fatih/color v1.10.0
|
|
github.com/gchaincl/sqlhooks v1.3.0
|
|
github.com/getsentry/sentry-go v0.10.0
|
|
github.com/go-kit/kit v0.11.0
|
|
github.com/go-macaron/binding v0.0.0-20190806013118-0b4f37bab25b
|
|
github.com/go-macaron/gzip v0.0.0-20160222043647-cad1c6580a07
|
|
github.com/go-openapi/strfmt v0.20.1
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible
|
|
github.com/go-sql-driver/mysql v1.6.0
|
|
github.com/go-stack/stack v1.8.0
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/gofrs/uuid v4.0.0+incompatible
|
|
github.com/golang/mock v1.5.0
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/go-cmp v0.5.6
|
|
github.com/google/uuid v1.3.0
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/gosimple/slug v1.9.0
|
|
github.com/grafana/grafana-aws-sdk v0.7.0
|
|
github.com/grafana/grafana-plugin-sdk-go v0.111.0
|
|
github.com/grafana/loki v1.6.2-0.20210520072447-15d417efe103
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
|
|
github.com/hashicorp/go-hclog v0.16.1
|
|
github.com/hashicorp/go-plugin v1.4.2
|
|
github.com/hashicorp/go-version v1.3.0
|
|
github.com/inconshreveable/log15 v0.0.0-20180818164646-67afb5ed74ec
|
|
github.com/influxdata/influxdb-client-go/v2 v2.2.3
|
|
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097
|
|
github.com/jmespath/go-jmespath v0.4.0
|
|
github.com/json-iterator/go v1.1.11
|
|
github.com/jung-kurt/gofpdf v1.16.2
|
|
github.com/laher/mergefs v0.1.1
|
|
github.com/lib/pq v1.10.0
|
|
github.com/linkedin/goavro/v2 v2.10.0
|
|
github.com/magefile/mage v1.11.0
|
|
github.com/mattn/go-isatty v0.0.12
|
|
github.com/mattn/go-sqlite3 v1.14.7
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1
|
|
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
|
|
github.com/opentracing/opentracing-go v1.2.0
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/alertmanager v0.22.2
|
|
github.com/prometheus/client_golang v1.11.0
|
|
github.com/prometheus/client_model v0.2.0
|
|
github.com/prometheus/common v0.29.0
|
|
github.com/prometheus/prometheus v1.8.2-0.20210621150501-ff58416a0b02
|
|
github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
github.com/russellhaering/goxmldsig v1.1.0
|
|
github.com/smartystreets/goconvey v1.6.4
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf
|
|
github.com/timberio/go-datemath v0.1.1-0.20200323150745-74ddef604fff
|
|
github.com/ua-parser/uap-go v0.0.0-20190826212731-daf92ba38329
|
|
github.com/uber/jaeger-client-go v2.29.1+incompatible
|
|
github.com/unknwon/com v1.0.1
|
|
github.com/urfave/cli/v2 v2.3.0
|
|
github.com/weaveworks/common v0.0.0-20210419092856-009d1eebd624
|
|
github.com/xorcare/pointer v1.1.0
|
|
github.com/yudai/gojsondiff v1.0.0
|
|
go.opentelemetry.io/collector v0.31.0
|
|
go.opentelemetry.io/collector/model v0.31.0
|
|
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
|
|
golang.org/x/exp v0.0.0-20210220032938-85be41e4509f // indirect
|
|
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
|
|
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6
|
|
golang.org/x/tools v0.1.3
|
|
gonum.org/v1/gonum v0.9.1
|
|
google.golang.org/api v0.48.0
|
|
google.golang.org/grpc v1.39.0
|
|
google.golang.org/protobuf v1.27.1
|
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
|
gopkg.in/ini.v1 v1.62.0
|
|
gopkg.in/ldap.v3 v3.1.0
|
|
gopkg.in/macaron.v1 v1.4.0
|
|
gopkg.in/mail.v2 v2.3.1
|
|
gopkg.in/redis.v5 v5.2.9
|
|
gopkg.in/square/go-jose.v2 v2.5.1
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
|
|
xorm.io/core v0.7.3
|
|
xorm.io/xorm v0.8.2
|
|
)
|
|
|
|
replace github.com/apache/thrift => github.com/apache/thrift v0.14.1
|
|
|
|
replace gopkg.in/macaron.v1 => ./pkg/macaron
|