2019-04-16 05:00:55 -05:00
|
|
|
module github.com/grafana/grafana
|
|
|
|
|
2023-11-01 11:17:38 -05:00
|
|
|
go 1.21
|
2019-04-16 05:00:55 -05:00
|
|
|
|
2022-11-05 02:52:21 -05:00
|
|
|
// Override docker/docker to avoid:
|
|
|
|
// go: github.com/drone-runners/drone-runner-docker@v1.8.2 requires
|
|
|
|
// github.com/docker/docker@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
|
2023-04-26 08:02:01 -05:00
|
|
|
replace github.com/docker/docker => github.com/moby/moby v23.0.4+incompatible
|
2022-11-05 02:52:21 -05:00
|
|
|
|
2022-12-22 06:20:02 -06:00
|
|
|
// contains openapi encoder fixes. remove ASAP
|
2023-09-26 05:29:59 -05:00
|
|
|
replace cuelang.org/go => github.com/grafana/cue v0.0.0-20230926092038-971951014e3f // @grafana/grafana-as-code
|
2022-12-22 06:20:02 -06:00
|
|
|
|
2023-07-14 14:22:10 -05:00
|
|
|
// TODO: following otel replaces to pin the libraries so k8s.io/apiserver doesn't downgrade us inadvertantly
|
|
|
|
// will need bumps as we upgrade otel in Grafana
|
2023-10-18 04:33:21 -05:00
|
|
|
replace (
|
2023-12-04 04:42:09 -06:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // @grafana/backend-platform
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.22.0 // @grafana/backend-platform
|
|
|
|
go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v1.22.0 // @grafana/backend-platform
|
|
|
|
go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.22.0 // @grafana/backend-platform
|
2023-10-18 04:33:21 -05:00
|
|
|
)
|
2023-07-14 14:22:10 -05:00
|
|
|
|
2023-05-10 07:09:49 -05:00
|
|
|
// Override Prometheus version because Prometheus v2.X is tagged as v0.X for Go modules purposes and Go assumes
|
|
|
|
// that v1.Y is higher than v0.X, so when we resolve dependencies if any dependency imports v1.Y we'd
|
|
|
|
// import that instead of v0.X even though v0.X is newer.
|
|
|
|
replace github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.43.0
|
|
|
|
|
2023-12-07 06:33:53 -06:00
|
|
|
// The v0.120.0 is needed for now to be compatible with grafana/thema.
|
|
|
|
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.120.0
|
|
|
|
|
2019-04-16 05:00:55 -05:00
|
|
|
require (
|
2023-07-14 09:10:46 -05:00
|
|
|
cloud.google.com/go/storage v1.30.1 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
cuelang.org/go v0.6.0-0.dev // @grafana/grafana-as-code
|
2024-01-08 07:32:46 -06:00
|
|
|
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // @grafana/partner-datasources
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/Azure/go-autorest/autorest v0.11.29 // @grafana/backend-platform
|
2023-10-18 04:33:21 -05:00
|
|
|
github.com/BurntSushi/toml v1.3.2 // @grafana/grafana-authnz-team
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/Masterminds/semver v1.5.0 // @grafana/backend-platform
|
|
|
|
github.com/VividCortex/mysqlerr v0.0.0-20170204212430-6c6b55f8796f // @grafana/backend-platform
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/aws/aws-sdk-go v1.47.0 // @grafana/aws-datasources
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/beevik/etree v1.2.0 // @grafana/backend-platform
|
2023-08-25 08:08:09 -05:00
|
|
|
github.com/benbjohnson/clock v1.3.5 // @grafana/alerting-squad-backend
|
2023-08-08 02:44:04 -05:00
|
|
|
github.com/blang/semver/v4 v4.0.0 // @grafana/grafana-delivery
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b // @grafana/backend-platform
|
2023-09-14 07:03:41 -05:00
|
|
|
github.com/centrifugal/centrifuge v0.30.2 // @grafana/grafana-app-platform-squad
|
2023-10-19 06:54:32 -05:00
|
|
|
github.com/crewjam/saml v0.4.13 // @grafana/grafana-authnz-team
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/fatih/color v1.15.0 // @grafana/backend-platform
|
|
|
|
github.com/gchaincl/sqlhooks v1.3.0 // @grafana/backend-platform
|
|
|
|
github.com/go-ldap/ldap/v3 v3.4.4 // @grafana/grafana-authnz-team
|
2023-12-15 11:34:08 -06:00
|
|
|
github.com/go-openapi/strfmt v0.21.9 // @grafana/alerting-squad-backend
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/go-redis/redis/v8 v8.11.5 // @grafana/backend-platform
|
|
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // @grafana/backend-platform
|
|
|
|
github.com/go-sql-driver/mysql v1.7.1 // @grafana/backend-platform
|
|
|
|
github.com/go-stack/stack v1.8.1 // @grafana/backend-platform
|
|
|
|
github.com/gobwas/glob v0.2.3 // @grafana/backend-platform
|
2023-04-27 15:45:34 -05:00
|
|
|
github.com/gofrs/uuid v4.4.0+incompatible // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/gogo/protobuf v1.3.2 // @grafana/alerting-squad-backend
|
|
|
|
github.com/golang/mock v1.6.0 // @grafana/alerting-squad-backend
|
|
|
|
github.com/golang/snappy v0.0.4 // @grafana/alerting-squad-backend
|
2023-10-26 02:44:15 -05:00
|
|
|
github.com/google/go-cmp v0.6.0 // @grafana/backend-platform
|
2024-01-03 05:36:44 -06:00
|
|
|
github.com/google/uuid v1.5.0 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/google/wire v0.5.0 // @grafana/backend-platform
|
|
|
|
github.com/gorilla/websocket v1.5.0 // @grafana/grafana-app-platform-squad
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/grafana/alerting v0.0.0-20240201111525-bd6396bbe2e1 // @grafana/alerting-squad-backend
|
2023-12-07 06:33:53 -06:00
|
|
|
github.com/grafana/cuetsy v0.1.11 // @grafana/grafana-as-code
|
2024-02-05 12:59:32 -06:00
|
|
|
github.com/grafana/grafana-aws-sdk v0.23.1 // @grafana/aws-datasources
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/grafana/grafana-azure-sdk-go v1.12.0 // @grafana/partner-datasources
|
2024-02-01 08:09:58 -06:00
|
|
|
github.com/grafana/grafana-plugin-sdk-go v0.206.0 // @grafana/plugins-platform-backend
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // @grafana/backend-platform
|
2024-01-03 05:36:44 -06:00
|
|
|
github.com/hashicorp/go-hclog v1.6.2 // @grafana/plugins-platform-backend
|
2023-12-04 04:42:09 -06:00
|
|
|
github.com/hashicorp/go-plugin v1.6.0 // @grafana/plugins-platform-backend
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/hashicorp/go-version v1.6.0 // @grafana/backend-platform
|
2023-09-11 10:48:23 -05:00
|
|
|
github.com/hashicorp/hcl/v2 v2.17.0 // @grafana/alerting-squad-backend
|
2023-08-08 08:00:52 -05:00
|
|
|
github.com/influxdata/influxdb-client-go/v2 v2.12.3 // @grafana/observability-metrics
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // @grafana/grafana-app-platform-squad
|
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // @grafana/backend-platform
|
|
|
|
github.com/json-iterator/go v1.1.12 // @grafana/backend-platform
|
2023-08-15 12:04:42 -05:00
|
|
|
github.com/lib/pq v1.10.9 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/linkedin/goavro/v2 v2.10.0 // @grafana/backend-platform
|
|
|
|
github.com/m3db/prometheus_remote_client_golang v0.4.4 // @grafana/backend-platform
|
2023-08-08 02:44:04 -05:00
|
|
|
github.com/magefile/mage v1.15.0 // @grafana/grafana-delivery
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/mattn/go-isatty v0.0.18 // @grafana/backend-platform
|
2024-01-23 07:32:26 -06:00
|
|
|
github.com/mattn/go-sqlite3 v1.14.19 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // @grafana/alerting-squad-backend
|
|
|
|
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // @grafana/grafana-operator-experience-squad
|
2023-04-27 08:04:43 -05:00
|
|
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible // @grafana/alerting-squad-backend
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/pkg/errors v0.9.1 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/prometheus/alertmanager v0.25.0 // @grafana/alerting-squad-backend
|
2024-01-03 05:36:44 -06:00
|
|
|
github.com/prometheus/client_golang v1.18.0 // @grafana/alerting-squad-backend
|
2023-12-07 11:11:30 -06:00
|
|
|
github.com/prometheus/client_model v0.5.0 // @grafana/backend-platform
|
2024-01-29 11:44:53 -06:00
|
|
|
github.com/prometheus/common v0.46.0 // @grafana/alerting-squad-backend
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/prometheus/prometheus v1.8.2-0.20221021121301-51a44e6657c3 // @grafana/alerting-squad-backend
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/robfig/cron/v3 v3.0.1 // @grafana/backend-platform
|
|
|
|
github.com/russellhaering/goxmldsig v1.4.0 // @grafana/backend-platform
|
|
|
|
github.com/stretchr/testify v1.8.4 // @grafana/backend-platform
|
|
|
|
github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf // @grafana/backend-platform
|
|
|
|
github.com/ua-parser/uap-go v0.0.0-20211112212520-00c877edfe0f // @grafana/backend-platform
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/urfave/cli/v2 v2.25.0 // @grafana/backend-platform
|
|
|
|
github.com/vectordotdev/go-datemath v0.1.1-0.20220323213446-f3954d0b18ae // @grafana/backend-platform
|
|
|
|
github.com/yalue/merged_fs v1.2.2 // @grafana/grafana-as-code
|
|
|
|
github.com/yudai/gojsondiff v1.0.0 // @grafana/backend-platform
|
2024-01-15 04:37:57 -06:00
|
|
|
go.opentelemetry.io/collector/pdata v1.0.1 // @grafana/backend-platform
|
2023-12-04 04:42:09 -06:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.46.1 // @grafana/grafana-operator-experience-squad
|
2023-07-14 09:10:46 -05:00
|
|
|
go.opentelemetry.io/otel/exporters/jaeger v1.10.0 // @grafana/backend-platform
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/otel/sdk v1.22.0 // @grafana/backend-platform
|
|
|
|
go.opentelemetry.io/otel/trace v1.22.0 // @grafana/backend-platform
|
2024-01-29 11:44:53 -06:00
|
|
|
golang.org/x/crypto v0.18.0 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // @grafana/alerting-squad-backend
|
2024-01-29 11:44:53 -06:00
|
|
|
golang.org/x/net v0.20.0 // @grafana/oss-big-tent @grafana/partner-datasources
|
|
|
|
golang.org/x/oauth2 v0.16.0 // @grafana/grafana-authnz-team
|
2024-01-08 14:33:42 -06:00
|
|
|
golang.org/x/sync v0.5.0 // @grafana/alerting-squad-backend
|
|
|
|
golang.org/x/time v0.5.0 // @grafana/backend-platform
|
2024-01-25 14:01:09 -06:00
|
|
|
golang.org/x/tools v0.16.1 // @grafana/grafana-as-code
|
2023-07-14 09:10:46 -05:00
|
|
|
gonum.org/v1/gonum v0.12.0 // @grafana/observability-metrics
|
2024-01-08 14:33:42 -06:00
|
|
|
google.golang.org/api v0.149.0 // @grafana/backend-platform
|
2024-01-03 05:36:44 -06:00
|
|
|
google.golang.org/grpc v1.60.1 // @grafana/plugins-platform-backend
|
|
|
|
google.golang.org/protobuf v1.32.0 // @grafana/plugins-platform-backend
|
2021-04-22 08:06:32 -05:00
|
|
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
gopkg.in/ini.v1 v1.67.0 // @grafana/alerting-squad-backend
|
|
|
|
gopkg.in/mail.v2 v2.3.1 // @grafana/backend-platform
|
2022-12-06 14:17:17 -06:00
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
gopkg.in/yaml.v3 v3.0.1 // @grafana/alerting-squad-backend
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
xorm.io/builder v0.3.6 // indirect; @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
xorm.io/core v0.7.3 // @grafana/backend-platform
|
|
|
|
xorm.io/xorm v0.8.2 // @grafana/alerting-squad-backend
|
2021-04-09 14:17:22 -05:00
|
|
|
)
|
2021-05-26 02:31:19 -05:00
|
|
|
|
2021-08-31 01:19:26 -05:00
|
|
|
require (
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect
|
2021-11-09 11:33:54 -06:00
|
|
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
|
|
|
|
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
|
|
|
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/FZambia/eagle v0.1.0 // indirect
|
2022-08-11 16:54:32 -05:00
|
|
|
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/andybalholm/brotli v1.0.4 // @grafana/partner-datasources
|
2023-04-27 15:45:34 -05:00
|
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
|
2023-01-10 08:16:45 -06:00
|
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/cheekybits/genny v1.0.0 // indirect
|
2021-09-29 03:59:05 -05:00
|
|
|
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
|
2023-05-09 18:13:45 -05:00
|
|
|
github.com/deepmap/oapi-codegen v1.12.4 // indirect
|
2021-09-21 15:51:47 -05:00
|
|
|
github.com/dennwc/varint v1.0.0 // indirect
|
2021-09-20 15:21:59 -05:00
|
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/docker/go-units v0.5.0 // indirect
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/edsrzf/mmap-go v1.1.0 // indirect
|
2022-05-21 19:44:12 -05:00
|
|
|
github.com/emicklei/proto v1.10.0 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/go-kit/log v0.2.1 // @grafana/backend-platform
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
2022-10-07 04:10:20 -05:00
|
|
|
github.com/go-openapi/analysis v0.21.4 // indirect
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/go-openapi/errors v0.21.0 // indirect
|
2023-12-15 11:34:08 -06:00
|
|
|
github.com/go-openapi/jsonpointer v0.20.0 // indirect
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/go-openapi/loads v0.21.2 // @grafana/alerting-squad-backend
|
2023-12-15 11:34:08 -06:00
|
|
|
github.com/go-openapi/runtime v0.26.2 // @grafana/alerting-squad-backend
|
|
|
|
github.com/go-openapi/spec v0.20.11 // indirect
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/go-openapi/swag v0.22.7 // indirect
|
2023-12-15 11:34:08 -06:00
|
|
|
github.com/go-openapi/validate v0.22.3 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/golang-jwt/jwt/v4 v4.5.0 // @grafana/backend-platform
|
2023-09-06 11:27:19 -05:00
|
|
|
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
|
2023-11-14 07:14:15 -06:00
|
|
|
github.com/golang/glog v1.1.2 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/golang/protobuf v1.5.3 // @grafana/backend-platform
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/google/btree v1.1.2 // indirect
|
2023-10-03 10:54:17 -05:00
|
|
|
github.com/google/flatbuffers v23.1.21+incompatible // indirect
|
2023-10-26 07:53:57 -05:00
|
|
|
github.com/googleapis/gax-go/v2 v2.12.0 // @grafana/backend-platform
|
2023-10-06 13:55:22 -05:00
|
|
|
github.com/gorilla/mux v1.8.0 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/grafana/grafana-google-sdk-go v0.1.0 // @grafana/partner-datasources
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20191002090509-6af20e3a5340 // indirect
|
2022-04-22 09:59:10 -05:00
|
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/hashicorp/go-msgpack v0.5.5 // indirect
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect; @grafana/alerting-squad
|
|
|
|
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/hashicorp/golang-lru v0.6.0 // indirect
|
2023-04-28 04:32:45 -05:00
|
|
|
github.com/hashicorp/yamux v0.1.1 // indirect
|
2022-09-20 10:39:46 -05:00
|
|
|
github.com/igm/sockjs-go/v3 v3.0.2 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/jessevdk/go-flags v1.5.0 // indirect
|
2023-07-07 10:59:22 -05:00
|
|
|
github.com/jonboulle/clockwork v0.4.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
|
|
github.com/jpillora/backoff v1.0.0 // indirect
|
|
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
2021-10-08 06:19:04 -05:00
|
|
|
github.com/mattermost/xml-roundtrip-validator v0.1.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/mattetti/filebuffer v1.0.1 // indirect
|
2022-10-28 06:33:37 -05:00
|
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/miekg/dns v1.1.51 // indirect
|
2023-04-28 04:32:45 -05:00
|
|
|
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
2023-10-16 09:40:04 -05:00
|
|
|
github.com/modern-go/reflect2 v1.0.2 // @grafana/alerting-squad-backend
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de // indirect
|
|
|
|
github.com/oklog/run v1.1.0 // indirect
|
|
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/olekukonko/tablewriter v0.0.5 // @grafana/backend-platform
|
2023-01-31 13:05:49 -06:00
|
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
2021-09-09 11:25:22 -05:00
|
|
|
github.com/prometheus/common/sigv4 v0.1.0 // indirect
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/prometheus/exporter-toolkit v0.11.0 // indirect
|
2024-01-03 05:36:44 -06:00
|
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
2022-05-21 19:44:12 -05:00
|
|
|
github.com/protocolbuffers/txtpbfmt v0.0.0-20220428173112-74888fd59c2b // indirect
|
2023-11-01 04:59:15 -05:00
|
|
|
github.com/rs/cors v1.10.1 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
|
2023-04-18 23:47:15 -05:00
|
|
|
github.com/segmentio/encoding v0.3.6 // indirect
|
2023-06-13 07:01:29 -05:00
|
|
|
github.com/sergi/go-diff v1.3.1 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
|
|
|
|
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect
|
2023-07-21 02:37:20 -05:00
|
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
2022-11-29 09:37:45 -06:00
|
|
|
github.com/stretchr/objx v0.5.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
2021-09-07 13:05:24 -05:00
|
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
2021-08-31 01:19:26 -05:00
|
|
|
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
|
2023-12-15 11:34:08 -06:00
|
|
|
go.mongodb.org/mongo-driver v1.13.1 // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
go.opencensus.io v0.24.0 // indirect
|
2023-08-25 08:08:09 -05:00
|
|
|
go.uber.org/atomic v1.11.0 // @grafana/alerting-squad-backend
|
2023-11-14 07:14:15 -06:00
|
|
|
go.uber.org/goleak v1.3.0 // indirect
|
2024-01-16 03:26:42 -06:00
|
|
|
golang.org/x/sys v0.16.0 // indirect
|
2023-11-17 09:42:17 -06:00
|
|
|
golang.org/x/text v0.14.0 // @grafana/backend-platform
|
2023-01-10 10:17:07 -06:00
|
|
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
2024-01-03 05:36:44 -06:00
|
|
|
google.golang.org/appengine v1.6.8 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect; @grafana/backend-platform
|
2021-08-31 01:19:26 -05:00
|
|
|
)
|
|
|
|
|
2022-02-15 10:54:27 -06:00
|
|
|
require (
|
2024-01-08 14:33:42 -06:00
|
|
|
cloud.google.com/go/kms v1.15.5 // @grafana/backend-platform
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.9.0 // @grafana/backend-platform
|
|
|
|
github.com/Azure/azure-storage-blob-go v0.15.0 // @grafana/backend-platform
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/Azure/go-autorest/autorest/adal v0.9.23 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/armon/go-radix v1.0.0 // @grafana/grafana-app-platform-squad
|
|
|
|
github.com/blugelabs/bluge v0.1.9 // @grafana/backend-platform
|
|
|
|
github.com/blugelabs/bluge_segment_api v0.2.0 // @grafana/backend-platform
|
2023-10-10 11:13:14 -05:00
|
|
|
github.com/bufbuild/connect-go v1.10.0 // @grafana/observability-traces-and-profiling
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/dlmiddlecote/sqlstats v1.0.2 // @grafana/backend-platform
|
|
|
|
github.com/drone/drone-cli v1.6.1 // @grafana/grafana-delivery
|
2023-10-03 10:54:17 -05:00
|
|
|
github.com/getkin/kin-openapi v0.120.0 // @grafana/grafana-operator-experience-squad
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/golang-migrate/migrate/v4 v4.7.0 // @grafana/backend-platform
|
2023-12-06 16:04:13 -06:00
|
|
|
github.com/google/go-github v17.0.0+incompatible // @grafana/grafana-delivery
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/google/go-github/v45 v45.2.0 // @grafana/grafana-delivery
|
|
|
|
github.com/grafana/codejen v0.0.3 // @grafana/dataviz-squad
|
2024-01-04 16:16:51 -06:00
|
|
|
github.com/grafana/dskit v0.0.0-20240104111617-ea101a3b86eb // @grafana/backend-platform
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/huandu/xstrings v1.3.2 // @grafana/partner-datasources
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/jmoiron/sqlx v1.3.5 // @grafana/backend-platform
|
|
|
|
github.com/matryer/is v1.4.0 // @grafana/grafana-as-code
|
2023-10-18 04:33:21 -05:00
|
|
|
github.com/urfave/cli v1.22.14 // @grafana/backend-platform
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // @grafana/plugins-platform-backend
|
|
|
|
go.opentelemetry.io/contrib/propagators/jaeger v1.22.0 // @grafana/backend-platform
|
2023-12-04 04:42:09 -06:00
|
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // @grafana/backend-platform
|
|
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 // @grafana/backend-platform
|
2023-07-13 12:52:37 -05:00
|
|
|
gocloud.dev v0.25.0 // @grafana/grafana-app-platform-squad
|
2022-02-15 10:54:27 -06:00
|
|
|
)
|
2021-12-21 06:15:27 -06:00
|
|
|
|
2022-12-22 06:20:02 -06:00
|
|
|
require (
|
2023-07-13 12:52:37 -05:00
|
|
|
buf.build/gen/go/parca-dev/parca/bufbuild/connect-go v1.4.1-20221222094228-8b1d3d0f62e6.1 // @grafana/observability-traces-and-profiling
|
|
|
|
buf.build/gen/go/parca-dev/parca/protocolbuffers/go v1.28.1-20221222094228-8b1d3d0f62e6.4 // @grafana/observability-traces-and-profiling
|
|
|
|
github.com/Masterminds/semver/v3 v3.1.1 // @grafana/grafana-delivery
|
|
|
|
github.com/alicebob/miniredis/v2 v2.30.1 // @grafana/alerting-squad-backend
|
|
|
|
github.com/dave/dst v0.27.2 // @grafana/grafana-as-code
|
2023-12-13 08:55:44 -06:00
|
|
|
github.com/go-jose/go-jose/v3 v3.0.1 // @grafana/grafana-authnz-team
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/grafana/dataplane/examples v0.0.1 // @grafana/observability-metrics
|
2024-02-05 12:59:32 -06:00
|
|
|
github.com/grafana/dataplane/sdata v0.0.7 // @grafana/observability-metrics
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/grafana/kindsys v0.0.0-20230508162304-452481b63482 // @grafana/grafana-as-code
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/grafana/tempo v1.5.1-0.20230524121406-1dc1bfe7085b // @grafana/observability-traces-and-profiling
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/grafana/thema v0.0.0-20230712153715-375c1b45f3ed // @grafana/grafana-as-code
|
2023-09-07 09:55:23 -05:00
|
|
|
github.com/microsoft/go-mssqldb v1.5.0 // @grafana/grafana-bi-squad
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/ory/fosite v0.44.1-0.20230317114349-45a6785cc54f // @grafana/grafana-authnz-team
|
|
|
|
github.com/redis/go-redis/v9 v9.0.2 // @grafana/alerting-squad-backend
|
|
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // @grafana/grafana-as-code
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/contrib/samplers/jaegerremote v0.16.0 // @grafana/backend-platform
|
2024-01-08 14:33:42 -06:00
|
|
|
golang.org/x/mod v0.14.0 // @grafana/backend-platform
|
2023-07-14 14:22:10 -05:00
|
|
|
gopkg.in/square/go-jose.v2 v2.6.0 // @grafana/grafana-authnz-team
|
2023-12-14 09:00:48 -06:00
|
|
|
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // @grafana/partner-datasources
|
2023-07-14 14:22:10 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
require (
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/spf13/cobra v1.8.0 // @grafana/grafana-app-platform-squad
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/otel v1.22.0 // @grafana/backend-platform
|
2024-02-02 15:03:19 -06:00
|
|
|
k8s.io/api v0.29.0 // @grafana/grafana-app-platform-squad
|
2023-12-14 09:00:48 -06:00
|
|
|
k8s.io/apimachinery v0.29.0 // @grafana/grafana-app-platform-squad
|
|
|
|
k8s.io/apiserver v0.29.0 // @grafana/grafana-app-platform-squad
|
|
|
|
k8s.io/client-go v0.29.0 // @grafana/grafana-app-platform-squad
|
|
|
|
k8s.io/component-base v0.29.0 // @grafana/grafana-app-platform-squad
|
|
|
|
k8s.io/klog/v2 v2.110.1 // @grafana/grafana-app-platform-squad
|
2024-01-08 14:33:42 -06:00
|
|
|
k8s.io/kube-aggregator v0.29.0 // @grafana/grafana-app-platform-squad
|
2023-12-14 12:51:15 -06:00
|
|
|
k8s.io/kube-openapi v0.0.0-20231214164306-ab13479f8bf8 // @grafana/grafana-app-platform-squad
|
2022-12-22 06:20:02 -06:00
|
|
|
)
|
2022-12-15 08:28:25 -06:00
|
|
|
|
2023-10-02 08:32:35 -05:00
|
|
|
require github.com/grafana/gofpdf v0.0.0-20231002120153-857cc45be447 // @grafana/sharing-squad
|
|
|
|
|
2023-12-07 11:11:30 -06:00
|
|
|
require github.com/grafana/pyroscope/api v0.3.0 // @grafana/observability-traces-and-profiling
|
2023-10-12 03:20:00 -05:00
|
|
|
|
2024-01-16 04:58:35 -06:00
|
|
|
require github.com/grafana/pyroscope-go/godeltaprof v0.1.6 // @grafana/observability-traces-and-profiling
|
|
|
|
|
2023-10-13 10:06:10 -05:00
|
|
|
require github.com/apache/arrow/go/v13 v13.0.0 // @grafana/observability-metrics
|
|
|
|
|
2022-04-14 13:54:35 -05:00
|
|
|
require (
|
2024-01-08 14:33:42 -06:00
|
|
|
cloud.google.com/go v0.111.0 // indirect
|
2023-03-31 05:58:22 -05:00
|
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
2022-11-01 07:02:17 -05:00
|
|
|
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
|
2023-02-28 05:13:46 -06:00
|
|
|
github.com/Azure/go-ntlmssp v0.0.0-20220621081337-cb9428e4ac1e // indirect
|
2022-11-17 14:41:46 -06:00
|
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/NYTimes/gziphandler v1.1.1 // indirect
|
2023-09-11 10:48:23 -05:00
|
|
|
github.com/agext/levenshtein v1.2.1 // indirect
|
2023-04-19 10:05:26 -05:00
|
|
|
github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect
|
2023-02-21 05:34:24 -06:00
|
|
|
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
|
2023-09-11 10:48:23 -05:00
|
|
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/armon/go-metrics v0.4.1 // indirect
|
2022-09-14 00:59:18 -05:00
|
|
|
github.com/bmatcuk/doublestar v1.1.1 // indirect
|
|
|
|
github.com/buildkite/yaml v2.1.0+incompatible // indirect
|
2023-10-27 15:39:27 -05:00
|
|
|
github.com/bwmarrin/snowflake v0.3.0 // @grafan/grafana-app-platform-squad
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/centrifugal/protocol v0.10.0 // indirect
|
2024-01-22 08:13:31 -06:00
|
|
|
github.com/cloudflare/circl v1.3.7 // indirect
|
2023-05-24 03:47:25 -05:00
|
|
|
github.com/cockroachdb/errors v1.9.1 // indirect
|
|
|
|
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect
|
|
|
|
github.com/cockroachdb/redact v1.1.3 // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/cristalhq/jwt/v4 v4.0.2 // indirect
|
|
|
|
github.com/dave/jennifer v1.5.0 // indirect
|
2022-10-26 06:46:50 -05:00
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
2023-11-01 05:14:24 -05:00
|
|
|
github.com/dgraph-io/ristretto v0.1.1 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
|
2022-11-22 10:04:14 -06:00
|
|
|
github.com/docker/distribution v2.8.1+incompatible // indirect
|
|
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
2022-11-05 02:52:21 -05:00
|
|
|
github.com/drone-runners/drone-runner-docker v1.8.2 // indirect
|
|
|
|
github.com/drone/drone-go v1.7.1 // indirect
|
|
|
|
github.com/drone/envsubst v1.0.3 // indirect
|
|
|
|
github.com/drone/runner-go v1.12.0 // indirect
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/ecordell/optgen v0.0.6 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
|
2023-11-14 07:14:15 -06:00
|
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
2023-05-24 03:47:25 -05:00
|
|
|
github.com/getsentry/sentry-go v0.12.0 // indirect
|
2023-02-28 05:13:46 -06:00
|
|
|
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
|
2023-10-03 10:54:17 -05:00
|
|
|
github.com/goccy/go-json v0.10.0 // indirect
|
2023-07-19 09:01:54 -05:00
|
|
|
github.com/gogo/googleapis v1.4.1 // indirect
|
|
|
|
github.com/gogo/status v1.1.1 // indirect
|
2023-09-07 09:55:23 -05:00
|
|
|
github.com/golang-sql/sqlexp v0.1.0 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/google/cel-go v0.17.7 // indirect
|
2022-07-29 01:26:44 -05:00
|
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
2023-05-24 11:13:44 -05:00
|
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
2023-10-26 07:53:57 -05:00
|
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/grafana/regexp v0.0.0-20221123153739-15dc172cd2db // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
2022-04-14 13:54:35 -05:00
|
|
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/hashicorp/memberlist v0.5.0 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
2023-10-03 10:54:17 -05:00
|
|
|
github.com/invopop/yaml v0.2.0 // indirect
|
2023-08-02 11:27:43 -05:00
|
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
|
|
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
|
2023-05-24 03:47:25 -05:00
|
|
|
github.com/kr/pretty v0.3.1 // indirect
|
2022-09-26 10:26:18 -05:00
|
|
|
github.com/kr/text v0.2.0 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/magiconair/properties v1.8.6 // indirect
|
2023-01-17 04:58:08 -06:00
|
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
2022-11-01 07:02:17 -05:00
|
|
|
github.com/mattn/go-ieproxy v0.0.3 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/mattn/goveralls v0.0.6 // indirect
|
2022-11-17 14:41:46 -06:00
|
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
2023-11-20 02:45:40 -06:00
|
|
|
github.com/mitchellh/mapstructure v1.5.0 //@grafana/grafana-authnz-team
|
2022-11-17 14:41:46 -06:00
|
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
2023-01-17 04:58:08 -06:00
|
|
|
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
|
2023-07-14 14:22:10 -05:00
|
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
2022-11-22 10:04:14 -06:00
|
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/opencontainers/image-spec v1.0.3-0.20220512140940-7b36cea86235 // indirect
|
2023-07-19 09:01:54 -05:00
|
|
|
github.com/opentracing-contrib/go-stdlib v1.0.0 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/ory/go-acc v0.2.6 // indirect
|
|
|
|
github.com/ory/go-convenience v0.1.0 // indirect
|
|
|
|
github.com/ory/viper v1.7.5 // indirect
|
|
|
|
github.com/ory/x v0.0.214 // indirect
|
|
|
|
github.com/pborman/uuid v1.2.0 // indirect
|
|
|
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
2023-10-03 10:54:17 -05:00
|
|
|
github.com/perimeterx/marshmallow v1.1.5 // indirect
|
2023-09-14 07:03:41 -05:00
|
|
|
github.com/redis/rueidis v1.0.16 // indirect
|
2023-08-02 11:27:43 -05:00
|
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/rivo/uniseg v0.3.4 // indirect
|
2023-08-31 07:35:09 -05:00
|
|
|
github.com/rogpeppe/go-internal v1.11.0 // indirect
|
2022-04-14 13:54:35 -05:00
|
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
2023-04-18 23:47:15 -05:00
|
|
|
github.com/segmentio/asm v1.2.0 // indirect
|
2022-11-17 14:41:46 -06:00
|
|
|
github.com/shopspring/decimal v1.2.0 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/spf13/afero v1.9.2 // indirect
|
2023-01-10 10:17:07 -06:00
|
|
|
github.com/spf13/cast v1.5.0 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/spf13/pflag v1.0.5 // @grafana-app-platform-squad
|
|
|
|
github.com/stoewer/go-strcase v1.3.0 // indirect
|
2023-05-25 08:38:30 -05:00
|
|
|
github.com/subosito/gotenv v1.4.1 // indirect
|
2022-12-05 11:48:10 -06:00
|
|
|
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8 // indirect
|
|
|
|
github.com/unknwon/com v1.0.1 // indirect
|
|
|
|
github.com/unknwon/log v0.0.0-20150304194804-e617c87089d3 // indirect
|
2023-04-14 09:45:54 -05:00
|
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
2023-04-19 10:05:26 -05:00
|
|
|
github.com/yuin/gopher-lua v1.1.0 // indirect
|
2023-09-11 10:48:23 -05:00
|
|
|
github.com/zclconf/go-cty v1.13.0 // indirect
|
2023-08-02 11:27:43 -05:00
|
|
|
github.com/zeebo/xxh3 v1.0.2 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
go.etcd.io/etcd/api/v3 v3.5.10 // indirect
|
|
|
|
go.etcd.io/etcd/client/pkg/v3 v3.5.10 // indirect
|
|
|
|
go.etcd.io/etcd/client/v3 v3.5.10 // indirect
|
2023-12-04 04:42:09 -06:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
|
2024-01-30 16:50:42 -06:00
|
|
|
go.opentelemetry.io/otel/metric v1.22.0 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
|
2023-10-27 15:39:27 -05:00
|
|
|
go.uber.org/multierr v1.11.0 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
go.uber.org/zap v1.26.0 // indirect
|
2024-01-29 11:44:53 -06:00
|
|
|
golang.org/x/term v0.16.0 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 // indirect
|
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
|
2022-12-05 11:48:10 -06:00
|
|
|
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
|
2023-05-24 11:13:44 -05:00
|
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
2023-10-27 15:39:27 -05:00
|
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
k8s.io/kms v0.29.0 // indirect
|
2023-08-02 11:27:43 -05:00
|
|
|
lukechampine.com/uint128 v1.2.0 // indirect
|
|
|
|
modernc.org/cc/v3 v3.40.0 // indirect
|
|
|
|
modernc.org/ccgo/v3 v3.16.13 // indirect
|
|
|
|
modernc.org/libc v1.22.2 // indirect
|
|
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
|
|
modernc.org/memory v1.5.0 // indirect
|
|
|
|
modernc.org/opt v0.1.3 // indirect
|
2023-10-03 10:54:17 -05:00
|
|
|
modernc.org/sqlite v1.20.4 // indirect
|
2023-08-02 11:27:43 -05:00
|
|
|
modernc.org/strutil v1.1.3 // indirect
|
|
|
|
modernc.org/token v1.1.0 // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
|
2023-05-24 11:13:44 -05:00
|
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // @grafana-app-platform-squad
|
2023-11-01 04:59:15 -05:00
|
|
|
sigs.k8s.io/yaml v1.3.0 // indirect; @grafana-app-platform-squad
|
2022-04-14 13:54:35 -05:00
|
|
|
)
|
|
|
|
|
2021-12-21 06:15:27 -06:00
|
|
|
require (
|
2024-01-08 14:33:42 -06:00
|
|
|
cloud.google.com/go/compute v1.23.3 // indirect
|
|
|
|
cloud.google.com/go/iam v1.1.5 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
filippo.io/age v1.1.1 // @grafana/grafana-authnz-team
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 // indirect
|
2022-12-20 09:20:31 -06:00
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.0 // indirect
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/Masterminds/sprig/v3 v3.2.2 // @grafana/backend-platform
|
2023-05-10 07:09:49 -05:00
|
|
|
github.com/Microsoft/go-winio v0.6.0 // indirect
|
2023-09-12 09:35:35 -05:00
|
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // @grafana/plugins-platform-backend
|
2022-06-22 07:49:26 -05:00
|
|
|
github.com/RoaringBitmap/roaring v0.9.4 // indirect
|
2022-05-09 03:00:09 -05:00
|
|
|
github.com/axiomhq/hyperloglog v0.0.0-20191112132149-a4c4c47bc57f // indirect
|
|
|
|
github.com/bits-and-blooms/bitset v1.2.0 // indirect
|
|
|
|
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
2022-06-22 07:49:26 -05:00
|
|
|
github.com/blevesearch/mmap-go v1.0.4 // indirect
|
2022-05-09 03:00:09 -05:00
|
|
|
github.com/blevesearch/segment v0.9.0 // indirect
|
|
|
|
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
2022-06-22 07:49:26 -05:00
|
|
|
github.com/blevesearch/vellum v1.0.7 // indirect
|
|
|
|
github.com/blugelabs/ice v1.0.0 // indirect
|
2022-05-09 03:00:09 -05:00
|
|
|
github.com/caio/go-tdigest v3.1.0+incompatible // indirect
|
2022-03-14 12:32:11 -05:00
|
|
|
github.com/chromedp/cdproto v0.0.0-20220208224320-6efb837e6bc2 // indirect
|
2023-10-27 15:39:27 -05:00
|
|
|
github.com/coreos/go-semver v0.3.1 // indirect
|
2022-10-28 06:33:37 -05:00
|
|
|
github.com/dgryski/go-metro v0.0.0-20211217172704-adc40b04c140 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/docker/docker v23.0.4+incompatible // @grafana/grafana-delivery
|
2023-08-08 02:44:04 -05:00
|
|
|
github.com/elazarl/goproxy v0.0.0-20230731152917-f99041a5c027 // indirect
|
2022-03-14 12:32:11 -05:00
|
|
|
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
|
2024-01-30 16:50:42 -06:00
|
|
|
github.com/go-logr/logr v1.4.1 // @grafana/grafana-app-platform-squad
|
2022-04-13 02:58:20 -05:00
|
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/hmarr/codeowners v1.1.2 // @grafana/grafana-as-code
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/imdario/mergo v0.3.16 // indirect
|
2024-01-04 16:16:51 -06:00
|
|
|
github.com/klauspost/compress v1.17.3 // indirect
|
2022-04-06 03:19:04 -05:00
|
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
2023-04-20 03:13:00 -05:00
|
|
|
github.com/labstack/echo/v4 v4.10.2 // indirect
|
2023-01-17 04:58:08 -06:00
|
|
|
github.com/labstack/gommon v0.4.0 // indirect
|
2022-05-21 19:44:12 -05:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
2022-05-09 03:00:09 -05:00
|
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
2023-07-14 09:10:46 -05:00
|
|
|
github.com/pierrec/lz4/v4 v4.1.17 // indirect
|
2023-01-17 04:58:08 -06:00
|
|
|
github.com/valyala/fasttemplate v1.2.2 // indirect
|
2023-07-13 12:52:37 -05:00
|
|
|
github.com/wk8/go-ordered-map v1.0.0 // @grafana/backend-platform
|
2023-09-19 04:16:34 -05:00
|
|
|
github.com/xlab/treeprint v1.2.0 // @grafana/observability-traces-and-profiling
|
2023-08-31 07:35:09 -05:00
|
|
|
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
|
2021-12-01 10:05:08 -06:00
|
|
|
)
|
|
|
|
|
2023-11-17 09:42:17 -06:00
|
|
|
require (
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
|
2023-12-14 09:00:48 -06:00
|
|
|
github.com/go-errors/errors v1.4.2 // indirect
|
2024-02-05 06:36:33 -06:00
|
|
|
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
|
2023-11-17 09:42:17 -06:00
|
|
|
github.com/google/gnostic-models v0.6.8 // indirect
|
2023-12-15 11:34:08 -06:00
|
|
|
github.com/grafana/grafana-openapi-client-go v0.0.0-20231213163343-bd475d63fb79 // @grafana/backend-platform
|
2024-01-08 14:33:42 -06:00
|
|
|
github.com/moby/spdystream v0.2.0 // indirect
|
|
|
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
2023-11-17 09:42:17 -06:00
|
|
|
)
|
2023-10-27 15:39:27 -05:00
|
|
|
|
2024-01-25 14:01:09 -06:00
|
|
|
require k8s.io/code-generator v0.29.1 // @grafana/grafana-app-platform-squad
|
|
|
|
|
2024-02-05 12:59:32 -06:00
|
|
|
require (
|
|
|
|
github.com/grafana/sqlds/v3 v3.2.0 // indirect
|
|
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
|
|
github.com/mithrandie/csvq v1.17.10 // indirect
|
|
|
|
github.com/mithrandie/csvq-driver v1.6.8 // indirect
|
|
|
|
github.com/mithrandie/go-file/v2 v2.1.0 // indirect
|
|
|
|
github.com/mithrandie/go-text v1.5.4 // indirect
|
|
|
|
github.com/mithrandie/ternary v1.1.1 // indirect
|
|
|
|
)
|
|
|
|
|
2021-10-08 06:19:04 -05:00
|
|
|
// Use fork of crewjam/saml with fixes for some issues until changes get merged into upstream
|
2023-10-26 02:44:15 -05:00
|
|
|
replace github.com/crewjam/saml => github.com/grafana/saml v0.4.15-0.20231025143828-a6c0e9b86a4c
|
2021-10-08 06:19:04 -05:00
|
|
|
|
2024-01-08 14:33:42 -06:00
|
|
|
// replace github.com/google/cel-go => github.com/google/cel-go v0.16.1
|
|
|
|
|
2022-04-14 13:54:35 -05:00
|
|
|
// Thema's thema CLI requires cobra, which eventually works its way down to go-hclog@v1.0.0.
|
|
|
|
// Upgrading affects backend plugins: https://github.com/grafana/grafana/pull/47653#discussion_r850508593
|
|
|
|
// No harm to Thema because it's only a dependency in its main package.
|
|
|
|
replace github.com/hashicorp/go-hclog => github.com/hashicorp/go-hclog v0.16.1
|
2022-04-22 08:40:27 -05:00
|
|
|
|
2022-06-16 19:24:02 -05:00
|
|
|
// This is a patched v0.8.2 intended to fix session.Find (and others) silently ignoring SQLITE_BUSY errors. This could
|
|
|
|
// happen, for example, during a read when the sqlite db is under heavy write load.
|
|
|
|
// This patch cherry picks compatible fixes from upstream xorm PR#1998 and can be reverted on upgrade to xorm v1.2.0+.
|
2023-09-06 11:27:19 -05:00
|
|
|
// This has also been patched to support the azuresql driver that is a thin wrapper for the mssql driver with azure authentication support.
|
2023-11-06 09:09:49 -06:00
|
|
|
//replace xorm.io/xorm => github.com/grafana/xorm v0.8.3-0.20230627081928-d04aa38aa209
|
|
|
|
replace xorm.io/xorm => ./pkg/util/xorm
|
2022-10-03 08:58:41 -05:00
|
|
|
|
|
|
|
// Use our fork of the upstream alertmanagers.
|
|
|
|
// This is required in order to get notification delivery errors from the receivers API.
|
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.
It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.
The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.
While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 02:33:47 -06:00
|
|
|
replace github.com/prometheus/alertmanager => github.com/grafana/prometheus-alertmanager v0.25.1-0.20240130111410-65bdab09d3ed
|
2022-10-28 06:33:37 -05:00
|
|
|
|
2023-05-25 08:38:30 -05:00
|
|
|
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
|