grafana-loki,promtail: 3.4.3 -> 3.5.0

https://github.com/grafana/loki/releases/tag/v3.5.0

diff: https://github.com/grafana/loki/compare/v3.4.3...v3.5.0

Co-authored-by: emilylange <git@emilylange.de>
This commit is contained in:
R. Ryantm
2025-06-10 16:31:36 +02:00
committed by emilylange
co-authored by emilylange
parent 99c220e406
commit ec55356bd7
2 changed files with 8 additions and 5 deletions
+6 -3
View File
@@ -13,10 +13,13 @@
services.loki = {
enable = true;
# FIXME(globin) revert to original file when upstream fix released
# FIXME: revert to original file when upstream fix released
# https://github.com/grafana/loki/issues/16990
# https://github.com/grafana/loki/issues/17736
# configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
configFile = pkgs.runCommandNoCC "patched-loki-cfg.yml" { } ''
sed '/metric_aggregation/!b;n;/enable/d' "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml" > $out
configFile = pkgs.runCommand "patched-loki-cfg.yml" { } ''
substitute "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml" "$out" \
--replace-fail "enable_multi_variant_queries: true" ""
'';
};
services.promtail = {
+2 -2
View File
@@ -12,14 +12,14 @@
}:
buildGoModule rec {
version = "3.4.3";
version = "3.5.0";
pname = "grafana-loki";
src = fetchFromGitHub {
owner = "grafana";
repo = "loki";
rev = "v${version}";
hash = "sha256-1tI9X2eIKuWEWJBbN4UAw8yeRrjgfqcenJyTNMk5rqU=";
hash = "sha256-XQCEdx6jgV4i6CNQVcu4wrABgiZD7WpS0nM+oF6db9k=";
};
vendorHash = null;