Chore: Remove prometheus replace directive (#98966)

* remove replace directive

* have an adapter

* go mod tidy

* make update-workspace

* make update-workspace
This commit is contained in:
ismail simsek
2025-01-15 14:04:14 +01:00
committed by GitHub
parent ea6cb8f139
commit 79fc26ea87
11 changed files with 131 additions and 17 deletions
-5
View File
@@ -7,11 +7,6 @@ go 1.23.1
// github.com/docker/docker@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
replace github.com/docker/docker => github.com/moby/moby v26.0.0+incompatible
// 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.52.0
require (
cloud.google.com/go/storage v1.43.0 // @grafana/grafana-backend-group
github.com/Masterminds/semver/v3 v3.3.0 // @grafana/grafana-developer-enablement-squad