5 Commits

Author SHA1 Message Date
Paulin Todev
d54e0871d4 chore(deps): Update Prometheus in Loki and Promtail (#12245)
This PR updates the Prometheus dependency in Loki and Promtail. The PR is required so that we can also update Grafana Agent to the latest Prometheus. Unfortunately, Promtail and Loki share the same go.mod file.
2024-03-21 11:47:19 +01:00
Jesus Vazquez
db9dbe8e1d Bump prometheus dependency (#6403)
* Bump prometheus dependency

We had to add a replace of prometheus in go mod because thanos is
importing an older version and then replacing it.

* Undo textparser.New variable mismatch

* modtimevfs path update

* Fix labels withlabels and withoutlabels usages

WithoutLabels and WithLabels methods have dissappeared. Now
labels.NewBuilder has to be used.

* Fix RuleManager interface for Update()

Update now accepts a new param called ruleGroupPostProcessFunc which is
an optional function to be executed after rule group processing.

In this case I've set it to nil in the usages i've found.

* NewQueryRange now accepts QueryOpts

The NewQueryRange function now accepts QueryOptions so I had to update
all the calls.

I've set the opts to nil since we're not using them.

* gofmt
2022-06-15 12:16:23 -04:00
Cyril Tovena
8f693e77b0 Update Prometheus to latest (#5545)
* Update Prometheus to latest

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Update promql.QueryTracker

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fixes querier test to use new grafana/regexp

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fixes test with new textparse signature

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* lint

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
2022-03-14 11:37:54 +01:00
Callum Styan
6da518c728 Update to go 1.17; go mod vendor required (#4487)
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2021-10-18 15:14:41 -04:00
Sandeep Sukhani
501f93fa92 revendor cortex to latest master (#2543) 2020-08-24 17:22:31 +05:30