25 Commits

Author SHA1 Message Date
renovate-sh-app[bot]
22b955e83a fix(deps): update module github.com/alecthomas/chroma/v2 to v2.23.1 (main) (#20570)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-01-28 14:23:42 -05:00
renovate-sh-app[bot]
b64daeb656 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.23.0 (main) (#20499)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-01-21 10:17:38 -05:00
renovate-sh-app[bot]
c64f0443b5 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.22.0 (main) (#20409)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-01-13 10:09:58 -05:00
renovate-sh-app[bot]
6ef5f5c86d fix(deps): update module github.com/alecthomas/chroma/v2 to v2.21.1 (main) (#20353)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-01-08 10:08:19 -05:00
renovate[bot]
c8e87ddfe5 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.20.0 (main) (#18710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-04 15:34:13 +00:00
renovate[bot]
b7403287a8 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.19.0 (main) (#18289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-01 01:03:01 +00:00
renovate[bot]
0b8e3d890f fix(deps): update module github.com/alecthomas/chroma/v2 to v2.18.0 (main) (#17754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 22:29:28 +00:00
renovate[bot]
2f9f969a01 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.17.2 (main) (#17528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-30 13:56:49 +00:00
renovate[bot]
6e89c1e7ea fix(deps): update module github.com/alecthomas/chroma/v2 to v2.17.0 (main) (#17373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 10:19:24 +00:00
renovate[bot]
00095c04a2 fix(deps): update module github.com/alecthomas/chroma/v2 to v2.16.0 (main) (#17188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-12 13:30:12 +00:00
renovate[bot]
21066ea467 fix(deps): update module github.com/prometheus/alertmanager to v0.28.0 (#15771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
2025-01-15 11:16:13 -05:00
renovate[bot]
a2d305760f fix(deps): update module github.com/alecthomas/chroma/v2 to v2.15.0 (#15596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 09:48:22 -05:00
renovate[bot]
0a199bde1f fix(deps): update module github.com/alecthomas/chroma to v2 (#15010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
2024-11-19 13:57:12 -05:00
renovate[bot]
37d0bb8935 fix(deps): update module gopkg.in/alecthomas/kingpin.v2 to v2.4.0 (#14970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
2024-11-18 18:45:45 -05:00
Michel Hollands
7b7d3d4cd2 feat: add lokitool (#12166)
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
2024-04-18 14:08:56 +01:00
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
Arve Knudsen
d87dbf9f8a Chore: Upgrade to latest Cortex (#5085)
* Chore: Upgrade to latest Cortex

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: Upgrade to Prometheus@692a54649ed7

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix build after upgrading dskit

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add changelog entry

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2022-01-10 13:57:42 +02:00
Marco Pracucci
c53457feb9 Upgrade Cortex, Prometheus and Thanos (#4830)
* Upgrade Cortex, Prometheus and Thanos

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fixed imported ordering

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fixed data type used for series ref when recovering from checkpoint/WAL

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Upgraded Thanos to fix arm build

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Run go mod tidy

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2021-11-26 12:30:35 +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
Mauro Stettler
4b59556342 Update cortex to newer version (#4478)
* update cortex and thanos to newer version

* pin k8s.io/apimachinery

* fixes for newer libs

* add missing method to mock wal data collector

* fixing test by using different gokit level pkg

* make check-mod
2021-10-14 21:40:58 +02:00
Owen Diehl
306cc72438 Revendor/cortex (#3446)
* Upgrade Cortex in Loki

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* proto compat

* gofmt

* changelog for deprecated querier.split-queries-by-day

Co-authored-by: Marco Pracucci <marco@pracucci.com>
2021-03-10 07:58:13 -05:00
Jacob Lisi
c3d1937eab update vendored cortex and add new replace overrides (#3256)
* update vendored cortex and add new replace overrides

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update upstream function to new package

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update all moved functions

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update math to util_math

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
2021-01-29 07:42:21 -05:00
Peter Štibraný
d4cae667ae loki: use new runtimeconfig package from Cortex (#1484)
* loki: use new runtimeconfig package from Cortex

runtimeconfig is a generalization of previous "overrides" mechanism,
and can be used not for per-tenant limits, but other parts of Loki
too (only one additional usage for now is "multi" KV client).

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* go mod tidy, go mod vendor

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Removed RuntimeConfig from Ingester dependencies.

Ingester already depends on RuntimeConfig via Store and Overrides mechanism.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Removed extra new line.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Remove unused method.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Fix broken code after rebasing.
Removed incorrect comment.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Updated docs with section about runtime configuration. Mostly copied from Cortex.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* go mod tidy, go mod vendor

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Updated Cortex to current master.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Go mod tidy, vendor

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
2020-01-24 08:14:43 -05:00
Joe Elliott
fc6c5c063f dep => go mod (#1062)
* go mod files added.  dep removed

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Magically got prometheus version to stick

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Cortex updated and prometheus updated

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated prometheus dependency

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added additional deps

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added two replaces from Gopkg.toml.  Tests passing

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added deps

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated build image to 1.12

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated golangci-lint to use vendored dependencies

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added check-mod makefile step and referenced in drone and circle ci configs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated loki-build-image to 1.12

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Fixed linting error.  Force go111module on for linting

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod vendor

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Forced the inclusion of modtimevfs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pin client-go due to issue with v12 go.mod

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added check-mod to drone

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Re-readded correct golang client

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pinned golang/x/net to avoid proxy errors

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Removed check-mod from all.  Not necessary for tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated go.sum to match new pin

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Upgraded proto to match build image

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Force check-mod to wait til after test and lint are successful

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod vendor to go builds to force usage of vendored dependencies

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Turn on gomodules on all builds

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Revert "Added mod vendor to go builds to force usage of vendored dependencies"

This reverts commit 65865a24c9a23133e0fa52942f2828ead7c22147.

* Moved builds out of the gopath to enforce vendor usage

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Revert "Turn on gomodules on all builds"

This reverts commit b5847f0158e928e935e0b3c1b1d4eaba840ca3dc.

* Explicitly choose build image for docker driver

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated golang.org/x/sys to match prometheus's version to fix promtail windows compilation

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added fluentbit dependency

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added dependency management clause

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated go version in contributing

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added phony makefile targets

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Circle CI is increasingly failing linting

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Force vendored deps on builds

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added logcli to gitignore

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Reduced concurrency to help CircleCI

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved drone builds out of GOPATH to force use of go module

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod vendor to prevent go clean from redownloading all packages

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added to test as well

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod-vendor to final go commands

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved fluent-bit out of GO_PATH to force go modules

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pass mod vendor to the last holdout:  go generate

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated ugorji/go to 1.17 to avoid version regression

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy and go mod vendor for ugorji/go

Signed-off-by: Joe Elliott <number101010@gmail.com>
2019-09-30 08:37:27 -04:00
Tom Wilkie
0a6c4e99ab Add kingpin.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2018-06-24 19:24:14 +05:30