diff --git a/_service b/_service
index 9f6124a..8598096 100644
--- a/_service
+++ b/_service
@@ -1,19 +1,23 @@
-
+
https://github.com/grafana/loki.git
git
.git
- loki
- @PARENT_TAG@+git.%ct.%h
- v2.8.11
+
+ @PARENT_TAG@
+ v3.5.3
v(.*)
+ disable
enable
-
+
+
+
+
+
loki*.tar
xz
-
- loki
-
diff --git a/_servicedata b/_servicedata
index b47cee9..cb2e6d1 100644
--- a/_servicedata
+++ b/_servicedata
@@ -3,4 +3,4 @@
git://github.com/grafana/loki.git
525040a3265715ca8cfb52cd39108ccfac9f8af6
https://github.com/grafana/loki.git
- aa89d817a7c5f253ab5641f5af3100300bc06897
\ No newline at end of file
+ af52a690ce73867bbf9cecbf2d279c578aa99d2d
\ No newline at end of file
diff --git a/harden_promtail.service.patch b/harden_promtail.service.patch
deleted file mode 100644
index 9963fe1..0000000
--- a/harden_promtail.service.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Index: loki-2.5.0+git.1649366683.2d9d0ee23/docs/sources/clients/aws/ec2/promtail.service
-===================================================================
---- loki-2.5.0+git.1649366683.2d9d0ee23.orig/docs/sources/clients/aws/ec2/promtail.service
-+++ loki-2.5.0+git.1649366683.2d9d0ee23/docs/sources/clients/aws/ec2/promtail.service
-@@ -1,6 +1,18 @@
- [Unit]
- Description=Promtail
- [Service]
-+# added automatically, for details please see
-+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
-+ProtectSystem=full
-+ProtectHome=true
-+PrivateDevices=true
-+ProtectHostname=true
-+ProtectClock=true
-+ProtectKernelTunables=true
-+ProtectKernelModules=true
-+ProtectControlGroups=true
-+RestrictRealtime=true
-+# end of automatic additions
- User=root
- WorkingDirectory=/opt/promtail/
- ExecStartPre=/bin/sleep 30
diff --git a/loki-2.8.11+git.1711098663.aa89d817.tar.xz b/loki-2.8.11+git.1711098663.aa89d817.tar.xz
deleted file mode 100644
index dcdbb0c..0000000
--- a/loki-2.8.11+git.1711098663.aa89d817.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0f83f881a668d07b758ed01bf15b1dc934ba4788d4781deb64441adcce1589ea
-size 28488640
diff --git a/loki-3.5.3.obscpio b/loki-3.5.3.obscpio
new file mode 100644
index 0000000..3c6db9f
--- /dev/null
+++ b/loki-3.5.3.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f496c201b6c8e821c473ae7522c278ee30aa8793e1570ab5e3295d0eeba80538
+size 509494286
diff --git a/loki.changes b/loki.changes
index 4b4ef2f..8417816 100644
--- a/loki.changes
+++ b/loki.changes
@@ -1,3 +1,1848 @@
+-------------------------------------------------------------------
+Wed Jul 23 09:42:01 UTC 2025 - Marcus Rueckert
+
+- Update to version 3.5.3:
+ * docs: add lokitool download link (backport release-3.5.x) (#18477)
+ * docs: Update v3-5.md (backport release-3.5.x) (#18446)
+ * docs: Update RN for 3.4.5 (backport release-3.5.x) (#18431)
+ * docs: Update RN for 3.5.2 (backport release-3.5.x) (#18432)
+ * chore(release-3.5.x): release 3.5.2 (#17801)
+ * fix(deps): Move to Go 1.24.5 (#18412)
+ * fix: Handle WAL corruption properly on startup (backport release-3.5.x) (#18408)
+
+-------------------------------------------------------------------
+Fri Jul 11 13:09:51 UTC 2025 - Marcus Rueckert
+
+- Update to version 3.5.2:
+ * docs: backport 18396 to 3.5 branch (#18404)
+ * docs: backport 18387 to 3.5 branch (#18402)
+ * docs: fix typo (backport release-3.5.x) (#18301)
+ * fix(frontend): allow resolution of v6 addresses. (backport release-3.5.x) (#18261)
+ * fix(memberlist): allow resolution of advertise address from v6 interf… (backport release-3.5.x) (#18257)
+ * docs: Add link to Grafana OTEL docs (backport release-3.5.x) (#18224)
+ * docs: backport storage fix 3.5 (#18220)
+ * docs: add redirect to fix broken links (backport release-3.5.x) (#18180)
+ * docs: Add GCP to links, 3.5 branch (#18169)
+ * docs: update Promtail topic (backport release-3.5.x) (#18154)
+ * docs: add redirect to LogCLI topic (backport release-3.5.x) (#18150)
+ * docs: Add topic for editing default OTEL labels (backport release-3.5.x) (#18147)
+ * docs: remove note and add link to deployment guides (backport release-3.5.x) (#18134)
+ * docs: add Vale spelling exception to upgrade topic (backport release-3.5.x) (#18119)
+ * docs: update config option name (backport release-3.5.x) (#18071)
+ * docs: fix missing link in topic (backport release-3.5.x) (#18069)
+ * fix(jsonparser): Fix possible JSON log line corruption caused by `json` parser on query path (backport release-3.5.x) (#18059)
+ * docs: First draft of Helm GCP guide (backport release-3.5.x) (#18049)
+ * docs: manual backport RN 3.5 branch (#18045)
+ * docs: Update Release Notes 3.4.4 (#18042) (#18044)
+ * docs: backport shortcode addition to 3.5 branch (#18028)
+ * docs: manual backport 17007 (#18021)
+ * fix(ci): Update release code 3.5 (#18014)
+ * docs: backport 17060 to 3.5 branch (#17977)
+ * docs: Add links to learning journeys (backport release-3.5.x) (#17961)
+ * chore(deps): update module golang.org/x/net to v0.38.0 [security] (release-3.5.x) (#17419)
+ * chore(deps): update module github.com/containerd/containerd/v2 to v2.0.5 [security] (release-3.5.x) (#17796)
+ * fix(deps): Move to Go 1.24.2 (backport release-3.5.x) (#17805)
+ * ci: bump release pipeline to fix permissions (backport release-3.5.x) (#17803)
+ * docs: fix broken links in quickstart (backport release-3.5.x) (#17798)
+ * chore(release-3.5.x): release 3.5.1 (#17417)
+
+-------------------------------------------------------------------
+Thu May 22 22:46:22 UTC 2025 - Marcus Rueckert
+
+- Update to version 3.5.1:
+ * fix(build): Bump loki-build-image for docker-driver (backport release-3.5.x) (#17741)
+ * chore(backport): fix guard clauses to prevent error spam in logs (#17715)
+ * chore(deps): update dependency vite to v6.2.7 [security] (release-3.5.x) (#17418)
+ * docs: manual backport 17548 (#17587)
+ * chore(ci): Pull in latest loki-release code for Loki 3.5 (#17586)
+ * chore(docs): Update cache docs (backport release-3.5.x) (#17566)
+ * docs: fix typos (#17534) (#17535)
+ * docs: Getting started rewrite (backport release-3.5.x) (#17559)
+ * chore(ci): Pull in latest main for .github directory in release 3.5 (#17543)
+ * docs: Created migration guide from SSD -> Distributed (backport release-3.5.x) (#17513)
+ * docs: correct spelling of lambda-promtail (backport release-3.5.x) (#17467)
+ * docs: Update attribute name (backport release-3.5.x) (#17466)
+ * docs(logcli): update command reference (backport release-3.5.x) (#17465)
+ * docs: Document the default value for the working_directory for compactor (backport release-3.5.x) (#17464)
+ * feat: prepare Loki 3.5 release
+ * chore(k248): release 3.5.0 (#16954)
+ * docs: Loki 3.5 Release Notes (backport k248) (#17392)
+
+-------------------------------------------------------------------
+Fri Apr 25 06:08:21 UTC 2025 - Johannes Kastl
+
+- Update to version 3.5.0:
+ * BREAKING CHANGES
+ - operator: Add configuration option for dropping OTLP
+ attributes (#15857)
+ - ksonnet: clean-up deprecated configs (#16007)
+ * Features
+ - Account for policy when reporting seen resource and metadata
+ labels (#16189) (9a356a1)
+ - add a config option for custom GCS endpoints (#16419)
+ (f1ebd97)
+ - add dry-run mode for checking limits in distributors (#16754)
+ (d6c499b)
+ - add limits package (#16489) (127b609)
+ - add limits/frontend pkg (#16658) (0cbaa46)
+ - Add PartitionManager and move this out of ingest_limits.go
+ (#16602) (8a0cc0f)
+ - add S3 chunk delimiter config to support MinIO running on
+ Windows (#16319) (8429b0f)
+ - Add support for blocking a policy to be ingested (#16203)
+ (69089ef)
+ - add support for using sqlite for storing delete requests
+ (#16437) (5b33e65)
+ - Assert for bad max_query_lookback config (#16362) (073c94c)
+ - dataob: Implement SelectSamples (#16251) (13a6c33)
+ - dataobj-explorer: Add stream distribution info to dataobj
+ explorer UI (#16525) (4befd22)
+ - dataobj-querier: Fixes streams section sharding &
+ instrumentation (#16349) (543ad8e)
+ - dataobj/querier: Add logging and improve stream processing
+ metrics (#16325) (49bcaf4)
+ - dataobj: Add methods for querying data objects metadata
+ (#16190) (4bc95c0)
+ - dataobj: cardinality estimation (#16233) (66889ec)
+ - dataobj: Ensure constant sharding for the dataobj querier
+ (#16273) (78a141c)
+ - dataobj: expose cardinality estimations in UI (#16376)
+ (7d9414d)
+ - dataobj: Implement SelectLogs using a topk min-heap (#16261)
+ (8f69f0d)
+ - dataobj: tenant partition consumer (#16065) (4399775)
+ - Distributed Operational UI (#16097) (dbf2bef)
+ - distributor: Add simulated latency (#16733) (7119f6e)
+ - Do not enforce labels vs agg metric stream (#16696) (25c0620)
+ - enforce limits in distributors (#16705) (bc2111e)
+ - helm global values updates (#16062) (e5f31b3)
+ - Helm: Add extraContainers to backend pods (#16205) (528a1c6),
+ closes #16164
+ - helm: Add tpl() support back to read, write and backend pods
+ (#16664) (af05c38)
+ - helm: Allow provisioner to be namespaced (#16091) (af85ecf)
+ - helm: Optionally add the operational UI (#16317) (197265b)
+ - ingest-limits: Implement global tenant rate limiting (#16727)
+ (3a3df62)
+ - Introduce policy to received_bytes (#16056) (affedaf)
+ - Introduce policy stream mapping (#15982) (5c8e832)
+ - kafka: tenant topics (#15977) (c258419)
+ - ksonnet: Add no_schedule_constraints option to distributors
+ (#16029) (9e9a09d)
+ - lambda-promtail: Improve relabel configuration parsing and
+ testing (#16100) (2587f34)
+ - logical planning: Planner playground (#16403) (89f0ed7)
+ - logql: Add LogQL Benchmark Suite (#16434) (1b57297)
+ - metastore: Add initial interface for Metastore (#16604)
+ (475d25f)
+ - metastore: Implement Labels() and Values() on ObjectMetastore
+ (#16734) (a57a80e)
+ - metastore: Implement listing data object for a given tenant
+ and timerange (#16180) (fa790e1)
+ - operator: Add configuration option for dropping OTLP
+ attributes (#15857) (bd1ea23)
+ - operator: Add support for Swift TLS CA configuration (#15260)
+ (62a72f6)
+ - operator: Enable time-based stream-sharding (#16390)
+ (1b4f1f5)
+ - operator: Update Loki operand to v3.4.2 (#16360) (42f87d3)
+ - policies: Add PoliciesStreamMapping to loghttp limits
+ interface (#16105) (c2e1e88)
+ - policies: Log when multiple policies match the same stream
+ (#16321) (0be39a0)
+ - policies: Per policy enforced labels (#16182) (5fda84b)
+ - policies: Support global policy (#16439) (837b70a)
+ - Snapshopt stream overrides values on each request (#16523)
+ (ea13730)
+ - ui: Makes UI reverse proxy friendly. (#16364) (4ab0efd)
+ - update log level discovery from json to detect nested fields
+ (#16026) (86dc47b)
+ - use stream labels instead of hash in rate limit reasons
+ (#16738) (fdf8632)
+ - when using sqlite for storing delete requests, use the stored
+ completion time to reduce the requests considered for
+ querytime filtering (#16600) (3277321)
+ - wire up ingest-limits service (#16660) (18d143b)
+ * Performance Improvements
+ - dataobj: improve parallelized read spead of Zstd (#16632)
+ (abf3772)
+ - Improve push.RetentionPeriodToString() efficiency (#16252)
+ (6e6658f)
+ - Optimization pass for reading from dataobjs (#16747)
+ (979f761)
+ * Miscellaneous Chores
+ - ksonnet: clean-up deprecated configs (#16007) (76183fa)
+ * Bug Fixes
+ - Adjust with offset in last, first and quantile over time
+ queries. (#15915) (83339cb)
+ - approx_topk: Map approx_topk operation in all cases (#16131)
+ (6d691ac)
+ - blooms: Initialize bloom gateway client only once (#15994)
+ (e271e22)
+ - change object_store.prefix to object_store.storage_prefix in
+ helm (#16266) (b5ad4f0)
+ - ci: do not disable CGO in Makefile (#16271) (810dff9)
+ - ci: Pass image tag details to logcli docker build (#16159)
+ (f22527f)
+ - ci: Provide correct build info for release builds (#15939)
+ (625bdab)
+ - dataobj: Fix shutdown race in dataobj consumer (#16157)
+ (656b1fa)
+ - dataobj: Fixes timerange matching for dataobj files (#16222)
+ (5aa9e47)
+ - dataobj: Fixes timerange predicate (#16245) (5195296)
+ - deps: update dependency @hookform/resolvers to v4.1.3 (main)
+ (#16524) (2869e92)
+ - deps: update dependency @radix-ui/react-checkbox to v1.1.4
+ (main) (#16297) (85a6e88)
+ - deps: update dependency @radix-ui/react-collapsible to v1.1.3
+ (main) (#16298) (4a1225e)
+ - deps: update dependency @radix-ui/react-dialog to v1.1.6
+ (main) (#16301) (548c8c2)
+ - deps: update dependency @radix-ui/react-dropdown-menu to
+ v2.1.6 (main) (#16303) (5fedc3c)
+ - deps: update dependency @radix-ui/react-hover-card to v1.1.6
+ (main) (#16304) (f11fd12)
+ - deps: update dependency @radix-ui/react-label to v2.1.2
+ (main) (#16305) (13bfb12)
+ - deps: update dependency @radix-ui/react-popover to v1.1.6
+ (main) (#16306) (abb3a94)
+ - deps: update dependency @radix-ui/react-progress to v1.1.2
+ (main) (#16307) (18210e9)
+ - deps: update dependency @radix-ui/react-scroll-area to v1.2.3
+ (main) (#16308) (9136ba3)
+ - deps: update dependency @radix-ui/react-select to v2.1.6
+ (main) (#16310) (1115a77)
+ - deps: update dependency @radix-ui/react-separator to v1.1.2
+ (main) (#16311) (aee6e88)
+ - deps: update dependency @radix-ui/react-slot to v1.1.2 (main)
+ (#16313) (9b5f33c)
+ - deps: update dependency @radix-ui/react-switch to v1.1.3
+ (main) (#16314) (7fa049e)
+ - deps: update dependency @radix-ui/react-tabs to v1.1.3 (main)
+ (#16316) (96b4e8f)
+ - deps: update dependency @radix-ui/react-toast to v1.2.6
+ (main) (#16320) (9b47b19)
+ - deps: update dependency @radix-ui/react-toggle to v1.1.2
+ (main) (#16323) (8fd8697)
+ - deps: update dependency @radix-ui/react-toggle-group to
+ v1.1.2 (main) (#16326) (677faad)
+ - deps: update dependency @radix-ui/react-tooltip to v1.1.8
+ (main) (#16327) (c084144)
+ - deps: update dependency @tanstack/react-query to v5.66.5
+ (main) (#16328) (dbf0161)
+ - deps: update dependency @tanstack/react-query to v5.66.6
+ (main) (#16341) (24137bf)
+ - deps: update dependency @tanstack/react-query to v5.66.7
+ (main) (#16352) (877243c)
+ - deps: update dependency @tanstack/react-query to v5.66.9
+ (main) (#16421) (d8f0c06)
+ - deps: update dependency @tanstack/react-query to v5.67.1
+ (main) (#16561) (8641a02)
+ - deps: update dependency @tanstack/react-query to v5.67.2
+ (main) (#16621) (15c498c)
+ - deps: update dependency @tanstack/react-query to v5.67.3
+ (main) (#16685) (2935a74)
+ - deps: update dependency @tanstack/react-query to v5.68.0
+ (main) (#16757) (58840c5)
+ - deps: update dependency @tanstack/react-query to v5.69.0
+ (main) (#16808) (4161c76)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.66.5 (main) (#16331) (dbb1716)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.66.6 (main) (#16343) (2d707d9)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.66.7 (main) (#16353) (412f733)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.66.9 (main) (#16423) (48e00b5)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.67.1 (main) (#16563) (0f1dce8)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.67.2 (main) (#16622) (7276ae2)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.67.3 (main) (#16686) (029abea)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.68.0 (main) (#16756) (02a6800)
+ - deps: update dependency @tanstack/react-query-devtools to
+ v5.69.0 (main) (#16810) (6109de3)
+ - deps: update dependency @types/lodash to v4.17.16 (main)
+ (#16516) (7c9b44a)
+ - deps: update dependency @types/react-datepicker to v7 (main)
+ (#16480) (1796269)
+ - deps: update dependency cmdk to v1.1.1 (main) (#16766)
+ (06553d8)
+ - deps: update dependency date-fns to v4 (main) (#16481)
+ (5b7f1f0)
+ - deps: update dependency lucide-react to ^0.475.0 (main)
+ (#16344) (2f57d60)
+ - deps: update dependency lucide-react to ^0.476.0 (main)
+ (#16455) (32fd332)
+ - deps: update dependency lucide-react to ^0.477.0 (main)
+ (#16509) (f84f0c7)
+ - deps: update dependency lucide-react to ^0.478.0 (main)
+ (#16623) (31d8648)
+ - deps: update dependency lucide-react to ^0.479.0 (main)
+ (#16630) (1e1e7a9)
+ - deps: update dependency lucide-react to ^0.481.0 (main)
+ (#16765) (a354eee)
+ - deps: update dependency lucide-react to ^0.482.0 (main)
+ (#16767) (901320c)
+ - deps: update dependency lucide-react to ^0.483.0 (main)
+ (#16811) (de6f0e9)
+ - deps: update dependency next-themes to v0.4.5 (main) (#16655)
+ (2507888)
+ - deps: update dependency next-themes to v0.4.6 (main) (#16697)
+ (c515a4e)
+ - deps: update dependency react to v19 (main) (#16000)
+ (1b35cb6)
+ - deps: update dependency react-code-block to v1.1.3 (main)
+ (#16428) (9691e94)
+ - deps: update dependency react-datepicker to v8.1.0 (main)
+ (#16346) (4a674b2)
+ - deps: update dependency react-datepicker to v8.2.0 (main)
+ (#16662) (7a70860)
+ - deps: update dependency react-datepicker to v8.2.1 (main)
+ (#16749) (20eeecb)
+ - deps: update dependency react-icons to v5.5.0 (main) (#16456)
+ (bce5f55)
+ - deps: update dependency react-router-dom to v6.29.0 (main)
+ (#16347) (14ce844)
+ - deps: update dependency react-router-dom to v7 (main)
+ (#16515) (976cbbb)
+ - deps: update dependency react-router-dom to v7.1.4 (main)
+ (#16018) (f163e44)
+ - deps: update dependency react-router-dom to v7.1.5 (main)
+ (#16046) (45a0c59)
+ - deps: update dependency react-router-dom to v7.3.0 (main)
+ (#16615) (23acfcb)
+ - deps: update dependency tailwind-merge to v3 (main) (#16518)
+ (c8f9474)
+ - deps: update dependency zod to v3.24.2 (main) (#16333)
+ (ec5bef4)
+ - deps: update github.com/prometheus/prometheus (main) (#15950)
+ (b37eefe)
+ - deps: update module cloud.google.com/go/pubsub to v1.46.0
+ (main) (#16019) (998da11)
+ - deps: update module cloud.google.com/go/pubsub to v1.47.0
+ (main) (#16047) (8f9f92f)
+ - deps: update module cloud.google.com/go/pubsub to v1.48.0
+ (main) (#16724) (b07bb72)
+ - deps: update module cloud.google.com/go/storage to v1.51.0
+ (main) (#16720) (b4abbf4)
+ - deps: update module github.com/aws/aws-sdk-go-v2 to v1.36.1
+ (main) (#16024) (542cff4)
+ - deps: update module github.com/aws/aws-sdk-go-v2 to v1.36.2
+ (main) (#16430) (ba9afd6)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.3 (main) (#16022) (03f18ac)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.4 (main) (#16042) (0bf0253)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.5 (main) (#16093) (c4e916d)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.6 (main) (#16123) (d28e627)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.7 (main) (#16431) (ca41297)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.8 (main) (#16503) (364e80e)
+ - deps: update module github.com/aws/aws-sdk-go-v2/config to
+ v1.29.9 (main) (#16542) (2cb3b3a)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.75.0 (main) (#16003) (e3d1054)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.75.1 (main) (#16023) (d2b7d82)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.75.2 (main) (#16043) (01358cf)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.75.3 (main) (#16094) (1d6c0eb)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.75.4 (main) (#16124) (0c44e76)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.76.0 (main) (#16140) (f70984c)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.76.1 (main) (#16173) (a93a3ab)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.77.0 (main) (#16356) (879168b)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.77.1 (main) (#16433) (92bdb9d)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.78.0 (main) (#16513) (b7b5c76)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.78.1 (main) (#16548) (81aab19)
+ - deps: update module github.com/aws/aws-sdk-go-v2/service/s3
+ to v1.78.2 (main) (#16694) (9a99859)
+ - deps: update module github.com/axiomhq/hyperloglog to v0.2.5
+ (main) (#16504) (dcda340)
+ - deps: update module github.com/azure/go-autorest/autorest to
+ v0.11.30 (main) (#15987) (543b7f3)
+ - deps: update module github.com/baidubce/bce-sdk-go to
+ v0.9.216 (main) (#16177) (9690cad)
+ - deps: update module github.com/baidubce/bce-sdk-go to
+ v0.9.217 (main) (#16276) (b262a2b)
+ - deps: update module github.com/baidubce/bce-sdk-go to
+ v0.9.219 (main) (#16612) (ade0de6)
+ - deps: update module github.com/baidubce/bce-sdk-go to
+ v0.9.221 (main) (#16760) (e0e7133)
+ - deps: update module github.com/bmatcuk/doublestar/v4 to
+ v4.8.1 (main) (#15973) (a8bd3a8)
+ - deps: update module github.com/charmbracelet/bubbletea to
+ v1.3.4 (main) (#16730) (2f99d84)
+ - deps: update module github.com/charmbracelet/lipgloss to
+ v1.1.0 (main) (#16742) (53ae070)
+ - deps: update module github.com/datadog/sketches-go to v1.4.7
+ (main) (#16436) (1907238)
+ - deps: update module github.com/docker/docker to v28 (main)
+ (#16520) (722ce05)
+ - deps: update module github.com/fsouza/fake-gcs-server to
+ v1.52.2 (main) (#16334) (20b9bd2)
+ - deps: update module github.com/golang/snappy to v1 (main)
+ (#16620) (2306f0b)
+ - deps: update module github.com/google/go-cmp to v0.7.0 (main)
+ (#16457) (4f7fd29)
+ - deps: update module github.com/grafana/loki/v3 to v3.4.0
+ (main) (#16217) (750fe66)
+ - deps: update module github.com/grafana/loki/v3 to v3.4.1
+ (main) (#16265) (cc49ebc)
+ - deps: update module github.com/grafana/loki/v3 to v3.4.2
+ (main) (#16335) (977fd54)
+ - deps: update module
+ github.com/grpc-ecosystem/go-grpc-middleware/v2 to v2.3.0
+ (main) (#16357) (5fe1fa7)
+ - deps: update module
+ github.com/grpc-ecosystem/go-grpc-middleware/v2 to v2.3.1
+ (main) (#16613) (9d8a310)
+ - deps: update module github.com/hashicorp/consul/api to
+ v1.31.1 (main) (#16230) (70d3863)
+ - deps: update module github.com/hashicorp/consul/api to
+ v1.31.2 (main) (#16361) (2f4f16d)
+ - deps: update module github.com/heroku/x to v0.4.3 (main)
+ (#16204) (12e436a)
+ - deps: update module github.com/ibm/go-sdk-core/v5 to v5.19.0
+ (main) (#16647) (16e87a6)
+ - deps: update module github.com/ibm/ibm-cos-sdk-go to v1.12.2
+ (main) (#16728) (22cdf61)
+ - deps: update module github.com/ibm/sarama to v1.45.1 (main)
+ (#16522) (bc9bbb8)
+ - deps: update module github.com/influxdata/telegraf to v1.33.2
+ (main) (#16179) (022b45c)
+ - deps: update module github.com/influxdata/telegraf to v1.33.3
+ (main) (#16444) (01c9117)
+ - deps: update module github.com/influxdata/telegraf to v1.34.0
+ (main) (#16669) (5d0e6fb)
+ - deps: update module github.com/klauspost/compress to v1.18.0
+ (main) (#16458) (6c0f67d)
+ - deps: update module github.com/minio/minio-go/v7 to v7.0.85
+ (main) (#16152) (be047cb)
+ - deps: update module github.com/minio/minio-go/v7 to v7.0.87
+ (main) (#16442) (c92e339)
+ - deps: update module github.com/minio/minio-go/v7 to v7.0.88
+ (main) (#16657) (bf99989)
+ - deps: update module github.com/parquet-go/parquet-go to
+ v0.25.0 (main) (#16459) (4d65435)
+ - deps: update module github.com/prometheus/alertmanager to
+ v0.28.1 (main) (#16634) (57c14ac)
+ - deps: update module github.com/prometheus/client_golang to
+ v1.21.0 (main) (#16446) (c128aa8)
+ - deps: update module github.com/prometheus/client_golang to
+ v1.21.1 (main) (#16552) (0a697f9)
+ - deps: update module github.com/prometheus/prometheus to
+ v0.302.1 (main) (#16475) (9fe8b57)
+ - deps: update module github.com/prometheus/prometheus to v2
+ (main) (#16004) (dc01eb9)
+ - deps: update module github.com/prometheus/sigv4 to v0.1.2
+ (main) (#16447) (946497e)
+ - deps: update module github.com/redis/go-redis/v9 to v9.7.1
+ (main) (#16448) (2cc1873)
+ - deps: update module github.com/shirou/gopsutil/v4 to v4.25.1
+ (main) (#16049) (319bb0f)
+ - deps: update module github.com/shirou/gopsutil/v4 to v4.25.2
+ (main) (#16517) (fcf1518)
+ - deps: update module github.com/spf13/afero to v1.14.0 (main)
+ (#16769) (342fd40)
+ - deps: update module github.com/tjhop/slog-gokit to v0.1.4
+ (main) (#16505) (c409a66)
+ - deps: update module go.etcd.io/bbolt to v1.4.0 (main)
+ (#16107) (78becba)
+ - deps: update module go.opentelemetry.io/collector/pdata to
+ v1.25.0 (main) (#16076) (2ec948c)
+ - deps: update module go.opentelemetry.io/collector/pdata to
+ v1.26.0 (main) (#16359) (043617e)
+ - deps: update module go.opentelemetry.io/collector/pdata to
+ v1.27.0 (main) (#16564) (2b99806)
+ - deps: update module go.opentelemetry.io/collector/pdata to
+ v1.28.0 (main) (#16797) (65f90c7)
+ - deps: update module go.opentelemetry.io/otel to v1.35.0
+ (main) (#16580) (ec2c9dc)
+ - deps: update module go.opentelemetry.io/otel/trace to v1.35.0
+ (main) (#16581) (378af0c)
+ - deps: update module golang.org/x/crypto to v0.33.0 (main)
+ (#16149) (0c20717)
+ - deps: update module golang.org/x/crypto to v0.35.0 (main)
+ (#16452) (41c1cfc)
+ - deps: update module golang.org/x/crypto to v0.36.0 (main)
+ (#16575) (e9f2ee1)
+ - deps: update module golang.org/x/net to v0.35.0 (main)
+ (#16167) (f084f02)
+ - deps: update module golang.org/x/net to v0.36.0 (main)
+ (#16567) (c84d7e9)
+ - deps: update module golang.org/x/net to v0.37.0 (main)
+ (#16582) (133c884)
+ - deps: update module golang.org/x/oauth2 to v0.26.0 (main)
+ (#16085) (9ddc756)
+ - deps: update module golang.org/x/oauth2 to v0.27.0 (main)
+ (#16453) (b731680)
+ - deps: update module golang.org/x/oauth2 to v0.28.0 (main)
+ (#16568) (f86c43c)
+ - deps: update module golang.org/x/sync to v0.11.0 (main)
+ (#16086) (536dbc6)
+ - deps: update module golang.org/x/sync to v0.12.0 (main)
+ (#16569) (9052cc2)
+ - deps: update module golang.org/x/sys to v0.30.0 (main)
+ (#16087) (6d49d91)
+ - deps: update module golang.org/x/sys to v0.31.0 (main)
+ (#16570) (173e75c)
+ - deps: update module golang.org/x/text to v0.22.0 (main)
+ (#16090) (8c2406e)
+ - deps: update module golang.org/x/text to v0.23.0 (main) -
+ abandoned (#16576) (97981a5)
+ - deps: update module golang.org/x/time to v0.10.0 (main)
+ (#16089) (fe17cc0)
+ - deps: update module golang.org/x/time to v0.11.0 (main)
+ (#16571) (a38bba9)
+ - deps: update module google.golang.org/api to v0.219.0 (main)
+ (#15991) (d2e6d99)
+ - deps: update module google.golang.org/api to v0.220.0 (main)
+ (#16115) (0528e40)
+ - deps: update module google.golang.org/api to v0.221.0 (main)
+ (#16234) (a66faf5)
+ - deps: update module google.golang.org/api to v0.223.0 (main)
+ (#16460) (861affe)
+ - deps: update module google.golang.org/api to v0.224.0 (main)
+ (#16614) (7dfe4a5)
+ - deps: update module google.golang.org/api to v0.225.0 (main)
+ (#16690) (b243d42)
+ - deps: update module google.golang.org/api to v0.226.0 (main)
+ (#16752) (745bf67)
+ - deps: update module google.golang.org/grpc to v1.71.0 (main)
+ (#16578) (f989bd0)
+ - deps: update module google.golang.org/protobuf to v1.36.5
+ (main) (#16130) (b1c1c5a)
+ - deps: update module k8s.io/apimachinery to v0.32.2 (main)
+ (#16267) (abcd730)
+ - deps: update module k8s.io/apimachinery to v0.32.3 (main)
+ (#16704) (0be4897)
+ - Determine when all logs have been filtered (#16073) (f2bff20)
+ - docs: add a note on docker configuration.md doc to explain
+ accep… (#16299) (2071a50)
+ - engine: Fix Walk() function implementation on various Expr
+ implementations (#16033) (3888866)
+ - Export exportTSInSecs field in TSDB identifier to make sure
+ correct gap calculation (#13116) (99d9f1c)
+ - export ExcludedMetadataLabels so it can be extended in GEL
+ (#16083) (9d84a68)
+ - fix a panic in ServeHTTP where stream was nil (#16818)
+ (ba7550a)
+ - Fix blocked ingestion returned error when 260 (#16387)
+ (3d6163a)
+ - Fix label values query when server.http_path_prefix is set
+ (#15978) (65f5990)
+ - fixes a data race I added changing this to a map (#16814)
+ (f4893ee)
+ - helm: Disable service monitor for nginx service (#12746)
+ (0c38b94)
+ - increment UsageTracker.DiscardedBytesAdd() for ingestion
+ policy discards (#16528) (a4c796d)
+ - Make policy test non-flaky (#16158) (41d9c8b)
+ - memchunk: Skip a test that currently is not used in our main
+ path (#16474) (196cbaa)
+ - metastore: empty object corrections (#16147) (d9892b4)
+ - nix: build with go 1.24 (#16579) (f1ac3c4)
+ - only allow aggregated metric queries from logs drilldown app
+ (#16670) (6c6410c)
+ - operator: Fix minimum available ingesters for 1x.pico size
+ (#16035) (40cf074)
+ - operator: Select non-zero delete worker count for all sizes
+ (#16492) (1e5579a)
+ - operator: Update maximum OpenShift version (#16443) (ddf3cfb)
+ - operator: Update OTLP user guide to reflect change in
+ LokiStack (#16057) (14e2c87)
+ - operator: Update skipRange in OpenShift variant (#15984)
+ (dfbe00c)
+ - pattern: Correctly initialize overrides for pattern tee.
+ (#16112) (8f38cf7)
+ - promtail: remove flaky TestFileTarget_StopsTailersCleanly
+ (#16473) (2ab63d2)
+ - promtail: windows forward event crash (#16155) (82cfaea)
+ - queryrange: properly handle context cancellation in
+ Downstreamer (#16471) (5335a21)
+ - remove colons from level detection (#16764) (865c43a)
+ - remove unused variable in delete requests store code (#16241)
+ (5e6d0b5)
+ - Revert "feat: Assert for bad max_query_lookback config
+ (#16362)" (#16441) (42ddb68)
+ - reverts the tailwindcss upgrade that was breaking builds
+ (#16058) (bb76772)
+ - ruler: ensure test service shutdown is properly awaited
+ (#16468) (8976709)
+ - scheduling constraints (#16045) (b45a31e)
+ - update crc64nvme to fix build issues with arm images (#16413)
+ (80a616d)
+ - zeroed stream hash when checking limits (#16729) (ab0cbce)
+
+-------------------------------------------------------------------
+Fri Apr 04 13:06:29 UTC 2025 - Marcus Rueckert
+
+- Update to version 3.4.3:
+ - fix(deps): update jwt, oauth and go-redis dependencies (#17023)
+ - docs: Clarify approx_topk is an experimental feature (backport
+ release-3.4.x) (#16995)
+ - docs: fix localhost link in logcli getting-started (backport
+ release-3.4.x) (#16968)
+ - docs: add note about lambda-promtail (backport release-3.4.x)
+ (#16812)
+ - docs: fix broken links (backport release-3.4.x) (#16789)
+ - fix(docs): add a note on docker configuration.md doc to explain
+ accep… (backport release-3.4.x) (#16743)
+ - docs: update RN with blog post (#16715) (#16736)
+ - docs(LIDs): Add Loki mixin configuration improvements draft
+ (backport release-3.4.x) (#16714)
+ - fix(deps): Move to Go 1.23.7 (#16682)
+ - docs: Update `approx_topk` documentation (backport
+ release-3.4.x) (#16680)
+ - fix(deps): update module golang.org/x/crypto to v0.35.0
+ [security] (release-3.4.x) (#16588)
+ - fix(deps): update module golang.org/x/oauth2 to v0.27.0
+ [security] (release-3.4.x) (#16589)
+ - chore: [v3.4.x] Remove relref shortcodes (#16628)
+ - docs: fixed breaking tutorials (backport release-3.4.x)
+ (#16608)
+ - docs: add note about index cache and TSDB (backport
+ release-3.4.x) (#16596)
+ - docs: remove deployment.environment from list of otel resource
+ attrs stored as labels (backport release-3.4.x) (#16583)
+ - docs: update 3rd party python-logging-loki to V2 that supports
+ headers (backport release-3.4.x) (#16551)
+ - docs: clarify OTEL endpoint (backport release-3.4.x) (#16546)
+ - chore: Rename Explore Apps to App Drilldown (backport
+ release-3.4.x) (#16392)
+ - docs: fix spacing in Cardinality URL (backport release-3.4.x)
+ (#16293)
+ - docs: Update versions in docs (backport release-3.4.x) (#16288)
+ - docs: release notes for v3.4.2 (backport release-3.4.x)
+ (#16279)
+ - chore(release-3.4.x): release 3.4.2 (#16270)
+ - docs: minor RN update (backport release-3.4.x) (#16277)
+ - chore: Clean go.mod file in cmd/dataobj-inspect directory
+ (#16275)
+
+-------------------------------------------------------------------
+Fri Feb 14 13:01:42 UTC 2025 - mrueckert@suse.de
+
+- Update to version 3.4.2:
+ * fix(ci): do not disable CGO in Makefile (backport
+ release-3.4.x) (#16272)
+ * fix(blooms): Initialize bloom gateway client only once
+ (backport release-3.4.x) (#16268)
+ * docs: Updates Loki release notes for 3.3.3 (backport
+ release-3.4.x) (#16249)
+ * chore(release-3.4.x): release 3.4.1 (#16226)
+- Update to version 3.4.1:
+ * docs: adding Promtail deprecation banners (backport
+ release-3.4.x) (#16228)
+ * fix: build info in docker images (#16225)
+ * ci: Move IMAGE_TAG Dockerfile ARG into build phase (backport
+ k239) (#16212)
+ * chore(k239): release 3.4.0 (#16102)
+
+-------------------------------------------------------------------
+Wed Feb 12 13:18:49 UTC 2025 - Marcus Rueckert
+
+- refresh proper-data-directories.patch
+
+-------------------------------------------------------------------
+Wed Feb 12 11:48:22 UTC 2025 - mrueckert@suse.de
+
+- Update to version 3.4.0:
+ * BREAKING CHANGES
+ - Remove wget from Promtail docker image (#15101)
+ * Features
+ - Add a metric ingestion time SM sanitization (#15222)
+ (e9d0c3e)
+ - add kafka development environment (#15603) (226e9f1)
+ - add lines skipped metric to pattern ingesters (#14997)
+ (dea5d78)
+ - Add objstore support for Swift using thanos.io/objstore
+ (#11672) (44523e0)
+ - add opt-in support for ProxyFroomEnvironment in logcli
+ (#11742) (#14950) (c56b95d)
+ - Add otlp attribute deployment.environment.name to list of
+ default labels (#14747) (2d407bd)
+ - add per-tenant time sharding for long out-of-order ingestion
+ (#14711) (0d6d68d)
+ - add phase to log lines in kafka_consumer.go (#15176)
+ (0a12cab)
+ - Add Rule Name and Type to Query Tags (#15055) (b272573)
+ - Add TLS config to the analytics client (#15227) (2c5eabd)
+ - added support for overrides exporter (#15630) (db72164)
+ - api: Support Parquet as a query response format. (#15408)
+ (d0c11a6)
+ - Block scheduler scaffolding (#15198) (a10140d)
+ - block-scheduler: adds service and basic planner support for
+ scheduler (#15200) (ad322c0)
+ - block-scheduler: introduce job lease and requeue expired jobs
+ (#15560) (558080c)
+ - block-scheduler: job tracking & offset commits (#15338)
+ (f2bff77)
+ - block-scheduler: status page shows completed jobs (#15580)
+ (10194f7)
+ - blockbuilder component (#14621) (cbdd36a)
+ - blockbuilder: consolidate on record counting planner (#15247)
+ (532bdbc)
+ - blockbuilder: grpc transport (#15218) (339ba1a)
+ - blockbuilder: priority queue for job dispatching (#15245)
+ (0981273)
+ - blooms: Add task timining and sizing metrics (#15032)
+ (79cccfd)
+ - blooms: Apply task timeout in bloom builder (#14988)
+ (f92dde0)
+ - blooms: disk-backed queue for the bloom-planner (#14874)
+ (b646861)
+ - blooms: Prefetch bloom blocks as soon as they are built
+ (#15050) (b406015)
+ - build the Docker Driver for arm64 (#9247) (e950251)
+ - Detect fields based on per-tenant configuration and put them
+ into structured metadata at ingest time (#15188) (7033091)
+ - expose topologySpreadConstraints for admin-api pods (#14995)
+ (1b93086)
+ - expose topologySpreadConstraints for distributed deployment
+ (#14853) (d075107)
+ - helm: Compute ConfigMap/Secret checksum only over .data
+ content (#15177) (990f71c)
+ - helm: Do not explicitly template managed-by, as it should be
+ set at install time by the installation manager. (#14763)
+ (10b7478)
+ - Introduce shardable probabilistic topk for instant queries.
+ (#14243) (7b53f20)
+ - lambda-promtail: add relabeling support for log entries
+ (#15600) (c41a8b4)
+ - lambda-promtail: Add terraform variable for s3 bucket
+ notification filter prefix (#15381) (3dd8d7d)
+ - line_format bypass template execution if possible (#15411)
+ (2150fbc)
+ - logcli: Include common labels (#15611) (639ac74)
+ - loki/docker compose: enable feature toggle (#14858) (8f243ee)
+ - operator: Add support for managed GCP WorkloadIdentity
+ (#14752) (7635a5c)
+ - present DF bytes values in queryable format (#15272)
+ (f5d62bd)
+ - remove target lag and keep just maximum lag (#15120)
+ (12386a2)
+ - sanitize structured metadata during ingestion in the
+ distributor (#15141) (be4f17e)
+ - scheduler: implement and register block builder rpc service
+ (#15248) (c519ab6)
+ - Skip writeback for chunks fetched by queriers older than a
+ duration (#15605) (3b8d993)
+ - Support config timeout for AlibabaCloud OSS requests (#14856)
+ (ac2e21f)
+ - thanos: add new metric to track status codes (#14937)
+ (a629212)
+ - thanos: add support for aliyun oss and baidu bos (#14891)
+ (fb6789d)
+ - thanos: make use of the new function IterWithAttributes
+ (#14793) (cfc3819)
+ - TSDB: allow tsdb index creation in memory only (#14732)
+ (831c0d5)
+ - update blockbuilder to use scheduler for fetching jobs
+ (#15224) (0d67831)
+ - Use context propagation to call the same ingester in
+ GetChunksID as Query (#15186) (70d9587)
+ * Bug Fixes
+ - Add flags for path & configure kafka for non-memberlist kv
+ store (#14850) (f2da621)
+ - aggregated_metrics: Fix the IsError method causing retries
+ (#15296) (7a7b3b1)
+ - allow comparison against zero bytes (#15217) (17f1972)
+ - azureblob: Return error if Azure returns no service principal
+ token (#13195) (e98a86b)
+ - block-builder: return from Process call early if max offset
+ is reached (#15073) (13ea254)
+ - block-scheduler: init record planner correctly (#15390)
+ (117869f)
+ - block-scheduler: one job per partition (local branch copy)
+ (#15579) (b2f46de)
+ - blockbuilder: copy entries returned by record decoder
+ (#15549) (52d745f)
+ - blockbuilder: min job size (#15617) (c43aa56)
+ - blockbuilder: use index path prefix in objectclient for tsdb
+ creation (#15614) (55f2dd8)
+ - blooms: Copy chunks from ForSeries (#14863) (bfc2890)
+ - blooms: Do not restart builders when planner disconnects
+ (#14783) (7669385)
+ - blooms: Enable metas cache on backend when running in ssd
+ mode (#15275) (4cce207)
+ - blooms: Fix check for skipping most recent data when
+ filtering blooms (#15300) (78d3c44)
+ - blooms: Fix strategy logger and add task test (#14857)
+ (ab2721d)
+ - blooms: Fix tenants slice on loadTenantTables (#14900)
+ (a8f7851)
+ - blooms: Match series to newest block only (#15481) (5846ea2)
+ - blooms: Skip multi-tenant TSDBs during bloom planning
+ (#14770) (76d35cc)
+ - bytes unit detection in detected fields (#15525) (8e260fe)
+ - ci: Fix test compile error (#15404) (db2b6db)
+ - ci: Remove submodule once and for all (#15495) (80e8e60)
+ - ci: Revert "fixed Publish Rendered Helm Chart Diff workflow"
+ (#15506) (6c49cc0)
+ - ci: transform TestChunkSize into a benchmark (#15361)
+ (fed43db)
+ - ci: Update Python version for Helm CI (#15420) (bdbb009)
+ - correct S3 bucket owner label key to prevent retrieval errors
+ (#14913) (85aaf63)
+ - correct typo in architecture name (amr64 -> arm64) (#15707)
+ (068f81d)
+ - Correctly propagate index stats to metrics.go log line
+ (#14941) (ff111dc)
+ - data race / nil channel read in pattern aggregation push
+ (#15410) (5d8220c)
+ - data race in bloombuild tests (#15360) (aa7b849)
+ - data race in chunk client hedging tests (#15466) (fad06ee)
+ - data race in distributor tests (#15423) (b8168a8)
+ - data race in ingester test (#15465) (04f621e)
+ - Disable Helm test pod when test.enabled=false (#15346)
+ (1fb4e2b)
+ - do not retain copy of chunk while indexing a new chunk in
+ tsdb while processing delete requests (#15541) (ff19955)
+ - enable metric aggregation in loki-local-config.yaml (#15302)
+ (c96b750)
+ - Ensure partition-reader starts up correctly (#14845)
+ (b2f3d2e)
+ - Ensure successive WAL replays don't overwrite each other
+ (#14848) (ec95ed1)
+ - Fix goroutine leak in queryrange downstreamer (#15665)
+ (5f476a3)
+ - Fix loki ruler generator url left parameter url encoding
+ (#15601) (e347eb7)
+ - helm/loki: Add namespace to Loki templates for ruler and
+ index-gateway (#14838) (733d99f)
+ - helm/loki: Allow prefixing of rollout-group value and
+ ingester name (#15063) (f4accc1)
+ - helm: add appProtocol: tcp to headless backend grpc ports
+ (#14507) (400f5af)
+ - helm: Add conditional to include ruler config only when
+ enabled (#15385) (3badbb3)
+ - helm: add default wal dir to ruler config (#14920) (1a6751f)
+ - helm: Fix statefulset templates to not show diffs in ArgoCD
+ (#15192) (3c71c83)
+ - helm: Split ingester HPA when zoneAwareReplication is enabled
+ (#14565) (80e46f7)
+ - helm: yaml templates incorrectly annotated (#15207) (acd4d11)
+ - Improve docs for min and max table offsets (#14890) (fd9d332)
+ - incorrect error check in autoCommitLoop (#15149) (4b5925a)
+ - kafka: Read from beginning if no committed offset (#14865)
+ (1b6da11)
+ - Keep the service_name label after discovery in
+ push.ParseLokiRequest before calculating retention and
+ passing to the usage tracker (#14960) (71d4d6a)
+ - lambda-promtail: Remove s3 bucket ownership verification
+ (#15383) (bf73014)
+ - legacy label endpoint route (#14933) (8ce321e)
+ - logcli: Check for errors before checking for exists when
+ fetching data (#14780) (9e7d2f2)
+ - memberlist: Respect interface names config for advertise
+ address (#13940) (751324c)
+ - metric_aggregation: Fix duplicate metrics registration
+ (#15142) (215f994)
+ - Mitigate ingester race between Query & GetChunkIDs (#15178)
+ (bd46e4c)
+ - operator: Add log attribute for level to structured metadata
+ (#14776) (036c131)
+ - operator: Fix maximum OpenShift version (#14764) (cc496c6)
+ - operator: Fix operator release pipeline warnings (#14817)
+ (e707a3d)
+ - operator: Fix RBAC permission for poddisruptionbudgets
+ (#15107) (f00d07a)
+ - operator: Publish images on docker hub upon release (#14786)
+ (126ebed)
+ - operator: update kube-rbac-proxy to upstream registry
+ (#14809) (568d22f)
+ - otlp: Write protobuf status on error (#15097) (63a2442)
+ - partition-ingester: Add stream creation error logging
+ (#15640) (f63c16f)
+ - promtail: Fix API level node filtering of Kubernetes SD to
+ only fetch pod metadata for pods of the current node (#14267)
+ (d2b6fd8)
+ - querier: show correct setting in error message (#14842)
+ (f5ae015)
+ - remove enabled field in loki-local-config.yaml (#15059)
+ (7410f10)
+ - remove unsafe pkg usage from util.mempool (#15428) (e6d82b9)
+ - Return error 422 (Unprocessable Content) when push request
+ does not contain any streams (#13706) (17bf32b)
+ - Shut down delete client on local rule-evaluator (#15345)
+ (42469cc)
+ - structured metadata not always passed down for processing
+ deletes (#15526) (a3808b6)
+ - typo: Change "did received" to "did receive" in NOTES.txt
+ (#15584) (9191eaf)
+ - use KafkaEndOffset instead of -1 (#15099) (2113526)
+ - Use separate variable to track the consume offset (#15095)
+ (161a192)
+ * Performance Improvements
+ - approx_topk: Reduce memory usage of HyperLogLog in
+ approx_topk. (#15559) (bef2043)
+ - bloom: Compute chunkrefs for series right before sending task
+ to builder (#14808) (66e6b1c)
+ - blooms: Replace JSON lib for encoding/decoding metas (#14767)
+ (57f16a0)
+ - Improve approx_topk performance by reducing allocations.
+ (#15450) (04994ca)
+ * Reverts
+ - "perf(bloom): Compute chunkrefs for series right before
+ sending task to builder" (#14839) (4bfa380)
+ * Miscellaneous Chores
+ - Remove wget from Promtail docker image (#15101) (2eea546)
+ * Dependency updates
+ Please see the release notes
+ https://github.com/grafana/loki/releases/tag/v3.4.0
+
+-------------------------------------------------------------------
+Wed Dec 18 18:29:38 UTC 2024 - mrueckert@suse.de
+
+- Update to version 3.3.2: (pulls in fix for CVE-2024-45337)
+ * fix: fix the docker driver build (backport release-3.3.x) (#15478)
+ * docs: fix admonition, line spacing (#15462) (#15480)
+ * docs: add exception to spelling rule (backport release-3.3.x) (#15473)
+ * docs: fixing broken command (backport release-3.3.x) (#15470)
+ * docs: add URL to Log entry deletion page (backport release-3.3.x) (#15461)
+ * docs: adding exceptions to Vale rule (backport release-3.3.x) (#15446)
+ * docs: fix docs for bloom filters query acceleration hyperlink (backport release-3.3.x) (#15445)
+ * docs: Update LogCLI topic (#15376) (#15413)
+ * fix(deps): backport update module golang.org/x/crypto to v0.31.0 (#15394)
+ * docs: removed compactor options from minIO deployment (backport release-3.3.x) (#15375)
+ * docs: Logcli tutorial and sandbox (backport release-3.3.x) (#15369)
+ * docs: sandbox fix for quickstart (backport release-3.3.x) (#15363)
+ * ci: fix docker driver pipeline
+ * docs: Fixing some Vale linter errors (backport release-3.3.x) (#15350)
+ * chore: Document `approx_topk` keyword. (backport release-3.3.x) (#15347)
+ * ci: fix docker driver publishing
+ * feat: present DF bytes values in queryable format (backport release-3.3.x) (#15320)
+ * fix: enable metric aggregation in `loki-local-config.yaml` (backport release-3.3.x) (#15319)
+ * docs: correct dates in 2.9.x release notes (backport release-3.3.x) (#15303)
+ * docs: Release notes for 2.9.11 (backport release-3.3.x) (#15289)
+ * docs: Release notes for 3.3.2 (backport release-3.3.x) (#15286)
+ * docs: Release notes for 3.2.2 (backport release-3.3.x) (#15282)
+ * chore(release-3.3.x): release 3.3.1 (#15148)
+
+-------------------------------------------------------------------
+Mon Dec 16 11:56:07 UTC 2024 - Andreas Schwab
+
+- Enable cgo on riscv64
+
+-------------------------------------------------------------------
+Mon Dec 9 22:54:30 UTC 2024 - Marcus Rueckert
+
+- use golang(API) to force the proper version
+
+-------------------------------------------------------------------
+Mon Dec 09 10:04:09 UTC 2024 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.3.1:
+ * BREAKING CHANGES
+ - promtail: Remove wget from Promtail docker image (backport
+ release-3.3.x) (#15146)
+ * Miscellaneous Chores
+ - promtail: Switch Promtail base image from Debian to Ubuntu to
+ fix critical security issues (#15195).
+ - docker: Move from base-nossl to static. This PR removes the
+ inclusion of glibc into most of the Docker images created by
+ the Loki build system. (#15203).
+
+-------------------------------------------------------------------
+Mon Dec 09 09:39:06 UTC 2024 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.3.0:
+ * BREAKING CHANGES
+ - blooms: Introduce a new block schema (V3) (#14038)
+ - blooms: Index structured metadata into blooms (#14061)
+ * Features
+ - ability to log stream selectors before service name detection
+ (#14154) (d7ff426)
+ - add app_name as a service label (#13660) (f2a16f4)
+ - add backoff mechanism to the retention process (#14182)
+ (3136880)
+ - add functions to common.libsonnet for warpstream (#14123)
+ (2bde071)
+ - add gauge loki_ingest_storage_reader_phase (#14679) (f5b0fb6)
+ - add gauge to track the partition_id (#14713) (a142b3d)
+ - add missing cluster label to mixins (#12870) (547ca70)
+ - add query user and query source to "executing query" log
+ lines (#14320) (4d69929)
+ - add retries for s3 ObjectExists calls (#14062) (73cbbb0)
+ - add structured metadata to the promtail push API (#14153)
+ (66cffcb)
+ - Add support for partition ingester in dashboards (#14498)
+ (70deebf)
+ - Allows to configure client_max_body_size (#12924) (809a024)
+ - Apply patterns line length limit to json message key (#14296)
+ (41fafd8)
+ - blooms: Add bloom planner and bloom builder to backend target
+ (#13997) (bf60455)
+ - blooms: disk-backed queue for the bloom-planner (backport
+ k227) (#14927) (1f6828b)
+ - blooms: Index structured metadata into blooms (#14061)
+ (a2fbaa8)
+ - blooms: Only write key and key=value to blooms (#14686)
+ (3af0004)
+ - Configurable list of json fields to mine patterns (#14528)
+ (7050897)
+ - detected field values (#14350) (7983f94)
+ - distributors: Use a pool of worker to push to ingesters.
+ (#14245) (f80d68a)
+ - Do not add empty blooms to offsets (#14577) (51c42e8)
+ - Extract task computing into a strategy interface (#13690)
+ (ab5e6ea)
+ - fluentd-plugin-datadog-loki: support custom http headers
+ (#14299) (e59035e)
+ - helm: add additional service annotations for components in
+ distributed mode (#14131) (5978f13)
+ - helm: add configurable extraEnvFrom to admin-api and
+ enterprisegw (#14533) (5d78a3a)
+ - helm: Add kubeVersionOverride for Helm chart (#14434)
+ (0935d77)
+ - helm: Add persistence option to memcached on Helm chart
+ (#13619) (ef1df0e)
+ - helm: add tolerations to pattern-ingester statefulset
+ (#13605) (09530c0)
+ - helm: Allow setting node attributes to tokengen and
+ provisioner (#14311) (c708ae6)
+ - helm: Replace bloom compactor with bloom planner and builder
+ (#14003) (08e61ca)
+ - helm: update chart with loki version 3.2.0 (#14281) (11b92ee)
+ - Helm: Update Loki Helm chart for restricted environments
+ (#14440) (adc7538)
+ - implement IsRetryableErr for S3ObjectClient (#14174)
+ (fc90a63)
+ - Implement owned streams calculation using Partition Ring
+ (#14282) (3c36ba9)
+ - Implement WAL segment ingestion via Kafka with partition ring
+ (#14043) (d178f4c)
+ - Improve pattern ingester tracing (#14707) (80aec25)
+ - ingester: implement partition shuffle sharding for ingester
+ (#14304) (1a4436c)
+ - Introduce new ObjectExistsWithSize API to (#14268) (ac422b3)
+ - Introduce shardable probabilistic topk for instant queries.
+ (backport k227) (#14765) (02eb024)
+ - jsonnet: Allow to name prefix zoned ingesters (#14260)
+ (fac3177)
+ - kafka: Add Ingestion from Kafka in Ingesters (#14192)
+ (b6e9945)
+ - kafka: Add support for SASL auth to Kafka (#14487) (e2a209c)
+ - kafka: Enable querier to optionally query partition ingesters
+ (#14418) (633bb5e)
+ - kafka: enqueue commit offset only once per batch process
+ (#14278) (beca6f3)
+ - kafka: Implement limiter using partition ring for Kafka
+ (#14359) (5cbb239)
+ - kafka: Remove rate limits for kafka ingestion (#14460)
+ (83a8893)
+ - kafka: Replay kafka from last commit before allowing
+ ingesters to become ready (#14330) (39b57ec)
+
+-------------------------------------------------------------------
+Mon Dec 09 07:32:06 UTC 2024 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.2.2:
+ * BREAKING CHANGES
+ - promtail: Remove wget from Promtail docker image (backport
+ release-3.2.x) (#15145)
+ * Bug Fixes
+ - logql: Updated JSONExpressionParser not to unescape extracted
+ values if it is JSON object. (#14499).
+ - storage: Have GetObject check for canceled context.
+ S3ObjectClient.GetObject incorrectly returned nil, 0, nil
+ when the provided context is already canceled (#14420).
+ * Miscellaneous Chores
+ - promtail: Switch Promtail base image from Debian to Ubuntu to
+ fix critical security issues (#15195).
+ - docker: Move from base-nossl to static. This PR removes the
+ inclusion of glibc into most of the Docker images created by
+ the Loki build system. (#15203).
+- convert to obs_scm
+- add %if condition to build using CGO_ENABLED=1 on s390x, armv7l
+ and i586
+
+-------------------------------------------------------------------
+Thu Oct 17 21:30:13 UTC 2024 - mrueckert@suse.de
+
+- Update to version 3.2.1:
+ * ci: fix logql analyzer (backport release-3.2.x) [manual backport] (#14518)
+ * fix(logql): updated JSONExpressionParser not to unescape extracted values if it is JSON object. (backport release-3.2.x) (#14502)
+ * docs: update sample result on loki setup page (backport release-3.2.x) (#14493)
+ * docs: Updated Fluent Bit docs to use official plugin + Sandbox (backport release-3.2.x) (#14490)
+ * docs: Small update to install docs (backport release-3.2.x) (#14479)
+ * docs: Update Promtail installation (backport release-3.2.x) (#14474)
+ * docs: update Helm installation topics (backport release-3.2.x) (#14471)
+ * docs: corrected result for the `flags` field in the examples (backport release-3.2.x) (#14468)
+ * docs: Update alloy-otel-logs.md to correct a typo (backport release-3.2.x) (#14459)
+ * docs: Revise the LogQL Analyzer topic (backport release-3.2.x) (#14454)
+ * docs: remove reference to Agent Flow (backport release-3.2.x) (#14450)
+ * docs: Updated Promtail to Alloy (backport release-3.2.x) (#14429)
+ * fix(storage/chunk/client/aws): have GetObject check for canceled context (backport release-3.2.x) (#14422)
+ * fix: Revert build image to Debian Bullseye to fix libc version issue in Promtail (#14386)
+ * docs: OpenTelemetry Collector Sandbox Tutorial (backport release-3.2.x) (#14380)
+ * fix(config): Copy Alibaba and IBM object storage configuration from common (#14315)
+ * docs: fix broken links (backport release-3.2.x) (#14363)
+ * docs: Reorganize Query Templates page (backport release-3.2.x) (#14335)
+ * chore: [release-3.2.x] docs: Fix link bracket for query-acceleration-blooms (#14265)
+ * chore: [release-3.2.x] docs: Fix typo in query-acceleration-blooms (#14251)
+ * chore: [release-3.2.x] docs: add additional clarification for single binary helm installation (#14236)
+ * chore: [release-3.2.x] docs: added video to components (#14232)
+ * chore: [release-3.2.x] docs: Replace shortcodes on Storage topic (#14229)
+ * chore: [release-3.2.x] docs: Added new Query best practices page (#14224)
+ * chore: [release-3.2.x] fix: Add additional validation for timeout while retrieving headers (#14220)
+ * chore: [release-3.2.x] docs: Explore Logs GA (#14219)
+ * chore: [release-3.2.x] docs: Fix awkwardly worded line about fluent-cli (#14205)
+ * chore: [release-3.2.x] docs: Update Loki components page with new bloom components (#14200)
+ * chore: [release-3.2.x] ci: Update workflows to use actions that don't need organization secrets (#14195)
+ * docs: Loki 3.2 Release Notes (#14194)
+ * ci: use app token for release
+ * chore(k218): release 3.2.0 (#14088)
+
+-------------------------------------------------------------------
+Fri Oct 11 22:47:03 UTC 2024 - Marcus Rueckert
+
+- refresh patches:
+ harden_promtail.service.patch
+ proper-data-directories.patch
+- use the source epoch as build date
+- since we only package releases we can also just use the version
+ from the tag instead of a verbose version string
+- no longer strip the binaries
+- Update to version 3.2.0:
+ * chore: [k218] docs: add `X-Scope-OrgID` header to Grafana datasource if multi-tenancy is enabled (#14172)
+ * feat: add structured metadata to the promtail push API (#14153) (#14155)
+ * chore: [k218] fix(blooms): Fix panic in initialisation of the bloom planner and builder (#14113)
+ * chore: [k218] feat(blooms): Add bloom planner and bloom builder to `backend` target (#14092)
+ * chore: [k218] chore(deps): Downgrade fake-gcs-server (#14085)
+ * chore: [k218] feat(max-allowed-line-length): add config to set `max-allowed-line-length` in pattern ingester (#14076)
+ * chore: [k218] fix: downgrade grpc to fix regression (#14075)
+ * chore: [k218] fix: correct _extracted logic in detected fields (#14073)
+ * chore: [k218] fix: enable service detection for otlp endoint (#14052)
+ * chore: [k218] fix(`detected_fields`): return parsed labels when parsers are passed (#14050)
+ * fix: do not retain span logger created with index set initialized at query time (#14027)
+ * chore: [k218] chore(ci): fix failing arm builds (#14023)
+ * feat: Add initial support for a kafka-based ingest path (#13992)
+ * fix(detected_labels): Add matchers to get labels from store" (#14012)
+ * feat: add _extracted suffix to detected fields conflicts (#13993)
+ * fix: Propagate headers/warnings/stats from quantile downstreams (#13881)
+ * chore: update dskit and thanos/objstore (#13998)
+ * fix(deps): update module github.com/efficientgo/core to v1.0.0-rc.3 (#14001)
+ * fix(deps): update module github.com/hashicorp/consul/api to v1.29.4 (#14002)
+ * chore(deps): update anchore/sbom-action action to v0.17.2 (#13985)
+ * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.188 (#14000)
+ * chore: Update nginx-unprivileged (#13978)
+ * chore(blooms)!: Remove bloom compactor component (#13969)
+ * docs: Update HTTP API docs for limit (#13987)
+ * fix: sanatize structured metadata at query time (#13983)
+ * chore: Rename `HeapIterator` to `MergeEntryIterator` (#13975)
+ * perf: Avoid looking up unnecessary TSDB symbols during Volume API (#13960)
+ * chore: Update kiwigrid/k8s-sidecar (#13979)
+ * chore(jsonnet)!: convert read statefulset into deployment for loki-simple-scalable (#13977)
+ * chore(jsonnet): Add backend component to loki-simple-scalable jsonnet (#13976)
+ * chore(docs): Rewrite query acceleration docs (#13965)
+ * fix(deps): update module github.com/gorilla/websocket to v1.5.3 (#13873)
+ * fix(detected labels): response when store label values are empty (#13970)
+ * feat: Limit to block ingestion until configured date (#13958)
+ * chore(deps): update terraform aws to v5 (#13961)
+ * feat: ability to ignore cache for volume queries (#13945)
+ * chore(deps): update terraform google to v5 (#13962)
+ * fix(deps): update module github.com/ncw/swift to v2 (#13951)
+ * fix(deps): update module github.com/tonistiigi/fifo to v1 (#13952)
+ * chore(deps): update fluent/fluent-bit docker tag (#13843)
+ * fix: Read full buffer from storage when fetching a range (#13948)
+ * fix(deps): update module github.com/fsouza/fake-gcs-server to v1.47.7 (#13935)
+ * chore(deps): update chunks/segments inspect dependencies (#13936)
+ * fix(cloud-mixin): Attribute OTLP route correctly to write path (#13943)
+ * chore: make mixin range interval configurable (#13925)
+ * chore(deps): lamba-promtail, move back to al2, update krb5-libs (#13939)
+ * chore(deps): LambdaPromtail - Bump to AmazonLinux 2023 (#13938)
+ * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.187 (#13933)
+ * fix(deps): update module github.com/oschwald/geoip2-golang to v1.11.0 (#13934)
+ * fix: record datasample queries are limited query type (#13930)
+ * chore: log the query from the request when we're unable to get a result from the results cache (#13915)
+ * fix: Improve execution speed for queries with label filters (#13922)
+ * chore(deps): update dskit 20240819 (#13924)
+ * feat(operator): Enable leader-election (#13760)
+ * fix: split the error and agg metric cases for clarity (#13913)
+ * chore(deps): Update dependencies, build version, and go version for lambda-promtail (#13904)
+ * feat: aggregate byte and count metrics (#13731)
+ * chore: Update to labeler v5 (#13911)
+ * fix(deps): update module golang.org/x/time to v0.6.0 (#13910)
+ * chore(deps): update terraform random to v3.6.2 (#13909)
+ * chore(deps): update dependabot/fetch-metadata action to v2 (#13908)
+ * chore(deps): update ruby docker tag to v3.3.4 (#13907)
+ * fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.4 (#13892)
+ * fix(deps): update module github.com/ibm/ibm-cos-sdk-go to v1.11.0 (#13893)
+ * fix: Adjust tailer loop criteria so it is actually re-tested (#13906)
+ * chore: remove unused pattern tokenization form Loki (#13783)
+ * chore(deps): update anchore/sbom-action action to v0.17.1 (#13895)
+ * fix: Read "404" as object not exist (#13901)
+ * chore(deps): Revert "chore(deps): update actions/labeler action to v5" (#13899)
+ * chore(deps): update actions/labeler action to v5 (#13894)
+ * chore(deps): update azure/setup-helm action to v4 (#13890)
+ * fix(deps): update module github.com/mattn/go-ieproxy to v0.0.12 (#13876)
+ * chore(deps): update actions/setup-python action to v5 (#13889)
+ * chore(deps): update actions/checkout action to v4 (#13888)
+ * fix(deps): update module github.com/workiva/go-datastructures to v1.1.5 (#13885)
+ * chore(deps): update terraform aws to ~> 4.67.0 (#13886)
+ * feat(lambda-promtail): build lambda with zip file (#13787)
+ * fix(deps): update module github.com/schollz/progressbar/v3 to v3.14.6 (#13884)
+ * fix: Handle EOF when reading from some obj stores (#13868)
+ * fix(deps): update module github.com/klauspost/pgzip to v1.2.6 (#13874)
+ * chore(deps): update alpine docker tag to v3.20.2 (#13882)
+ * fix: flaky test blockPlansForGaps (#13743)
+ * fix(deps): update module github.com/azure/go-autorest/autorest/adal to v0.9.24 (#13862)
+ * docs: Recommended quickstart changes + Upgrade (#13747)
+ * chore: fix some comments (#13830)
+ * fix(deps): update module github.com/docker/docker to v27.1.2+incompatible (#13872)
+ * fix(deps): update module github.com/gogo/googleapis to v1.4.1 (#13871)
+ * fix(deps): update module github.com/felixge/fgprof to v0.9.4 (#13870)
+ * fix(deps): update module github.com/azure/go-autorest/autorest/azure/auth to v0.5.13 (#13863)
+ * fix(deps): update module github.com/datadog/sketches-go to v1.4.6 (#13865)
+ * chore: remove initial metric aggregation experiment (#13729)
+ * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.186 (#13864)
+ * fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.10+incompatible (#13861)
+ * chore(deps): update grafana/loki-build-image docker tag to v0.33.6 (#13859)
+ * chore(deps): update helm/chart-testing-action action to v2.6.1 (#13855)
+ * chore(deps): update grafana/promtail docker tag to v1.6.1 (#13851)
+ * chore(deps): update grafana/promtail docker tag to v2.9.10 (#13854)
+ * chore(deps): update dependency go to v1.22.6 (#13842)
+ * chore: Update loki build image to go 1.22.6 (#13857)
+ * chore: manual changelog backport (#13852)
+ * chore(deps): update grafana/loki docker tag to v2.9.10 (#13848)
+ * chore(deps): update golang docker tag to v1.22.6 (#13847)
+ * chore(deps): update grafana/loki-build-image docker tag to v0.33.5 (#13849)
+ * chore(ci): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13832)
+ * chore: [main] chore(release-3.1.x): release 3.1.1 (#13817)
+ * fix(deps): update github.com/grafana/jsonparser digest to ea80629 (#13814)
+ * fix(ci): fixed release-please manifest (#13810)
+ * fix(deps): update github.com/c2h5oh/datasize digest to aa82cc1 (#13807)
+ * fix(deps): update github.com/docker/go-plugins-helpers digest to 45e2431 (#13808)
+ * fix(deps): update github.com/axiomhq/hyperloglog digest to af9851f (#13806)
+ * chore(deps): update github.com/grafana/regexp digest to a468a5b (#13805)
+ * chore: Turn off renovate on non-main branches (#13803)
+ * fix(ci): add cleanup step into job `dist` (#13801)
+ * chore: Add metastore client as dep for rf1 querier & ignore auth for ListBlocks (#13786)
+ * fix(deps): update module golang.org/x/text to v0.17.0 (main) (#13794)
+ * fix(operator): Don't overwrite annotations for LokiStack ingress resources (#13708)
+ * fix: panic when parsing and extracting JSON key values (#13790)
+ * feat(loki): add ability to disable AWS S3 dualstack endpoints usage (#13785)
+ * fix(helm): fixed memcached and provisioner templates (#13788)
+ * chore: Remove unused stream index from RF1 ingester (#13758)
+ * fix: Include whitespaces in extracted tokens (#13738)
+ * chore(deps): update module golang.org/x/net to v0.23.0 [security] (main) (#13763)
+ * fix(deps): update module github.com/docker/docker to v27.1.1+incompatible [security] (main) (#13762)
+ * feat: upgrade prometheus (#13671)
+ * fix(break): helm: Fix how we set imagePullSecrets for enterprise-gateway and admin-api. (#13761)
+ * chore(helm-chart): added SSE config into AWS storage config (#13746)
+ * fix: try reading chunks which have incorrect offset for blocks (#13720)
+ * docs: Update the Visualize topic (#13742)
+ * feat: Introduce wal segment read path. (#13695)
+ * build: Update loki-build-image to Alpine 3.20.2 (#13744)
+ * fix: ast left cycular reference result in oom (#13501)
+ * docs: fix broken links due to Alloy docs reorg (#13715)
+ * docs: rewrite quickstart with Killercoda metadata (#13234)
+ * chore: fix some comments (#13724)
+ * feat(blooms): Add series & chunks per block metrics (#13721)
+ * fix: Use elements match in gapsBetweenTSDBsAndMetas test (#13722)
+ * feat: Ingester Stream Limit Improvements (#13532)
+ * chore: add service_name label earlier in the ingestion pipeline (#13702)
+ * fix: protect ruler remote-write overrides map with a mutex when creating new appenders (#13676)
+ * docs: Late review comments and linting (#13714)
+ * docs: Update Observability topic (#13323)
+ * chore(lint-error): remove unused `stepCount` in `engine.go` (#13709)
+ * chore: add congestion control to AWS (#13691)
+ * chore: log stats around chunks being flushed (#13699)
+ * chore: treat datasample queries the same as limited queries (#13700)
+ * fix: fixed typo in ruler URL (#13692)
+ * chore: Use boltdb Batch API for metastore writes (#13693)
+ * feat(operator): Add alert for discarded samples (#13512)
+ * fix(blooms): Ship chunkrefs in task payload (#13677)
+ * chore: use native histogram for metastore_request_duration_seconds (#13680)
+ * feat: instrument failed chunk encoding/decoding (#13684)
+ * docs: State limitations of bloom filters (#13673)
+ * fix: add missing flush op timeout (#13679)
+ * fix: Handle block offset exceeding chunk length in memchunk.go (#13661)
+ * feat: Ignore empty streams in distributor if all entries fail validation (#13674)
+ * fix: fix a bug where AppendRequest with no entries triggers flush (#13672)
+ * docs: Fixed link test (#13666)
+ * fix: special case the return values from a sharded first/last_over_time query (#13578)
+ * fix(blooms): Improve error wrap to make ignoreNotFound work when fetching blocks (#13656)
+ * docs: Send Data Alloy page + Interactive Examples (#13367)
+ * chore(helm): fix comment in values.yml (#13638)
+ * chore: Remove client header interceptors from metastore client (#13659)
+ * feat: add loki_ingester_rf1_segment_age_seconds metric (#13653)
+ * feat(detected-labels): remove cardinality filter (#13652)
+ * fix(helm): removed helm test (#13651)
+ * chore: move timestamps into SegmentWriter (#13644)
+ * feat: Implement GetObjectRange for all storage providers (#13650)
+ * fix: remove trailing backtick in verify-config for Loki 3.0 (#13640)
+ * fix: remove limit middleware for `detected_labels` (#13643)
+ * feat: Add baseline rf1 querier implementation (#13639)
+ * feat: remove mutexes from wal.SegmentWriter (#13641)
+ * feat(rf1): Add query path for the metastore (#13636)
+ * feat: Calculate the age of a WAL segment (#13637)
+ * feat(lambda-promtail): Adding S3 log parser support for AWS GuardDuty (#13148)
+ * fix(helm): fix imagePullSecrets for statefulset-results-cache (#13051)
+ * feat(rf1): Store index ref in metastore (#13613)
+ * fix(loki-mixin): Fix latency panel for Index Gateway (#13629)
+ * fix(blooms): Use correct key to populate blockscache at startup (#13624)
+ * fix: Keep blocks referenced by newer metas (#13614)
+ * fix(blooms): Cleanup temp blockdir in bloom compactor (#13622)
+ * chore(deps): update nginx docker tag to v1.27 (main) (#13620)
+ * fix(deps): update module github.com/gorilla/mux to v1.8.1 (main) (#13618)
+ * chore(deps): update confluentinc/cp-kafka docker tag to v6.2.15 (main) (#11283)
+ * docs: small update to doc loki-http-api.md (#13594)
+ * fix(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 (main) (#13615)
+ * feat(structured-metadata-api): add structured metadata to `/detected_fields` API (#13604)
+ * fix: remove retries on the stats handlers because they already retry (#13608)
+ * feat: Instrument rf1 write path with tracing (#13599)
+ * feat: Instrument metastore GRPC calls (#13598)
+ * chore: Remove excessive logging from bloom gateway (#13603)
+ * docs: add docs comparing native otlp ingestion vs loki exporter (#13574)
+ * fix: fix retry code to handle grpc status codes. updated newer stats retries to be wrapped with spans (#13592)
+ * fix: add a retry middleware to all the stats handlers (#13584)
+ * docs: added video for fluentd and fluent bit (#13579)
+ * feat: lambda-promtail; ensure messages to Kinesis are usable by refactoring parsing of KinesisEvent to match parsing of CWEvents + code cleanup (#13098)
+ * chore: do not shard log queries with empty filter (#13568)
+ * chore: shard limited queries with a fixed sharding factor (#13576)
+ * chore: replace pkg/errors with errors (#13583)
+ * chore: replace pkg/errors with errors (#13582)
+ * chore: replace pkg/errors with errors (#13581)
+ * feat: Bootstrap metastore for wal segments (#13550)
+ * fix(deps): update module github.com/docker/docker to v25.0.5+incompatible [security] (main) (#12279)
+ * fix(blooms): Fix eviction of multiple blockcache items (#13573)
+ * feat: Track when builders are doing work with a gauge (#13570)
+ * docs: Deprecated Notice for Grafana Agent + Updated Helm Concepts (#13461)
+ * fix: incorrect pod matcher for compactor in mixin when using ssd mode (#12846)
+ * build: Loki build and Docker updates (#13325)
+ * fix(operator): Set object storage for delete requests when using retention (#13562)
+ * feat: Update doc-validator version (#13558)
+ * fix: Dedup pattern tokens on output (#13534)
+ * fix: Retain original values in logfmt pattern tokenizer (#13535)
+ * fix: Fix panic in ingester.go (#13557)
+ * chore: Rename PendingItem to PendingSegment and clean up flush.go (#13554)
+ * chore: Remove redundant comments (#13553)
+ * chore: Use filesystem backed writer for blooms (#13522)
+ * fix: Fix log line for fingerprint not found (#13555)
+ * feat: Add CLI to inspect RF=1 WAL segments (#13552)
+ * chore: Clean up old streams periodically in RF-1 ingester (#13511)
+ * chore: refactor WAL Manager (#13551)
+ * chore: Clean up manager_test.go (#13549)
+ * chore: Use github.com/coder/quartz instead of time (#13542)
+ * chore(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.6.0 [security] (main) (#13434)
+ * chore: Remove unused const (#13544)
+ * chore: Remove size and duration logs now we have metrics (#13547)
+ * chore: Fix not ready error message in RF-1 Ingester (#13546)
+ * fix: Fixes span name of serializeRounTripper (#13541)
+ * chore: Use pool of bytes.Buffer instead of io.Pipe (#13543)
+ * feat: Remove flush loop and queue from Ingester RF-1 (#13538)
+ * fix(helm): Update yaml file `./production/helm/loki/Chart.yaml` (+1 other) (#13392)
+ * feat(helm): Support alibabacloud oss in helm chart (#13441)
+ * fix(helm): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13426)
+ * test: Add logging for empty blooms (#13537)
+ * fix(operator): Allow structured metadata only if V13 schema provided (#13463)
+ * feat: Add metrics for Ingester RF-1 (#13510)
+ * feat: WAL Manager configuration options (#13531)
+ * build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /cmd/chunks-inspect (#13433)
+ * docs: Add Explore Logs to Release Notes (#13529)
+ * fix: detected fields incorrect type bug (#13515)
+ * fix(blooms): Remove backoff from notify planner (#13506)
+ * fix(operator): Remove duplicate conditions from status (#13497)
+ * feat: improve placeholder replacement of byte sizes (#13508)
+ * chore: Improve test coverage of WAL Manager (#13498)
+ * chore: Remove unused metrics from Ingester-RF1 (#13499)
+ * fix: add logging to empty bloom (#13502)
+ * fix(blooms): skip empty blooms on reads (#13500)
+ * perf(blooms): Avoid tiny string allocations for insert cache (#13487)
+ * feat: downsample aggregated metrics (#13449)
+ * chore: Remove un-used errors from WAL Manager (#13496)
+ * chore: Small fixes to comments and ErrFull in manager.go (#13494)
+ * feat: Add metrics to WAL Manager (#13490)
+ * feat: Use WAL Manager (#13491)
+ * fix: Return empty vector instead of nil for empty evaluator. (#13485)
+ * fix(operator): Skip updating annotations for serviceaccounts (#13450)
+ * fix: Fix HPA ingester typo (#13158)
+ * refactor(blooms): Apply retention in planner (#13484)
+ * feat: WAL Manager (#13428)
+ * fix(query engine): Include lines with ts equal to end timestamp of the query range when executing range aggregations (#13448)
+ * docs: fix broken link (#13480)
+ * fix: Update Loki v3 Helm statefulset-ingester.yaml template (#13118)
+ * fix(operator): Support v3.1.0 in OpenShift dashboards (#13430)
+ * docs: Fix broken link (#13470)
+ * feat: RF1 improves replication stategy to support 1 replica (#13469)
+ * fix: Properly reset wal segment writer (#13468)
+ * feat(exporter): include boolean values in limit exporter (#13466)
+ * feat: Pattern ingesters add a limiter for high eviction rate (#13464)
+ * test: Add range aggregation test for instant queries (#13447)
+ * fix: Fix panic in BloomStore initialisation (#13457)
+ * docs: doc/promtail/journal: adds available labels paragraph (#11888)
+ * fix: Fixes pattern pruning stability (#13429)
+ * refactor(blooms): Improve task progress logging in builder (#13394)
+ * fix(gateway client): Fix nil pointer dereference panic when using ruler in ring mode (#13436)
+ * chore: Convert iterators in pattern module to `v2.Iterator` interface (#13407)
+ * docs: Add workaround instructions in upgrade guide for API changes (#13439)
+ * fix(log results cache): include pipeline wrapper disabled in cache key (#13328)
+ * feat(chunks-inspect): support structured metadata (#11506)
+ * feat(api)!: Fail log queries when executed on instant query endpoint (#13421)
+ * feat(operator): Update Loki operand to v3.1.0 (#13422)
+ * chore: Set memberlist func for ingester-rf1 init (#13424)
+ * fix: Remove query size limit for detected fields (#13423)
+ * chore: Refactor storage interface for rf1 (#13415)
+ * fix(operator): Watch for CredentialsRequests on CCOAuthEnv only (#13299)
+ * chore: use read-only index store for ingester RF1 (#13419)
+ * chore: Update CHANGELOG.md (#13417)
+ * feat: Drain uses different tokenizer based on log format (#13384)
+ * test: Fix flaky congestion test (#13410)
+ * feat(loki): Do not enforce max-query-bytes-read and max-querier-bytes-read in limited tripperware (#13406)
+ * chore: Improve performance of structured metadata (#13404)
+ * docs: update _index.md to reflect config file name and location change (#13390)
+ * fix: querier address in SingleBinary mode (#13297)
+ * feat: Use prefixed WAL storage path in Object Storage (#13377)
+ * chore: adjusted SegmentWriter to the reader conversion (#13342)
+ * feat: Ingester RF-1 (#13365)
+ * chore: Update Docker images to Go 1.22.5 (#13398)
+ * feat: exclude in pattern tokens (#13397)
+ * build: Update Loki build image to 0.33.4 (#13396)
+ * feat: exclude and from creating new tokens in patterns (#13395)
+ * perf: Limit tokens per pattern to 128 (#13376)
+ * fix(blooms): Delete outdated metas during planning (#13363)
+ * chore: Make dedicated iterator package (#13273)
+ * fix(blooms): Suppress error from resolving server addresses for blocks (#13385)
+ * feat(operator): Add support for the volume API (#13369)
+ * docs: Loki 3.1 release notes (#13386)
+ * docs: update Promtail doc (#13330)
+ * docs: fix broken link and add alt text (#13322)
+ * docs: More Alloy updates (#13336)
+ * perf: Gather aggregate per-line and per-tenant metrics for Drain patterns (#13368)
+ * chore(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.6.0 [security] (main) (#13199)
+ * fix(blooms): ensure tokenizer cache is reset between series (#13370)
+ * chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (main) (#13304)
+ * refactor(blooms): Better task naming (#13361)
+ * docs: Updated bucket names and added warning (#13347)
+ * refactor(blooms): Fix and improve build metrics (#13360)
+ * fix(sharding): use without() grouping when merging `avg_over_time` shard results (#12176)
+ * fix(retry): fix retries when using protobuf encoding (#13316)
+ * docs: Label filter expression: Change unit suffix suffix to proper case whe… (#13344)
+ * fix: support multi-zone ingesters when converting global to local limits for streams in limiter.go (#13321)
+ * perf: Prune unused pattern branches (#13329)
+ * fix(blooms): Remove unused arg (#13343)
+ * feat: convert WalSegmentWriter to io.ReadSeeker (#13340)
+ * fix(blooms): Minor fixes and improvements for testing in dev (#13341)
+ * fix: stream ownership check (#13314)
+ * refactor: Introduce context cause to our code (#13224)
+ * refactor(blooms): more easily testable day partitioning (#13331)
+ * chore(blooms): Various minor code cleanups (#13332)
+ * feat: Collect duplicate log line metrics (#13084)
+ * fix: Lint issues after merge to main (#13326)
+ * refactor(blooms): Implement retry in builder (#13306)
+ * refactor(blooms): Do not use sleeps on integration test (#13308)
+ * docs: Clarify Unit Requirement for Duration Comparison in Label Values (#13318)
+ * chore(mempool): Wait for buffer instead of returning error (#13298)
+ * docs: Update configuration.md (#13309)
+ * docs: Replace instances of k6.io/docs with grafana.com/docs/k6 (#13302)
+ * fix(blooms): Fix panic in bloom gateway (#13303)
+ * perf(blooms): always return bloom pages to allocator (#13288)
+ * refactor(blooms): Bloom building integration test (#13296)
+ * feat(wal): Benchmark and improve WAL writes using Reset. (#13272)
+ * feat(helm): Make gateway container port configurable. (#13294)
+ * perf(mempool): Replace `sync.Mutex` with `sync.Once` (#13293)
+ * fix(blooms): ignores bloom filtering errors in bounded shard query planning (#13285)
+ * perf(blooms): mempool no longer zeroes out buffers unnecessarily (#13282)
+ * fix(blooms): improves mempool metrics (#13283)
+ * refactor: Remove unnecessary spanlogger usage (#13255)
+ * feat: Add settings for cpu/mutex/block profiling options (#13278)
+ * chore(index-gateway): Improve instrumentation of index download/sync (#13194)
+ * feat(ingester): Smooth out chunk flush operations (#9994)
+ * chore(index-gateway): Download then extract in separate steps (#13202)
+ * feat(wal): Add sizing information to writer and reader. (#13267)
+ * fix: remove tenant label tagging from profiles to reduce cardinality (#13270)
+ * docs: Fix typos and style (#13230)
+ * chore: Update upgrade docs for -ruler.alertmanager-use-v2 (#13264)
+ * docs: fix typo causing broken link (#13258)
+ * perf: Re-introduce fixed size memory pool for bloom querier (#13172)
+ * refactor(blooms): Add metrics for per-tenant tasks progress to planner (#13078)
+ * feat: Introduce a new Object Storage WAL format. (#13253)
+ * feat: collect and serve pre-aggregated bytes and counts (#13020)
+ * chore: Change default version to Alertmanager APIv2 (#13263)
+ * feat: flush not owned streams (#13254)
+ * fix(mixin): various latency panels in operational dashboard should have ms unit type instead of seconds (#13260)
+ * feat: improve Owned Streams feature observability (#13232)
+ * fix(helm): fix extraObjects (#13107)
+ * fix: update fixed limit once streams ownership re-checked (#13231)
+ * fix: separates directory creation from permission checks (#13248)
+ * feat: Added getting started video for ingesting Otel logs (#13226)
+ * fix: Redo ingester profile tagging (#13239)
+ * docs: Update timestamp topic (#13207)
+ * docs: Update OTLP endpoint (#13235)
+ * ci: fix accidentally skipped package failures (#13240)
+ * chore: Checkin missing etcd.io/bbolt vendor files (#13228)
+ * chore: Update go.etcd.io/bbolt to v1.3.8 (#13227)
+ * fix: Init internal server log along with loki's server instance (#13221)
+
+-------------------------------------------------------------------
+Mon Sep 16 10:20:22 UTC 2024 - Michal Hrusecky
+
+- Add lokitool subpackage
+- Remove harden_promtail.service.patch as we are using service file shipped separately
+
+-------------------------------------------------------------------
+Mon Sep 16 07:46:33 UTC 2024 - michal.hrusecky@opensuse.org
+
+- Update to version 3.1.1+git.1723126694.89fe788d:
+ * chore: [release-3.1.x] fix(ci): fixed release-please manifest (#13811)
+ * chore: [release-3.1.x] fix(ci): add cleanup step into job `dist` (#13802)
+ * chore: [release-3.1.x] feat(loki): add ability to disable AWS S3 dualstack endpoints usage (#13795)
+ * chore: [release-3.1.x] feat: Update doc-validator version (#13796)
+ * fix(deps): bumped dependencies versions to resolve CVEs (#13789)
+ * chore: [release-3.1.x] docs: Update the Visualize topic (#13750)
+ * chore: [release-3.1.x] docs: fix broken links due to Alloy docs reorg (#13740)
+ * chore: [release-3.1.x] docs: rewrite quickstart with Killercoda metadata (#13737)
+ * chore: [release-3.1.x] chore: fix some comments (#13728)
+ * chore: [release-3.1.x] docs: Late review comments and linting (#13716)
+ * docs: Update Observability topic (#13323) (#13712)
+ * chore: [release-3.1.x] fix: fixed typo in ruler URL (#13697)
+ * chore: [release-3.1.x] docs: State limitations of bloom filters (#13682)
+ * chore: [release-3.1.x] docs: Fixed link test (#13669)
+ * chore: [release-3.1.x] docs: Send Data Alloy page + Interactive Examples (#13664)
+ * chore: [release-3.1.x] fix: remove trailing backtick in verify-config for Loki 3.0 (#13648)
+ * chore: [release-3.1.x] docs: small update to doc loki-http-api.md (#13617)
+ * chore: [release-3.1.x] docs: add docs comparing native otlp ingestion vs loki exporter (#13597)
+ * chore: [release-3.1.x] docs: added video for fluentd and fluent bit (#13587)
+ * chore: [release-3.1.x] docs: Add Explore Logs to Release Notes (#13530)
+ * chore: [release-3.1.x] docs: fix broken link (#13481)
+ * chore: [release-3.1.x] docs: fix typo causing broken link (#13477)
+ * chore: [release-3.1.x] docs: Fix broken link (#13472)
+ * chore: [release-3.1.x] docs: doc/promtail/journal: adds available labels paragraph (#13452)
+ * chore: [release-3.1.x] docs: Loki 3.1 release notes (#13403)
+ * chore: [k207] chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (main) (#13375)
+ * chore: [k207] fix(blooms): ensure tokenizer cache is reset between series (#13373)
+ * chore: [k207] feat: Add settings for cpu/mutex/block profiling options (#13281)
+ * chore: [k207] chore(index-gateway): Improve instrumentation of index download/sync (#13280)
+ * chore: [k207] chore: download then extract in separate steps (#13279)
+ * chore: [k207] fix: remove tenant label tagging from profiles to reduce cardinality (#13271)
+ * chore: [k207] fix: separates directory creation from permission checks (#13257)
+ * chore: [k207] fix: Init internal server log along with loki's server instance (#13256)
+ * chore: [k207] fix: Redo ingester profile tagging (#13246)
+ * feat: Optimize log parsing performance by using unsafe package (#13223)
+ * docs(helm): Fix broken `Values.yaml` link in the examples docs (#13219)
+ * fix: add detected_level info when the info word appears on log message (#13218)
+ * feat: add recalculateOwnedStreams to check stream ownership if the ring is changed (#13103)
+ * docs: remove redundant backticks from http api documentation (#13212)
+ * docs: fix query example for labels and values (#13213)
+ * fix(operator): add alertmanager client config to ruler template (#13182)
+ * feat: Update Loki monitoring docs to new meta monitoring helm (#13176)
+ * docs: Update Get-Started Labels (#13188)
+ * fix: Fix duplicate enqueue item problem in bloom download queue when do sync download (#13114)
+ * fix: errors reported by the race detector (#13174)
+ * chore(blooms): Some boom gateway cleanups (#13165)
+ * feat: Add backoff to flush op (#13140)
+ * fix(otel): Map 500 errors to 503 (#13173)
+ * fix: Correctly encode step when translating proto to http internally (#13171)
+ * fix: properly return http status codes from ingester to querier for RPC function calls (#13134)
+ * fix: add retry middleware to the "limited" query roundtripper (#13161)
+ * feat: Add new Drain tokenizer that splits on most punctuation (#13143)
+ * fix(orFilters): fix multiple or filters would get wrong filtertype (#13169)
+ * fix: Fix bloom deleter PR after merge (#13167)
+ * refactor(blooms): Delete outdated metas (#13153)
+ * feat(blooms): Blooms/v2 encoding multipart series (#13093)
+ * docs: Loki landing page (#13127)
+ * fix(regression): reverts grafana/loki#13039 to prevent use-after-free corruptions (#13162)
+ * fix: Fix indentation of query range values in helm (#12577)
+ * docs: Remove unnecessary whitespaces in YAML Helm installs templates (#13147)
+ * perf: Introduce fixed size memory pool for bloom querier (#13039)
+ * fix: Add copyString function to symbolizer to avoid retaining memory (#13146)
+ * feat: Updated SS and microservices deployment docs (#13083)
+ * refactor(blooms): Limit task retries in bloom planner (#13139)
+ * feat: Tune Patterns query drain instance (#13137)
+ * refactor(blooms): Forward created metas from builder to planner (#13133)
+ * fix(blooms): bloomshipper no longer returns empty metas on fetch (#13130)
+ * refactor(blooms): Implement retry mechanisms in planner (#13064)
+ * fix(mixins): Align loki-writes mixins with loki-reads (#13022)
+ * feat(promtail): Support of RFC3164 aka BSD Syslog (#12810)
+ * feat(detected-labels): include labels with cardinality > 1 (#13128)
+ * fix(operator): Improve API documentation for schema version (#13122)
+ * chore(operator): update the release-please config for next release (#13120)
+ * fix: Do not filter out chunks for store when `From==Through` and `From==start` (#13117)
+ * feat: Support negative numbers in LogQL (#13091)
+ * refactor(blooms): Build new metas and blocks (#13074)
+ * feat: Introduce `index audit` to `lokitool` (#13008)
+ * feat(canary): Add test to check query results with and without cache. (#13104)
+ * feat: API: Expose optional label matcher for label names API (#11982)
+ * docs: Fix link in examples (#13094)
+ * chore( operator): community release 0.6.1 (#12593)
+ * chore(operator): prepare community release v0.6.1 (#13105)
+ * fix(operator): Use a minimum value for replay memory ceiling (#13066)
+ * feat: add profile tagging to ingester (#13068)
+ * feat: Add utf8 support to Pattern Lexer to support utf8 chars (#13085)
+ * docs: Republish the sizing calculator but don't list it in the table of contents and don't index it (#13070)
+ * fix: Update expected patterns when pruning (#13079)
+ * feat: Add tokenizer interface for Drain Training (#13069)
+ * fix: Introduce feature flag for [last|first]_over_time sharding. (#13067)
+ * fix: Fix incorrect sorting of chunks in bloom-filtered response since `ChunkRef.Cmp` method is used in reverse (#12999)
+ * refactor(blooms): Builder retrieves tasks from planner (#13046)
+ * feat: Add ingester_chunks_flush_failures_total (#12925)
+ * feat: Increase drain max depth from 8 -> 30 (#13063)
+ * fix: temporarily moving from alloy -> alloy dev (#13062)
+ * docs: Update Grafana Agent to Grafana Alloy (#12602)
+ * docs: update otlp ingestion docs to correct some info and add more details (#12969)
+ * fix(helm): fix query-frontend and ruler targetPort 'http-metrics' in Service template (#13024)
+ * feat(blooms): Add counter metric for blocks that are not available at query time (#12968)
+ * feat: Added video and updated Grafana Agent -> Alloy (#13032)
+ * fix: Fix panic on requesting out-of-order Pattern samples (#13010)
+ * refactor(blooms): Add RPC service for bloom-planner (#13015)
+ * fix: not owned stream count (#13030)
+ * fix(helm): fix queryScheduler servicemonitor (#12753)
+ * fix: change log level since this is a known case (#13029)
+ * feat(helm): Support for PVC Annotations for Non-Distributed Modes (#12023)
+ * feat: Added Interactive Sandbox to Quickstart tutorial (#12701)
+ * feat: new stream count limiter (#13006)
+ * fix: allow cluster label override in bloom dashboards (#13012)
+ * fix: upgrade old plugin for the loki-operational dashboard. (#13016)
+ * fix: remove unneccessary disk panels for ssd read path (#13014)
+ * fix: Mixins - Add missing log datasource on loki-deletion (#13011)
+ * refactor(blooms): Add queue to bloom planner and enqueue tasks (#13005)
+ * docs: update otlp ingestion with correct endpoint and add endpoint to reference api docs (#12996)
+ * refactor(bloom planner): Compute gaps and build tasks from metas and TSDBs (#12994)
+ * feat: loki/main.go: Log which config file path is used on startup (#12985)
+ * chore: remove duplicate imports (#13001)
+ * fix(indexstats): do not collect stats from "IndexStats" lookups for other query types (#12978)
+ * feat: Added getting started video (#12975)
+ * feat(blooms): Separate page buffer pools for series pages and bloom pages (#12992)
+ * docs: Fix broken link in the release notes (#12990)
+ * docs(install-monolithic): add quotation marks (#12982)
+ * feat: Boilerplate for new bloom build planner and worker components. (#12989)
+ * feat(cache): Add `Cache-Control: no-cache` support for Loki instant queries. (#12896)
+ * fix: Track bytes discarded by ingester. (#12981)
+ * feat(reporting): Report cpu usage (#12970)
+ * perf: Replace channel check with atomic bool in tailer.send() (#12976)
+ * perf: Improve Detected labels API (#12816)
+ * feat: Add metrics for number of patterns detected & evicted (#12918)
+ * feat(bloom): Skip attempts to filter chunks for which blooms have not been built (#12961)
+ * fix(blooms): Disable metas cache on bloom gateway (#12959)
+ * fix: fix parsing of default per tenant otlp config (#12836)
+ * feat: improve performance of `first_over_time` and `last_over_time` queries by sharding them (#11605)
+ * docs: Update _index.md (#12814)
+ * docs: update NixOS wiki link (#12940)
+ * docs: fix typo ? (#12898)
+ * test: Added more test data for pattern detection tests (#12920)
+ * fix: Fix for how the loop sync is done (#12941)
+ * fix: panics when ingester response is nil (#12946)
+ * chore(logging): Add entry's timestamp when rejected with `too far behind` (#12933)
+ * fix(helm): fixed ingress paths mapping (#12932)
+ * fix: Defer closing blocks iter after checking error from loadWorkForGap (#12934)
+ * fix: Optimize regular initialization (#12926)
+ * fix(promtail): Fix bug with Promtail config reloading getting stuck indefinitely (#12795)
+ * test: First pass at unregistering metrics so that we can run multiple tests (#12927)
+ * style: fix function names (#12817)
+ * docs: Don't allow running new and old querier worker grpc clients (#12916)
+ * fix(helm): Fix GEL image tag, bucket name and proxy URLs (#12878)
+ * chore: Call `shardstreams.Config` by value instead of by reference (#12915)
+ * feat(detectedFields): Support multiple parsers to be returned for a single field (#12899)
+ * fix: Use an intermediate env variable in GH workflow (#12905)
+ * fix: Invalidate caches when pipeline wrappers are disabled (#12903)
+ * ci: force one time run of helm release for 5.48 (#12888)
+ * fix(blooms): Clean block directories recursively on startup (#12895)
+ * fix(blooms): Fix `partitionSeriesByDay` function (#12900)
+ * chore(blooms): records more bloom iteration stats (#12889)
+ * feat: Querier: Split gRPC client into two. (#12726)
+ * fix: Fix log level detection (#12651)
+ * fix(spans): corrects early-close for a few spans (#12887)
+ * docs: add GEL install to the Helm page (#12860)
+ * docs: Update release notes for 2.9.8 (#12881)
+ * chore(operator): Update Loki operand to v2.9.8 (#12874)
+ * chore(instrumentation): reintroduce span propagation across scheduler boundaries (#12880)
+ * fix: `codec` not initialized in downstream roundtripper (#12873)
+ * docs: Update logcli command reference (#12850)
+ * feat(detectedFields): add parser to response (#12872)
+ * docs: Consistent quoting in Template functions docs (#12833)
+ * chore: Add dashboards for Bloom Compactor and Gateway (#12855)
+ * docs(helm): Improve the helm's NOTES.txt (#12744)
+ * ci: make renovate commits come in as fixes (#12867)
+ * ci: [CI/CD] Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#12868)
+ * fix(packaging): Require online network in systemd unit file for Loki and Promtail (#12741)
+ * chore(blooms): additional spans for bloom read path (#12866)
+ * chore: reduces span footprint + double recording (#12864)
+ * feat(blooms): ignore individual bloom-gw failures (#12863)
+ * feat(blooms): Add in-memory LRU cache for meta files (#12862)
+ * docs: Update docker installation topic (#12770)
+ * fix: Ensure Drain patterns are valid for LogQL pattern match filter (#12815)
+ * docs: update the lokitool docs (#12805)
+ * fix(blooms): Handle not found metas gracefully (#12853)
+ * docs: Update template_functions.md (#12841)
+ * chore(blooms): Remove ID field from task struct (#12851)
+ * feat(blooms): ingester aware bounded impl (#12840)
+ * fix: Fix compactor matcher in the loki-deletion dashboard (#12790)
+ * chore: Add notes about promtail being feature complete (#12827)
+ * fix: Add missing Helm helper loki.hpa.apiVersion (#12755)
+ * fix(blooms): Do not fail requests when fetching metas from cache fails (#12838)
+ * fix: Fixes read & backend replicas settings (#12828)
+ * fix(blooms): Fully deduplicate chunks from FilterChunkRef responses (#12807)
+ * fix(blooms): dont break iterator conventions (#12808)
+ * feat(helm): Allow extraObject items as multiline strings (#12397)
+ * ci: Add lokitool to the dist target (#12830)
+ * feat(blooms): compute chunks once (#12664)
+ * docs: hint on line and timestamp functions in docs for line_format stage (#12740)
+ * docs: Add info about step param for Patterns API (#12803)
+ * feat: parameterise the MaximumEventAgeInSeconds, LogGroupName, and IAMRoleName for lambda-promtail CloudFormation template (#12728)
+ * fix: loki-operational.libsonnet (#12789)
+ * docs: Fix typo in structured-metadata.md (#12818)
+ * fix(ksonnet): Do not generate rbac for consul if you are using memberlist (#12688)
+ * feat(blooms): limit bloom size during creation (#12796)
+ * fix(promtail): Handle docker logs when a log is split in multiple frames (#12374)
+ * fix(blooms): Reset error on LazyBloomIter.Seek (#12806)
+ * feat: Generic logline placeholder replacement and tokenization (#12799)
+ * fix: add missing parentheses in meta monitoring dashboards (#12802)
+ * fix: remove unused parameter causing lint error (#12801)
+ * feat: Add a version of the mixin dashboards for meta monitoring (#12700)
+ * feat: Add step param to Patterns Query API (#12703)
+ * fix(blooms): Deduplicate filtered series and chunks (#12791)
+ * chore(loki-mixin): Fixes for `loki-reads` dashboard (#12788)
+ * test: Add mutex and setter/getter for addresses in test (#12793)
+ * chore(blooms): Instrument source bytes added to blooms directly (#12782)
+ * fix: promtail; clean up metrics generated from logs after a config reload. (#11882)
+ * docs: Helm: Don't show defaults for `loki` section (#12747)
+ * docs: update release docs (#12511)
+ * docs: order configuration template fileds alphabetically (#12771)
+ * feat: Updated best practises for labels (#12749)
+ * ci: release workflows get build image from makefile (#12778)
+ * docs: Update storage topics (v3.0) (#12768)
+ * chore(blooms): adds more instrumentation to block building (#12779)
+ * fix(blooms): Fix a regression introduced with #12774 (#12776)
+ * fix(blooms): Correctly return unfiltered chunks for series that are not mapped to any block (#12774)
+ * feat: Update getting started demo to Loki 3.0 (#12723)
+ * fix(workflows): don't run metric collector on forks (#12687)
+ * fix(nix): lambda-promtail vendor hash (#12763)
+ * ci: add a github workflow to verify that the release workflows are correct (#12603)
+ * fix(docs): Move promtail configuration to the correct doc (#12737)
+ * feat: add detected-fields command to logcli (#12739)
+ * feat: Detected labels from store (#12441)
+ * docs: fix broken link (#12757)
+ * docs: Update supported and deprecated type in Manage > Storage (#12742)
+ * test: Data race updates for memchunk tests (#12752)
+ * fix: helm: Set compactor addr for distributed mode. (#12748)
+ * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /pkg/push (#12694)
+ * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools/lambda-promtail (#12696)
+ * chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /operator (#12698)
+ * chore(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 (#12699)
+ * perf(blooms): Resolve bloom blocks on index gateway and shard by block address (#12720)
+ * fix(promtail): Fix UDP receiver on syslog transport (#10708)
+ * fix(docs): broken link in getting started readme (#12736)
+ * fix: update to build image 0.33.2, fixes bug with promtail windows DNS resolution (#12732)
+ * docs: Add Azure example configuration snippets (#12725)
+ * docs: Fix mangled admonition block in alerting/recording rule docs (#12733)
+ * ci: update drone image version to 0.33.2 (#12730)
+ * fix: Add missing OTLP endpoint to nginx config (#12709)
+ * chore(operator) Revert "feat(operator): Add support for Swift TLS CA configuration" (#12693)
+ * chore(helm): set Singlebinary as trigger for replicas (#12590)
+ * fix: updated all dockerfiles go1.22 (#12708)
+ * fix: make detected fields work for both json and proto (#12682)
+ * ci: update build image to use newer versions of jsonnet and other related tools (#12706)
+ * fix(mixin): dashboards $__auto fix (#12707)
+ * fix: mixin generation when cluster label is changed (#12613)
+ * feat: area/promtail: Added support to install wget on promtail docker image to support docker healthcheck (#11711)
+ * fix: Missing password for Loki-Canary when loki.auth_enabled is true (#12411)
+ * fix: Ingester zoneAwareReplication (#12659)
+ * ci: Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#12605)
+ * fix: Remove Hardcoded Bucket Name from EventBridge Example CloudFormation Template (#12609)
+ * feat: add toleration for bloom components (#12653)
+ * docs: unhide compactor GRPC config (#12587)
+ * feat: Enable log volume endpoint by default in helm (#12690)
+ * test: Add new tests for Drain pattern matching (#12655)
+ * operator: Add support for Swift TLS CA configuration (#11708)
+ * chore(helm): various helm fixes (#12675)
+ * perf: TSDB: Add fast-path to `inversePostingsForMatcher` (#12679)
+ * feat: Add pattern ingester support in SSD mode (#12685)
+ * fix: promtail race fixes (#12656)
+ * fix: Use to the proper config names in warning messages (#12114)
+ * fix: crrect initialization of a few slices (#12674)
+ * chore(operator): Update skipRange for next OpenShift release (#12676)
+ * ci: Fix promtail windows test github action (#12671)
+ * docs: fix mal formed link (#12677)
+ * chore(promtail): Update Promtail base image to Debian 12.5 (#12672)
+ * fix: Fix the lokitool imports (#12673)
+ * feat: add lokitool (#12166)
+ * fix: Updated Loki Otlp Ingest Configuration (#12648)
+ * fix(helm): Removed duplicate bucketNames from documentation and fixed key name `deploymentMode` (#12641)
+ * chore: Update reads and reads resources dashs (#12654)
+ * docs: add labels expressions to categories (#12607)
+ * fix: Add a missing `continue` in fuse which may cause incorrect bloom test result (#12650)
+ * docs: fix doc-validate errors due to config move (#12662)
+ * feat: split detected fields queries (#12491)
+ * docs: Add Promtail's `file_sd_configs` scrap_configs example (#11791)
+ * fix: incorrect compactor matcher in loki-deletion dashboard mixin (#12567)
+ * feat(blooms): record time spent resolving shards (#12636)
+ * fix(blooms): Fix findGaps when ownership goes to MaxUInt64 and that is covered by existing meta (#12558)
+ * chore: Restructure `indexgateway` component package (#12630)
+ * ci: add a github action for linting jsonnet (#12527)
+ * docs: add play link, correct errors to visualization instructions (#12604)
+ * docs: correct typo on api param (#12631)
+ * fix: fix setting of info log level when trying to detect level from log lines (#12635)
+ * feat: Enable log volume endpoint by default (#12628)
+ * docs: clarify upgrade behavior (#12578)
+ * docs: hide the sizing calculator until updated (#12598)
+ * fix: lambda-promtail, update s3 filename regex to allow finding of log files from AWS GovCloud regions (#12482)
+ * docs: helm: Update monolithic guide. (#12591)
+ * docs: Update publish-technical-documentation-next.yml (#12617)
+ * test: Fix deadlock in table_manager relating to Stop/SyncTables (#12597)
+ * docs: delete microservices reference (#12600)
+ * fix(query sharding): Generalize avg -> sum/count sharding using existing binop mapper (#12599)
+ * chore(operator): set release-as to avoid commit done in #12348 (#12596)
+ * feat: add warnings to metadata context directly (#12579)
+ * docs: add missing aliases for moved pages (#12580)
+ * test: 2 data race fixes (#12584)
+ * docs: Update 3.0 Release Notes (#12565)
+ * docs(operator): improved docs to run using kind (#12576)
+ * docs: Update CHANGELOG (#12564)
+ * chore: helm: Add headless service to bloom-gateway (#12562)
+ * feat: improve syntax parser for pattern (#12489)
+ * chore(operator): correct branch name on release-please workflows (#12573)
+ * docs: Refactor Loki configuration to be included via docs/shared (#12556)
+ * ci: Update publishing workflows (#12543)
+ * chore(operator): cleanup changelog for release-please (#12568)
+ * chore(operator): adds the workflow for release-please (#12450)
+ * chore: allow make docs to be run in container (#12563)
+ * docs: update release notes for 2.9.7 (#12560)
+ * chore(blooms): Remove noisy log line in index gateways (#12555)
+ * docs: Rename API file to support publishing in GEL docs (#12493)
+ * fix(operator): Bump golang builder to 1.21.9 (#12503)
+ * chore: [main] chore(release-2.9.x): release 2.9.7 (#12553)
+ * fix(operator): Configure Loki to use virtual-host-style URLs for S3 AWS endpoints (#12469)
+ * fix(helm): only default bucket names when using minio (#12548)
+ * docs: update page weights and menutitle (#12541)
+ * docs: fix changelog (#12544)
+ * docs: Correct release date for loki v3 (#12533)
+ * ci: Revert "ci: create build image version with go 1.21.9 and golangci 1.51.2" (#12485)
+ * docs: Update Release Notes page wweights (#12530)
+ * fix: make the tsdb filenames correctly reproducible from the identifier (#12536)
+ * docs: Minor fixes to zone-ingesters documentation (#10716)
+ * docs: Fix up storage page front matter (#12532)
+ * fix: close res body (#12444)
+ * docs: Loki 3.0 Release Notes (#12508)
+ * feat: include the stream we failed to create in the stream limit error message (#12437)
+ * docs: remove whitespace in links (#12525)
+ * ci: remove 3.0 release off main (#12522)
+ * feat!: update helm chart to support distributed mode and 3.0 (#12067)
+ * docs: proper fix for #12510 (#12516)
+ * chore: [main] chore(release-3.0.x): release 3.0.0 (#12518)
+ * docs: document service_name label in upgrade guide (#12517)
+ * fix: loki version prefix in Makefile (#12514)
+ * docs: Attempt to fix whatever broke the docs builds (#12510)
+ * ci: remove previous attempt at workflow that's outdated (#12405)
+ * docs: re-arrange upgrade guide (#12504)
+
-------------------------------------------------------------------
Thu Apr 04 13:33:01 UTC 2024 - michal.hrusecky@opensuse.org
@@ -2421,7 +4266,7 @@ Mon May 23 07:35:18 UTC 2022 - ecsos@opensuse.org
* WIP
* init
* init
-- Use BuildRequires: golang(API) = 1.17 instead of >=,
+- Use BuildRequires: golang(API) = 1.17 instead of >=,
because with go1.18 it stop mmediately and rise up an error:
"panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it
assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc
@@ -2470,7 +4315,7 @@ Mon Dec 13 13:56:26 UTC 2021 - ecsos@opensuse.org
Sun Dec 12 23:32:48 UTC 2021 - Robert Munteanu
- Move the logcli tool in a separate package, to allow users to install it
- without pulling in the full loki package
+ without pulling in the full loki package
-------------------------------------------------------------------
Wed Oct 6 06:11:13 UTC 2021 - Johannes Segitz
@@ -2484,7 +4329,7 @@ Wed Oct 6 06:11:13 UTC 2021 - Johannes Segitz
-------------------------------------------------------------------
Fri Jun 25 08:58:58 UTC 2021 - Stefano Torresi
-- Fix config fillup
+- Fix config fillup
-------------------------------------------------------------------
Fri May 28 07:51:35 UTC 2021 - Stefano Torresi
@@ -2512,7 +4357,7 @@ Mon Nov 9 13:15:42 UTC 2020 - Stefano Torresi
-------------------------------------------------------------------
Wed Sep 2 15:19:22 UTC 2020 - Stefano Torresi
-- Install binaries in /usr/bin instead of /usr/sbin since they're supposed to be ran by an unprivileged user.
+- Install binaries in /usr/bin instead of /usr/sbin since they're supposed to be ran by an unprivileged user.
-------------------------------------------------------------------
Thu May 28 16:59:26 UTC 2020 - dmaiocchi@suse.com
@@ -2682,9 +4527,9 @@ Fri Apr 17 11:26:33 UTC 2020 - Dario Maiocchi
-------------------------------------------------------------------
Mon Jul 1 17:15:41 UTC 2019 - JMC
-- Add compat macro for _fillupdir to allow builds in SLE12
+- Add compat macro for _fillupdir to allow builds in SLE12
-------------------------------------------------------------------
Mon Jul 1 14:40:56 UTC 2019 - João Cavalheiro
-- Initial commit (v0.1.0)
+- Initial commit (v0.1.0)
diff --git a/loki.obsinfo b/loki.obsinfo
new file mode 100644
index 0000000..37e4d38
--- /dev/null
+++ b/loki.obsinfo
@@ -0,0 +1,4 @@
+name: loki
+version: 3.5.3
+mtime: 1752701740
+commit: af52a690ce73867bbf9cecbf2d279c578aa99d2d
diff --git a/loki.spec b/loki.spec
index 68fc7fa..35e99d6 100644
--- a/loki.spec
+++ b/loki.spec
@@ -1,7 +1,7 @@
#
# spec file for package loki
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%global promtail_datadir /var/lib/promtail
Name: loki
-Version: 2.8.11+git.1711098663.aa89d817
+Version: 3.5.3
Release: 0
Summary: Loki: like Prometheus, but for logs
License: Apache-2.0
@@ -33,31 +33,32 @@ Source2: promtail.service
Source3: sysconfig.loki
Source4: sysconfig.promtail
Source99: series
-Patch0: harden_promtail.service.patch
-Patch1: proper-data-directories.patch
+Patch0: proper-data-directories.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: golang-packaging
BuildRequires: systemd-devel
-BuildRequires: golang(API) = 1.20
+BuildRequires: golang(API) = 1.24
Requires: logcli = %{version}
+Requires(pre): group(loki)
+Requires(pre): user(loki)
Requires: group(loki)
Requires: user(loki)
Requires(post): %fillup_prereq
%systemd_ordering
-###%%{go_nostrip}
-
%description
-Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
+Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation
+system inspired by Prometheus.
-This package contains the Loki server
+This package contains the Loki server.
%package -n promtail
Summary: Promtail Client
Group: System/Monitoring
%description -n promtail
-Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
+Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation
+system inspired by Prometheus.
This package contains the Promtail client.
@@ -66,25 +67,45 @@ Summary: LogCLI tool
Group: System/Monitoring
%description -n logcli
-Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
+Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation
+system inspired by Prometheus.
This package contains the LogCLI command-line tool.
+%package -n lokitool
+Summary: A command-line tool to manage Loki
+Group: System/Monitoring
+
+%description -n lokitool
+Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation
+system inspired by Prometheus.
+
+This package contains the lokitool command-line tool.
+
%prep
%autosetup -p1 %{name}-%{version}
%build
%define buildpkg github.com/grafana/loki/pkg/build
-export CGO_ENABLED=0
+DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
+BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}")
+
+%ifarch %{ix86} s390 s390x armv7l armv7hl armv7l:armv6l:armv5tel riscv64
+ export CGO_ENABLED=1
+%else
+ export CGO_ENABLED=0
+%endif
+
export GOFLAGS="-mod=vendor -buildmode=pie -tags=netgo"
-export GOLDFLAGS="-s -w -X %{buildpkg}.Version=%{version} \
- -X %{buildpkg}.Revision=%{release} \
- -X %{buildpkg}.Branch=NA \
- -X %{buildpkg}.BuildUser=NA \
- -X %{buildpkg}.BuildDate=NA"
+export GOLDFLAGS="-X %{buildpkg}.Version=%{version} \
+ -X %{buildpkg}.Revision=v%{version} \
+ -X %{buildpkg}.Branch=main \
+ -X %{buildpkg}.BuildUser=openSUSE \
+ -X %{buildpkg}.BuildDate=${BUILD_DATE}"
go build -ldflags="$GOLDFLAGS" ./cmd/loki
go build -ldflags="$GOLDFLAGS" ./cmd/logcli
+go build -ldflags="$GOLDFLAGS" ./cmd/lokitool
CGO_ENABLED=1 go build -ldflags="$GOLDFLAGS" --tags=promtail_journal_enabled ./clients/cmd/promtail
%install
@@ -107,6 +128,7 @@ install -Dm640 clients/cmd/promtail/promtail-local-config.yaml \
# Binaries
install -dm755 %{buildroot}%{_bindir}
install -Dm755 loki %{buildroot}%{_bindir}
+install -Dm755 lokitool %{buildroot}%{_bindir}
install -Dm755 promtail %{buildroot}%{_bindir}
install -Dm755 logcli %{buildroot}%{_bindir}
@@ -162,4 +184,7 @@ install -D -d -m 0750 %{buildroot}%{promtail_datadir} %{buildroot}%{loki_datadir
%files -n logcli
%{_bindir}/logcli
+%files -n lokitool
+%{_bindir}/lokitool
+
%changelog
diff --git a/proper-data-directories.patch b/proper-data-directories.patch
index 41ebce3..83233f4 100644
--- a/proper-data-directories.patch
+++ b/proper-data-directories.patch
@@ -1,8 +1,8 @@
-Index: loki-2.8.0+git.1680557182.90888a0c/cmd/loki/loki-local-config.yaml
+Index: loki/cmd/loki/loki-local-config.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/cmd/loki/loki-local-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/cmd/loki/loki-local-config.yaml
-@@ -6,11 +6,11 @@ server:
+--- loki.orig/cmd/loki/loki-local-config.yaml
++++ loki/cmd/loki/loki-local-config.yaml
+@@ -8,11 +8,11 @@ server:
common:
instance_addr: 127.0.0.1
@@ -17,42 +17,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/cmd/loki/loki-local-config.yaml
replication_factor: 1
ring:
kvstore:
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples.md
+Index: loki/docs/sources/operations/storage/filesystem.md
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/configuration/examples.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples.md
-@@ -44,7 +44,7 @@ common:
- kvstore:
- store: inmemory
- replication_factor: 1
-- path_prefix: /tmp/loki
-+ path_prefix: /var/lib/loki
-
- schema_config:
- configs:
-@@ -161,7 +161,7 @@ storage_config:
- secret_access_key: secret_access_key
-
- compactor:
-- working_directory: /tmp/loki/compactor
-+ working_directory: /var/lib/loki/compactor
- shared_store: bos
- ```
-
-@@ -214,7 +214,7 @@ storage_config:
- keyspace: lokiindex
-
- filesystem:
-- directory: /tmp/loki/chunks
-+ directory: /var/lib/loki/chunks
-
- ```
-
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/storage/filesystem.md
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/operations/storage/filesystem.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/storage/filesystem.md
-@@ -11,7 +11,7 @@ Very simply it stores all the objects (c
+--- loki.orig/docs/sources/operations/storage/filesystem.md
++++ loki/docs/sources/operations/storage/filesystem.md
+@@ -13,7 +13,7 @@ Very simply it stores all the objects (c
```yaml
storage_config:
filesystem:
@@ -61,76 +30,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/storage/filesy
```
A folder is created for every tenant all the chunks for one tenant are stored in that directory.
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/rules/_index.md
+Index: loki/clients/cmd/promtail/promtail-cloudflare.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/rules/_index.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/rules/_index.md
-@@ -19,8 +19,8 @@ ruler:
- storage:
- type: local
- local:
-- directory: /tmp/rules
-- rule_path: /tmp/scratch
-+ directory: /var/lib/loki/rules
-+ rule_path: /var/lib/loki/scratch
- alertmanager_url: http://localhost
- ring:
- kvstore:
-@@ -246,7 +246,7 @@ ruler:
- consul:
- host: consul.loki-dev.svc.cluster.local:8500
- store: consul
-- rule_path: /tmp/rules
-+ rule_path: /var/lib/loki/rules
- storage:
- gcs:
- bucket_name:
-@@ -261,12 +261,12 @@ The local implementation reads the rule
- A typical local configuration might look something like:
- ```
- -ruler.storage.type=local
-- -ruler.storage.local.directory=/tmp/loki/rules
-+ -ruler.storage.local.directory=/var/lib/loki/rules
- ```
-
- With the above configuration, the Ruler would expect the following layout:
- ```
--/tmp/loki/rules//rules1.yaml
-+/var/lib/loki/rules//rules1.yaml
- /rules2.yaml
- ```
- Yaml files are expected to be [Prometheus-compatible](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) but include LogQL expressions as specified in the beginning of this doc.
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/upgrading/_index.md
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/upgrading/_index.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/upgrading/_index.md
-@@ -1085,8 +1085,8 @@ Not every environment will allow this ca
- In 1.4.0 and earlier the included config file in the docker container was using directories:
-
- ```
--/tmp/loki/index
--/tmp/loki/chunks
-+/var/lib/loki/index
-+/var/lib/loki/chunks
- ```
-
- In 1.5.0 this has changed:
-@@ -1102,9 +1102,9 @@ This will mostly affect anyone using doc
-
- One possible upgrade path would look like this:
-
--If I were running Loki with this command `docker run -d --name=loki --mount source=loki-data,target=/tmp/loki -p 3100:3100 grafana/loki:1.4.0`
-+If I were running Loki with this command `docker run -d --name=loki --mount source=loki-data,target=/var/lib/loki -p 3100:3100 grafana/loki:1.4.0`
-
--This would mount a docker volume named `loki-data` to the `/tmp/loki` folder which is where Loki will persist the `index` and `chunks` folder in 1.4.0
-+This would mount a docker volume named `loki-data` to the `/var/lib/loki` folder which is where Loki will persist the `index` and `chunks` folder in 1.4.0
-
- To move to 1.5.0 I can do the following (please note that your container names and paths and volumes etc may be different):
-
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-cloudflare.yaml
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-cloudflare.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-cloudflare.yaml
+--- loki.orig/clients/cmd/promtail/promtail-cloudflare.yaml
++++ loki/clients/cmd/promtail/promtail-cloudflare.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -140,10 +43,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-cloudfla
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-docker-config.yaml
+Index: loki/clients/cmd/promtail/promtail-docker-config.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-docker-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-docker-config.yaml
+--- loki.orig/clients/cmd/promtail/promtail-docker-config.yaml
++++ loki/clients/cmd/promtail/promtail-docker-config.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -153,10 +56,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-docker-c
clients:
- url: http://loki:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-config.yaml
+Index: loki/clients/cmd/promtail/promtail-local-config.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-local-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-config.yaml
+--- loki.orig/clients/cmd/promtail/promtail-local-config.yaml
++++ loki/clients/cmd/promtail/promtail-local-config.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -166,10 +69,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-co
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-limit-config.yaml
+Index: loki/clients/cmd/promtail/promtail-local-limit-config.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-local-limit-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-limit-config.yaml
+--- loki.orig/clients/cmd/promtail/promtail-local-limit-config.yaml
++++ loki/clients/cmd/promtail/promtail-local-limit-config.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -179,10 +82,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-li
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-pubsub-config.yaml
+Index: loki/clients/cmd/promtail/promtail-local-pubsub-config.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-local-pubsub-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-pubsub-config.yaml
+--- loki.orig/clients/cmd/promtail/promtail-local-pubsub-config.yaml
++++ loki/clients/cmd/promtail/promtail-local-pubsub-config.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -192,56 +95,12 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-pu
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/lambda-promtail/_index.md
+Index: loki/operator/internal/manifests/internal/config/build_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/clients/lambda-promtail/_index.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/lambda-promtail/_index.md
-@@ -167,7 +167,7 @@ server:
- grpc_listen_port: 0
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://ip_or_hostname_where_Loki_run:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/configuration.md
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/clients/promtail/configuration.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/configuration.md
-@@ -2059,7 +2059,7 @@ server:
- grpc_listen_port: 0
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://ip_or_hostname_where_loki_runs:3100/loki/api/v1/push
-@@ -2085,7 +2085,7 @@ server:
- grpc_listen_port: 0
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://loki_addr:3100/loki/api/v1/push
-@@ -2111,7 +2111,7 @@ server:
- grpc_listen_port: 0
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://ip_or_hostname_where_Loki_run:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/config/build_test.go
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/operator/internal/manifests/internal/config/build_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/config/build_test.go
-@@ -31,7 +31,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+--- loki.orig/operator/internal/manifests/internal/config/build_test.go
++++ loki/operator/internal/manifests/internal/config/build_test.go
+@@ -40,7 +40,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -249,16 +108,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -61,7 +61,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -151,8 +151,8 @@ server:
+@@ -166,8 +166,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -268,24 +118,9 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -213,12 +213,12 @@ overrides:
- FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
- Port: 9095,
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -266,7 +266,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ index_gateway_client:
+@@ -300,7 +300,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -293,16 +128,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -296,7 +296,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -386,8 +386,8 @@ server:
+@@ -426,8 +426,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -312,39 +138,9 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -479,12 +479,12 @@ overrides:
- FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
- Port: 9095,
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -553,12 +553,12 @@ func TestBuild_ConfigAndRuntimeConfig_Cr
- FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
- Port: 9095,
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -605,7 +605,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ index_gateway_client:
+@@ -728,7 +728,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -352,16 +148,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -635,7 +635,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -754,15 +754,15 @@ ruler:
+@@ -882,15 +882,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -380,7 +167,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
ring:
kvstore:
store: memberlist
-@@ -779,8 +779,8 @@ server:
+@@ -908,8 +908,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -390,8 +177,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -843,7 +843,7 @@ overrides:
+ index_gateway_client:
+@@ -979,7 +979,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -400,23 +187,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -888,12 +888,12 @@ overrides:
- },
- },
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -941,7 +941,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+@@ -1088,7 +1088,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -424,16 +196,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -971,7 +971,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -1090,15 +1090,15 @@ ruler:
+@@ -1242,15 +1242,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -452,7 +215,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
ring:
kvstore:
store: memberlist
-@@ -1115,8 +1115,8 @@ server:
+@@ -1268,8 +1268,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -462,8 +225,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -1179,7 +1179,7 @@ overrides:
+ index_gateway_client:
+@@ -1339,7 +1339,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -472,23 +235,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -1225,12 +1225,12 @@ overrides:
- },
- },
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -1278,7 +1278,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+@@ -1449,7 +1449,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -496,16 +244,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -1308,7 +1308,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -1440,15 +1440,15 @@ ruler:
+@@ -1616,15 +1616,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -524,7 +263,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
ring:
kvstore:
store: memberlist
-@@ -1465,8 +1465,8 @@ server:
+@@ -1642,8 +1642,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -534,8 +273,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -1529,7 +1529,7 @@ overrides:
+ index_gateway_client:
+@@ -1713,7 +1713,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -544,23 +283,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -1592,12 +1592,12 @@ overrides:
- },
- },
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -1645,7 +1645,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+@@ -1840,7 +1840,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -568,16 +292,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
retention_enabled: true
retention_delete_delay: 4h
retention_delete_worker_count: 50
-@@ -1678,7 +1678,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -1773,8 +1773,8 @@ server:
+@@ -1975,8 +1975,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -587,24 +302,9 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -1901,12 +1901,12 @@ overrides:
- FQDN: "loki-compactor-grpc-lokistack-dev.default.svc.cluster.local",
- Port: 9095,
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -1957,7 +1957,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ index_gateway_client:
+@@ -2181,7 +2181,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -612,16 +312,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -1987,7 +1987,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -2132,15 +2132,15 @@ ruler:
+@@ -2361,15 +2361,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -640,7 +331,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
ring:
kvstore:
store: memberlist
-@@ -2157,8 +2157,8 @@ server:
+@@ -2387,8 +2387,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -650,8 +341,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -2221,7 +2221,7 @@ overrides:
+ index_gateway_client:
+@@ -2458,7 +2458,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -660,23 +351,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -2301,12 +2301,12 @@ overrides:
- },
- },
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -2354,7 +2354,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+@@ -2601,7 +2601,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -684,16 +360,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
tail_tls_config:
-@@ -2398,7 +2398,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -2524,8 +2524,8 @@ server:
+@@ -2777,8 +2777,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -703,24 +370,9 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -2625,12 +2625,12 @@ overrides:
- FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
- Port: 9095,
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-@@ -2678,7 +2678,7 @@ common:
- compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ index_gateway_client:
+@@ -2948,7 +2948,7 @@ common:
+ instance_port: 9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -728,16 +380,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -2708,7 +2708,7 @@ ingester:
- max_transfer_retries: 0
- wal:
- enabled: true
-- dir: /tmp/wal
-+ dir: /var/lib/loki/wal
- replay_memory_ceiling: 2500
- ingester_client:
- grpc_client_config:
-@@ -2853,15 +2853,15 @@ ruler:
+@@ -3128,15 +3128,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -756,7 +399,7 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
ring:
kvstore:
store: memberlist
-@@ -2878,8 +2878,8 @@ server:
+@@ -3154,8 +3154,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -766,8 +409,8 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
+ cache_location: /var/lib/loki/index_cache
cache_ttl: 24h
resync_interval: 5m
- shared_store: s3
-@@ -3018,7 +3018,7 @@ overrides:
+ index_gateway_client:
+@@ -3301,7 +3301,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -776,25 +419,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/c
EvaluationInterval: "1m",
PollInterval: "1m",
-@@ -3099,12 +3099,12 @@ overrides:
- },
- },
- },
-- StorageDirectory: "/tmp/loki",
-+ StorageDirectory: "/var/lib/loki",
- MaxConcurrent: MaxConcurrent{
- AvailableQuerierCPUCores: 2,
- },
- WriteAheadLog: WriteAheadLog{
-- Directory: "/tmp/wal",
-+ Directory: "/var/lib/loki/wal",
- IngesterMemoryRequest: 5000,
- },
- ObjectStorage: storage.Options{
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/pkg/promtail/promtail_test.go
+Index: loki/clients/pkg/promtail/promtail_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/pkg/promtail/promtail_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/pkg/promtail/promtail_test.go
+--- loki.orig/clients/pkg/promtail/promtail_test.go
++++ loki/clients/pkg/promtail/promtail_test.go
@@ -55,7 +55,7 @@ func TestPromtail(t *testing.T) {
util_log.Logger = logger
@@ -804,10 +432,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/pkg/promtail/promtail_test.go
positionsFileName := dirName + "/positions.yml"
err := os.MkdirAll(dirName, 0o750)
-Index: loki-2.8.0+git.1680557182.90888a0c/operator/docs/enhancements/ruler_support.md
+Index: loki/operator/docs/enhancements/ruler_support.md
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/operator/docs/enhancements/ruler_support.md
-+++ loki-2.8.0+git.1680557182.90888a0c/operator/docs/enhancements/ruler_support.md
+--- loki.orig/operator/docs/enhancements/ruler_support.md
++++ loki/operator/docs/enhancements/ruler_support.md
@@ -769,7 +769,7 @@ spec:
volumeMounts:
- name: "rules"
@@ -826,10 +454,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/docs/enhancements/ruler_suppo
/application/ns-a-recording-rule-a-kube-uid-b.yaml
/infrastructure/ns-b-alerting-rule-b-kube-uid-c.yaml
/infrastructure/ns-b-recording-rule-b-kube-uid-d.yaml
-Index: loki-2.8.0+git.1680557182.90888a0c/pkg/logcli/client/file_test.go
+Index: loki/pkg/logcli/client/file_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/pkg/logcli/client/file_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/pkg/logcli/client/file_test.go
+--- loki.orig/pkg/logcli/client/file_test.go
++++ loki/pkg/logcli/client/file_test.go
@@ -20,8 +20,8 @@ func TestFileClient_QueryRangeLogQueries
input := []string{
`level=info event="loki started" caller=main.go ts=1625995076`,
@@ -852,11 +480,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/pkg/logcli/client/file_test.go
`level=info event="loki ready" caller=main.go ts=1625996095`,
}
-Index: loki-2.8.0+git.1680557182.90888a0c/pkg/loki/config_wrapper_test.go
+Index: loki/pkg/loki/config_wrapper_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/pkg/loki/config_wrapper_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/pkg/loki/config_wrapper_test.go
-@@ -553,15 +553,15 @@ memberlist:
+--- loki.orig/pkg/loki/config_wrapper_test.go
++++ loki/pkg/loki/config_wrapper_test.go
+@@ -683,15 +683,15 @@ memberlist:
fsConfig := `common:
storage:
filesystem:
@@ -876,35 +504,24 @@ Index: loki-2.8.0+git.1680557182.90888a0c/pkg/loki/config_wrapper_test.go
// should remain empty
assert.EqualValues(t, defaults.Ruler.StoreConfig.GCS, config.Ruler.StoreConfig.GCS)
-@@ -761,8 +761,8 @@ storage_config:
- configString: `common:
- storage:
- filesystem:
-- chunks_directory: /tmp/chunks
-- rules_directory: /tmp/rules`,
-+ chunks_directory: /var/lib/loki/chunks
-+ rules_directory: /var/lib/loki/rules`,
- expected: config.StorageTypeFileSystem,
- },
- } {
-Index: loki-2.8.0+git.1680557182.90888a0c/pkg/loki/loki_test.go
+Index: loki/pkg/loki/loki_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/pkg/loki/loki_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/pkg/loki/loki_test.go
-@@ -181,7 +181,7 @@ server:
+--- loki.orig/pkg/loki/loki_test.go
++++ loki/pkg/loki/loki_test.go
+@@ -187,7 +187,7 @@ server:
grpc_listen_port: %d
common:
compactor_address: http://localhost:%d
- path_prefix: /tmp/loki
+ path_prefix: /var/lib/loki
+ instance_addr: localhost
ring:
kvstore:
- store: inmemory
-Index: loki-2.8.0+git.1680557182.90888a0c/production/ksonnet/loki/config.libsonnet
+Index: loki/production/ksonnet/loki/config.libsonnet
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/production/ksonnet/loki/config.libsonnet
-+++ loki-2.8.0+git.1680557182.90888a0c/production/ksonnet/loki/config.libsonnet
-@@ -359,7 +359,7 @@
+--- loki.orig/production/ksonnet/loki/config.libsonnet
++++ loki/production/ksonnet/loki/config.libsonnet
+@@ -381,7 +381,7 @@
},
ruler: if $._config.ruler_enabled then {
@@ -913,11 +530,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/production/ksonnet/loki/config.libsonn
enable_api: true,
alertmanager_url: 'http://alertmanager.%s.svc.cluster.local/alertmanager' % $._config.namespace,
enable_sharding: true,
-Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-distributed/config.yml
+Index: loki/production/nomad/loki-distributed/config.yml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/production/nomad/loki-distributed/config.yml
-+++ loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-distributed/config.yml
-@@ -114,7 +114,7 @@ ruler:
+--- loki.orig/production/nomad/loki-distributed/config.yml
++++ loki/production/nomad/loki-distributed/config.yml
+@@ -113,7 +113,7 @@ ruler:
enable_alertmanager_v2: true
enable_api: true
external_url: https://loki-ruler.service.consul
@@ -926,11 +543,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-distributed/conf
storage:
type: local
local:
-Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-simple/config.yml
+Index: loki/production/nomad/loki-simple/config.yml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/production/nomad/loki-simple/config.yml
-+++ loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-simple/config.yml
-@@ -66,7 +66,7 @@ ruler:
+--- loki.orig/production/nomad/loki-simple/config.yml
++++ loki/production/nomad/loki-simple/config.yml
+@@ -64,7 +64,7 @@ ruler:
enable_alertmanager_v2: true
enable_api: true
external_url: https://loki.service.consul
@@ -939,11 +556,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-simple/config.ym
storage:
type: local
local:
-Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki/config.yml
+Index: loki/production/nomad/loki/config.yml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/production/nomad/loki/config.yml
-+++ loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki/config.yml
-@@ -66,7 +66,7 @@ ruler:
+--- loki.orig/production/nomad/loki/config.yml
++++ loki/production/nomad/loki/config.yml
+@@ -64,7 +64,7 @@ ruler:
enable_alertmanager_v2: true
enable_api: true
external_url: https://loki.service.consul
@@ -952,10 +569,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki/config.yml
storage:
type: local
local:
-Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-journal.yaml
+Index: loki/clients/cmd/promtail/promtail-journal.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/clients/cmd/promtail/promtail-journal.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-journal.yaml
+--- loki.orig/clients/cmd/promtail/promtail-journal.yaml
++++ loki/clients/cmd/promtail/promtail-journal.yaml
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -965,69 +582,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-journal.
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/installation.md
+Index: loki/docs/sources/operations/troubleshooting.md
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/clients/promtail/installation.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/installation.md
-@@ -109,7 +109,7 @@ data:
- - url: https://{YOUR_LOKI_ENDPOINT}/loki/api/v1/push
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
- target_config:
- sync_period: 10s
- scrape_configs:
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/1-Local-Configuration-Example.yaml
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/configuration/examples/1-Local-Configuration-Example.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/1-Local-Configuration-Example.yaml
-@@ -9,7 +9,7 @@ common:
- kvstore:
- store: inmemory
- replication_factor: 1
-- path_prefix: /tmp/loki
-+ path_prefix: /var/lib/loki
-
- schema_config:
- configs:
-@@ -19,4 +19,4 @@ schema_config:
- schema: v11
- index:
- prefix: index_
-- period: 24h
-\ No newline at end of file
-+ period: 24h
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/4-BOS-Example.yaml
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/configuration/examples/4-BOS-Example.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/4-BOS-Example.yaml
-@@ -21,5 +21,5 @@ storage_config:
- secret_access_key: secret_access_key
-
- compactor:
-- working_directory: /tmp/loki/compactor
-- shared_store: bos
-\ No newline at end of file
-+ working_directory: /var/lib/loki/compactor
-+ shared_store: bos
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/6-Cassandra-Snippet.yaml
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/configuration/examples/6-Cassandra-Snippet.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples/6-Cassandra-Snippet.yaml
-@@ -19,5 +19,4 @@ storage_config:
- keyspace: lokiindex
-
- filesystem:
-- directory: /tmp/loki/chunks
--
-\ No newline at end of file
-+ directory: /var/lib/loki/chunks
-Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/troubleshooting.md
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/docs/sources/operations/troubleshooting.md
-+++ loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/troubleshooting.md
-@@ -34,7 +34,7 @@ Promtail yet. There may be one of many r
+--- loki.orig/docs/sources/operations/troubleshooting.md
++++ loki/docs/sources/operations/troubleshooting.md
+@@ -35,7 +35,7 @@ Promtail yet. There may be one of many r
them off. Here is what you can do:
- Start Promtail after Loki, e.g., 60 seconds later.
- To force Promtail to re-send log messages, delete the positions file
@@ -1036,23 +595,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/troubleshootin
- Promtail is ignoring targets and isn't reading any logs because of a
configuration issue.
- This can be detected by turning on debug logging in Promtail and looking
-Index: loki-2.8.0+git.1680557182.90888a0c/examples/getting-started/promtail-local-config.yaml
+Index: loki/examples/promtail-heroku/config.yml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/examples/getting-started/promtail-local-config.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/examples/getting-started/promtail-local-config.yaml
-@@ -4,7 +4,7 @@ server:
- grpc_listen_port: 0
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://gateway:3100/loki/api/v1/push
-Index: loki-2.8.0+git.1680557182.90888a0c/examples/promtail-heroku/config.yml
-===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/examples/promtail-heroku/config.yml
-+++ loki-2.8.0+git.1680557182.90888a0c/examples/promtail-heroku/config.yml
+--- loki.orig/examples/promtail-heroku/config.yml
++++ loki/examples/promtail-heroku/config.yml
@@ -4,7 +4,7 @@ server:
log_level: "info"
@@ -1062,10 +608,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/examples/promtail-heroku/config.yml
# This bit indicates what Loki instance to write the logs to. We’ll inject the
# details and credentials through environment variables
-Index: loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_dev.yaml
+Index: loki/operator/hack/addons_dev.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/operator/hack/addons_dev.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_dev.yaml
+--- loki.orig/operator/hack/addons_dev.yaml
++++ loki/operator/hack/addons_dev.yaml
@@ -87,7 +87,7 @@ spec:
volumeMounts:
- mountPath: /etc/promtail
@@ -1084,10 +630,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_dev.yaml
server:
http_listen_port: 3100
grpc_listen_port: 9095
-Index: loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_ocp.yaml
+Index: loki/operator/hack/addons_ocp.yaml
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/operator/hack/addons_ocp.yaml
-+++ loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_ocp.yaml
+--- loki.orig/operator/hack/addons_ocp.yaml
++++ loki/operator/hack/addons_ocp.yaml
@@ -84,7 +84,7 @@ spec:
volumeMounts:
- mountPath: /etc/promtail
@@ -1106,13 +652,13 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/hack/addons_ocp.yaml
server:
http_listen_port: 3100
grpc_listen_port: 9095
-Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/var.go
+Index: loki/operator/internal/manifests/var.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/operator/internal/manifests/var.go
-+++ loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/var.go
-@@ -40,9 +40,9 @@ const (
- rulesStorageVolumeName = "rules"
+--- loki.orig/operator/internal/manifests/var.go
++++ loki/operator/internal/manifests/var.go
+@@ -48,9 +48,9 @@ const (
storageVolumeName = "storage"
+ rulePartsSeparator = "___"
- walDirectory = "/tmp/wal"
- dataDirectory = "/tmp/loki"
@@ -1123,11 +669,11 @@ Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/var.go
rulerContainerName = "loki-ruler"
-Index: loki-2.8.0+git.1680557182.90888a0c/pkg/storage/hack/main.go
+Index: loki/pkg/storage/hack/main.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/pkg/storage/hack/main.go
-+++ loki-2.8.0+git.1680557182.90888a0c/pkg/storage/hack/main.go
-@@ -36,7 +36,7 @@ var (
+--- loki.orig/pkg/storage/hack/main.go
++++ loki/pkg/storage/hack/main.go
+@@ -37,7 +37,7 @@ var (
func main() {
cm := storage.NewClientMetrics()
defer cm.Unregister()
@@ -1136,9 +682,9 @@ Index: loki-2.8.0+git.1680557182.90888a0c/pkg/storage/hack/main.go
if err := fillStore(cm); err != nil {
log.Fatal("error filling up storage:", err)
}
-@@ -45,8 +45,8 @@ func main() {
+@@ -46,8 +46,8 @@ func main() {
- func getStore(cm storage.ClientMetrics) (storage.Store, error) {
+ func getStore(cm storage.ClientMetrics) (storage.Store, *config.SchemaConfig, error) {
storeConfig := storage.Config{
- BoltDBConfig: local.BoltDBConfig{Directory: "/tmp/benchmark/index"},
- FSConfig: local.FSConfig{Directory: "/tmp/benchmark/chunks"},
@@ -1147,11 +693,20 @@ Index: loki-2.8.0+git.1680557182.90888a0c/pkg/storage/hack/main.go
}
schemaCfg := config.SchemaConfig{
-Index: loki-2.8.0+git.1680557182.90888a0c/pkg/storage/store_test.go
+Index: loki/pkg/storage/store_test.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/pkg/storage/store_test.go
-+++ loki-2.8.0+git.1680557182.90888a0c/pkg/storage/store_test.go
-@@ -96,7 +96,7 @@ func Benchmark_store_SelectLogsBackward(
+--- loki.orig/pkg/storage/store_test.go
++++ loki/pkg/storage/store_test.go
+@@ -52,7 +52,7 @@ var (
+ m runtime.MemStats
+ ctx = user.InjectOrgID(context.Background(), "fake")
+ cm = NewClientMetrics()
+- chunkStore = getLocalStore("/tmp/benchmark/", cm)
++ chunkStore = getLocalStore("/var/lib/loki/benchmark/", cm)
+ )
+
+ // go test -bench=. -benchmem -memprofile memprofile.out -cpuprofile profile.out
+@@ -106,7 +106,7 @@ func Benchmark_store_SelectLogsBackward(
})
}
@@ -1160,21 +715,10 @@ Index: loki-2.8.0+git.1680557182.90888a0c/pkg/storage/store_test.go
// go run -mod=vendor ./pkg/storage/hack/main.go
// go test -benchmem -run=^$ -mod=vendor ./pkg/storage -bench=Benchmark_store_SelectSample -memprofile memprofile.out -cpuprofile cpuprofile.out
func Benchmark_store_SelectSample(b *testing.B) {
-@@ -194,8 +194,8 @@ func getLocalStore(cm ClientMetrics) Sto
- }
-
- storeConfig := Config{
-- BoltDBConfig: local.BoltDBConfig{Directory: "/tmp/benchmark/index"},
-- FSConfig: local.FSConfig{Directory: "/tmp/benchmark/chunks"},
-+ BoltDBConfig: local.BoltDBConfig{Directory: "/var/lib/loki/benchmark/index"},
-+ FSConfig: local.FSConfig{Directory: "/var/lib/loki/benchmark/chunks"},
- MaxChunkBatchSize: 10,
- }
-
-Index: loki-2.8.0+git.1680557182.90888a0c/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
+Index: loki/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
===================================================================
---- loki-2.8.0+git.1680557182.90888a0c.orig/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
-+++ loki-2.8.0+git.1680557182.90888a0c/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
+--- loki.orig/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
++++ loki/vendor/github.com/baidubce/bce-sdk-go/util/log/logger.go
@@ -18,7 +18,7 @@
// log to file with rotating. It is safe to be called by multiple goroutines.
// By using the package level function to use the default logger:
@@ -1193,3 +737,71 @@ Index: loki-2.8.0+git.1680557182.90888a0c/vendor/github.com/baidubce/bce-sdk-go/
ROTATE_SIZE_FILE_PREFIX = "rotating"
)
+Index: loki/examples/getting-started/loki-config.yaml
+===================================================================
+--- loki.orig/examples/getting-started/loki-config.yaml
++++ loki/examples/getting-started/loki-config.yaml
+@@ -22,7 +22,7 @@ schema_config:
+ prefix: index_
+ period: 24h
+ common:
+- path_prefix: /loki
++ path_prefix: /var/lib/loki
+ replication_factor: 1
+ compactor_address: http://backend:3100
+ storage:
+@@ -42,4 +42,4 @@ ruler:
+ bucketnames: loki-ruler
+
+ compactor:
+- working_directory: /tmp/compactor
+\ No newline at end of file
++ working_directory: /var/lib/loki/compactor
+Index: loki/production/docker/config/loki.yaml
+===================================================================
+--- loki.orig/production/docker/config/loki.yaml
++++ loki/production/docker/config/loki.yaml
+@@ -8,7 +8,7 @@ server:
+ log_level: info
+
+ common:
+- path_prefix: /loki
++ path_prefix: /var/lib/loki
+ compactor_address: http://loki-backend:3100
+ replication_factor: 3
+
+@@ -42,7 +42,7 @@ ingester:
+ chunk_idle_period: 1m
+ wal:
+ enabled: true
+- dir: /loki/wal
++ dir: /var/lib/loki/wal
+ max_chunk_age: 1m
+ chunk_retain_period: 30s
+ chunk_encoding: snappy
+@@ -54,7 +54,7 @@ ruler:
+ enable_api: true
+ enable_sharding: true
+ wal:
+- dir: /loki/ruler-wal
++ dir: /var/lib/loki/ruler-wal
+ evaluation:
+ mode: remote
+ query_frontend:
+@@ -62,8 +62,8 @@ ruler:
+ storage:
+ type: local
+ local:
+- directory: /loki/rules
+- rule_path: /loki/prom-rules
++ directory: /var/lib/loki/rules
++ rule_path: /var/lkib/loki/prom-rules
+ remote_write:
+ enabled: true
+ clients:
+@@ -139,4 +139,4 @@ querier:
+ query_ingesters_within: 2h
+
+ compactor:
+- working_directory: /tmp/compactor
++ working_directory: /var/lib/loki/compactor
diff --git a/series b/series
index be47516..a95d98b 100644
--- a/series
+++ b/series
@@ -1,2 +1 @@
-harden_promtail.service.patch
proper-data-directories.patch