From e61ed0e1014a98da0d0960543aaad82b2e13618a Mon Sep 17 00:00:00 2001
From: ecsos <>
Date: Apr 14 2023 11:29:49 +0000
Subject: Update loki to version 2.8.0+git.1680557182.90888a0c / rev 11 via SR 1079282
https://build.opensuse.org/request/show/1079282
by user ecsos + dimstar_suse
---
diff --git a/.files b/.files
index 0c9e8fc..720fa0a 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 6ab988a..1efa58d 100644
--- a/.rev
+++ b/.rev
@@ -80,4 +80,12 @@
992390
+
+ 300f0e4c9afb8ccd5beeebda1201a4ab
+ 2.8.0+git.1680557182.90888a0c
+
+ dimstar_suse
+
+ 1079282
+
diff --git a/.servicemark b/.servicemark
deleted file mode 100644
index d037888..0000000
--- a/.servicemark
+++ /dev/null
@@ -1 +0,0 @@
-a35970f0fa078a9f221e09df6ee1325b
diff --git a/_service b/_service
index eaf70ff..d4b47ad 100644
--- a/_service
+++ b/_service
@@ -5,7 +5,7 @@
.git
loki
@PARENT_TAG@+git.%ct.%h
- v2.6.1
+ v2.8.0
v(.*)
enable
diff --git a/_servicedata b/_servicedata
index 617a306..101a4b5 100644
--- a/_servicedata
+++ b/_servicedata
@@ -3,4 +3,4 @@
git://github.com/grafana/loki.git
525040a3265715ca8cfb52cd39108ccfac9f8af6
https://github.com/grafana/loki.git
- 6bd05c9a4399805b7951f8a3fb59f4aebf60e6cd
\ No newline at end of file
+ 90888a0cc737b60f29b8bed880a380731ae1e492
\ No newline at end of file
diff --git a/loki-2.6.1+git.1658128747.6bd05c9a4.tar.bz2 b/loki-2.6.1+git.1658128747.6bd05c9a4.tar.bz2
deleted file mode 120000
index 2e2c6da..0000000
--- a/loki-2.6.1+git.1658128747.6bd05c9a4.tar.bz2
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeiawfpddbehv3b5e7py6woqi24p25oz3xtuymicewotsbvk3ix3ag4
\ No newline at end of file
diff --git a/loki-2.8.0+git.1680557182.90888a0c.tar.bz2 b/loki-2.8.0+git.1680557182.90888a0c.tar.bz2
new file mode 120000
index 0000000..c191f2b
--- /dev/null
+++ b/loki-2.8.0+git.1680557182.90888a0c.tar.bz2
@@ -0,0 +1 @@
+/ipfs/bafybeifqamf3vpq5qth4ci7snjvv7q5bi3ddiqjhqthco67i4iqgw4qddi
\ No newline at end of file
diff --git a/loki.changes b/loki.changes
index ede166b..f3864ff 100644
--- a/loki.changes
+++ b/loki.changes
@@ -1,4 +1,1276 @@
-------------------------------------------------------------------
+Wed Apr 12 06:35:23 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.8.0+git.1680557182.90888a0c:
+ * [release-2.8.x] Change loki version in docs for 2.8 release (#8985) (#9000)
+ * [release-2.8.x] index-gateway: fix failure in initializing index gateway when boltdb-shipper is not being used (#8997)
+ * [release-2.8.x] Adding release cadence docs (#8980)
+ * [release-2.8.x] Fix fetched chunk from store size in metric (#8974)
+ * [release-2.8.x] Expose optional label matcher for label values handler (#8824) (#8960)
+ * [release-2.8.x] (chore): remove incorrect cache config preample (#8865)
+ * [release-2.8.x] Revert query optimizations (#8862)
+ * [release-2.8.x] json parser: fix panic when processing empty line (#8839)
+ * [release-2.8.x] fix to-string for noop label filters (#8801)
+ * Revert "Implement hierarchical queues for query scheduler (#8691)" (#8794)
+ * Impose per-request limit on label queries. (#8777)
+ * Loki: Add new logql template functions `bytes`, `duration`, `unixEpochMillis`, `unixEpochNanos`, `toDateInZone`, `b64Enc`, and `b64Dec` (#8774)
+ * Loki: add lines processed to metrics.go (#8764)
+ * Loki: remove `subqueries` from metrics.go logging and replace it with separate split and shard counters (#8761)
+ * Remove print statements introduced by #8727. (#8775)
+ * Loki: Change the behavior of the 0 value for retention_period to disable retention. (#8753)
+ * Changes from linter (#8769)
+ * Expand `which-release.sh` to cover weekly builds as well (#8768)
+ * Add initial implementation of per-query limits (#8727)
+ * Fix distributor latency panel (#8760)
+ * Modify debug loki build to work on any architecture, including ARM (#8758)
+ * Change severity of PromtailFileMissing alert to warning (#8757)
+ * Use changed metric in operational dashboard (#8749)
+ * Reimplement Unpack in terms of jsonparser rather than jsoniter (#8739)
+ * Reimplement JsonExpressionParser in terms of jsonparser (#8734)
+ * Implement hierarchical queues for query scheduler (#8691)
+ * deletion: fix issue in processing delete requests with tsdb index (#8665)
+ * operator: Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 (#8726)
+ * Loki-Mixin: Remove query-readiness panel (#8735)
+ * Fixing broken link (404) (#8688)
+ * Tools: add tool to determine which release (if any) a commit appears in (#8706)
+ * Promtail: Stop ticker to avoid leaking (#8695)
+ * operator: Fix gateway's nodeSelector and tolerations (#8707)
+ * Update retention_support.md (#8342)
+ * Make Loki Overrides public. (#8696)
+ * Use Line Filters in StringLabelFilter (#8659)
+ * Loki: Stop running tickers on deletes (#8697)
+ * Allow passing of context to query related limits functions (#8689)
+ * doc(best-practices): Update default value of `max_chunk_age`. (#8685)
+ * Loki Getting Started: Fix example query that was not working (#8668)
+ * Querier/Ruler: add histogram to track fetched chunk size distribution (#8682)
+ * WAL: store pointers in record pool (#8667)
+ * Optimize .+ regex line filter (#8646)
+ * operator: Fix version inconsistency in generated OpenShift bundle (#8666)
+ * Clean up scheduler code to prepare upcoming changes (#8643)
+ * Optimize Promtail wal writer to batch both series and entries record (#8489)
+ * [CI/CD] Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#8655)
+ * LID: Improve scheduler to control QoS across users within a tenant (#8585)
+ * S3: add support for s3 session token (#8474)
+ * Ruler: do not keep appending logger keys (#8650)
+ * Update CHANGELOG.md (#8633)
+ * [logcli] set default instead of error for parallel-max-workers validation (#8641)
+ * added missed binaries required to run `./tools/image-tag` script (#8640)
+ * Fixing broken link and removing out of date blog post. (#8632)
+ * Loki cloud integration instructions (and necessary mixin changes) (#8492)
+ * Helm: fix enterprise-logs license secret name (#8498)
+ * Helm chart auto update (#8331)
+ * Helm: update changelog CI comment (#8603)
+ * Helm: update changelog with changes from PR #8467 (#8601)
+ * Bump golang.org/x/net from 0.4.0 to 0.7.0 in /pkg/push (#8562)
+ * Bump golang.org/x/net from 0.5.0 to 0.7.0 (#8563)
+ * production: Add missing string formatter token to nginx.conf config map (#8580)
+ * Update prometheus/prometheus from 2.41 to 2.42 (#8571)
+ * chore: Fix typos in Helm documentation (#8593)
+ * chore: Cleanup label extraction expression (#8596)
+ * Iterators: re-implement entrySortIterator using loserTree for performance (#8351)
+ * Define Container for Codespaces (#8561)
+ * Helm enterprise-logs: update kubernetes secrets creation (#8467)
+ * Use 0.28.1 build image and update go and alpine versions (#8583)
+ * Bump golang.org/x/text from 0.3.7 to 0.3.8 in /operator (#8597)
+ * Clean up CHANGELOG (#8595)
+ * operator: Refactor status update to reduce API calls (#8578)
+ * operator: Store gateway tenant information in secret instead of configmap (#8577)
+ * Revert "Loki: Fix memchunk headblock filter" (#8594)
+ * Add logfmt selective label extraction (#6675)
+ * Loki: Fix memchunk headblock filter (#8591)
+ * operator: Remove deprecated field querier.engine.timeout (#8579)
+ * Fix ruler deadlock (#8486)
+ * Use golangci-lint v1.51.2 in build image (#8587)
+ * [RFR] fix vector() function produces wrong timestamp on instant query (#8370)
+ * feature: geoip stage in promtail (#3493)
+ * Update build image to go 1 20 1 and alpine 3 16 4 (#8575)
+ * Lambda-promtail: Add support for processing SQS messages, add promtailClient Type, add logger, upgrade dependencies and fix unexpected flushing behaviors (#8231)
+ * Promtail: Add ready endoint to loki-push-api server (#8552)
+ * helm: make multi tenant easy: use tenant id from nginx $remote_user (#8404)
+ * Replace deprecated inet.af/netaddr (#8560)
+ * lambda-promtail: Various Terraform fixes (#8549)
+ * Bump golang.org/x/net from 0.5.0 to 0.7.0 in /tools/lambda-promtail (#8556)
+ * fix(promtail): Make `cri` tags streams aware. (#8497)
+ * Document memcached configuration for caching. (#8373)
+ * Fix logcli parallel download deadlock. (#8553)
+ * S3 Storage Class Configuration (#8532)
+ * lambda-promtail: Add option to omit extra labels prefix `__extra_` (#8548)
+ * Fix regression in lambda-promtail tool that yields incorrect label names (#8547)
+ * logcli: Add parallel flags (#8518)
+ * Fixed XSS on LogQL Analyzer page (#8521)
+ * Fetch all entries with logcli if limit==0. (#8537)
+ * operator: Update Promtail and LogCLI addons to v2.7.3 (#8536)
+ * fix panics when cloning a special query (#8531)
+ * operator: Provide community operator bundle (#7308)
+ * Fix missing braces for service stanza (#8510)
+ * Helm: Remove unreleased setting from Helm chart configuration file (#8515)
+ * operator: update assume-no-moving-gc to fix go 1.20 (#8507)
+ * helm: azure config: don't set use_federated_token if false (#8513)
+ * DynamoDB: Accept a KMS key for DynamoDB tables (#8469)
+ * Temporarily unpublish Analyzer page. (#8503)
+ * Helm: add sleep argument to helm makefile on local development (#8502)
+ * helm: values to override read/write/backend paths in gateway config (#8490)
+ * Loki Documentation: corrected config example for loki.storage (#8277)
+ * correctly calculate max shards (#8494)
+ * Helm: add debug option to helm command for verbose output on local development (#8479)
+ * Loki: set a maximum number of shards for "limited" queries instead of fixed number (#8487)
+ * Loki: Process "Limited" queries sequentially and not in parallel (#8482)
+ * [new] chunk backend: Integrate Alibaba Cloud oss (#8410)
+ * Updated CONTRIBUTING file for docs. (#8431)
+ * [helm] Fix read-only /tmp in 3 targets mode (#8477)
+ * [helm] Bump to Loki 2.7.3 (#8445)
+ * Swift: Allow to configure swift with the internal endpoint (#8438)
+ * More precise sharding logic for `on|ignoring` (#8461)
+ * Fix parsing of vector expression (#8448)
+ * logs sharding astmapperware to spans in addition to logs (#8457)
+ * [helm] set compactor address (#8427)
+ * add section to prom operator instructions about necessary label (#8379)
+ * Put instance_addr in proper place in loki-local-config (#6106) (#8364)
+ * Usage stats reporter: fix to remove duplicate if block (#8392)
+ * [Helm] Allow to configure publishNotReadyAddresses on memberlist service (#8446)
+ * Improve installation instructions (#8454)
+ * Helm: Add podlabels to backend (#8398)
+ * Fix namespace rendering in provisioner job (#8449)
+ * Correct sizing tool unit in help text. (#8441)
+ * Fix reading logs from remote Docker daemon with TLS (#6909)
+ * [jsonnet] fix import ordering in loki.libsonnet (#8442)
+ * Promtail: Add event log message stage (#8382)
+ * Fix flaky `TestMicroServicesDeleteRequest` integration test (#8436)
+ * Fix broken cross-reference in Helm installation. (#8430)
+ * Update publishing workflows to use organization secret (#8435)
+ * Add OVHcloud to sizing tool (#8423)
+ * Fix numbering issue in second procedure. (#8429)
+ * operator: Add missing release section into the changelog (#8412)
+ * Promtail WAL support: Implement writer side (#8267)
+ * Bump version of `fluent-plugin-grafana-loki` to 1.2.20 (#8426)
+ * operator: Bump bundle OCP max version property to 4.15 (#8411)
+ * [helm] Single binary object storage (#8284)
+ * Update fluent-plugin-grafana-loki to Ruby 3.2 (#8421)
+ * Skip image validation (#8425)
+ * operator: Update operand Loki to v2.7.3 (#8397)
+ * LogQL: [optimization] syntax: Replace "panic" in "/pkg/logql/syntax" with "error" (#7208)
+ * [LogCLI] Load tenant-specific schema config file when using `--remote-schema` (#8413)
+ * Fix open "/tmp/*" the system cannot find the path specified on windows (#8170)
+ * Use portable output redirection (#8417)
+ * Bump docker/build-push-action from 2 to 4 (#8416)
+ * Bump google.golang.org/api from 0.108.0 to 0.109.0 (#8395)
+ * Upstream additional multi-zone ingester jsonnet (#8360)
+ * docs(monitor-and-alert): Fix typo in ServiceMonitor spelling (#7693)
+ * [Mixin] Update clusterlabel usage (#8247)
+ * Jsonnet: Allows gateway tenant ID to be configured (#7624)
+ * Re-stablish tailing websocket connection if it's closed unexpectedly. (#8374)
+ * Fix the ruler alertmanager_client documentation (#7474)
+ * Promtail: Add custom headers on push requests (#7470) (#7472)
+ * feat(promtail): add more complex options of dropping logs at the drop stage (#6371)
+ * Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#8385)
+ * Fix comparison in a delete request integration test (#8389)
+ * Add table of Loki versions in helm chart (#8383)
+ * Pin windows build Go version (#8387)
+ * Update GEL plugin in k3d env to latest (#8378)
+ * Snyk Workflow add (#8375)
+ * Reflect release 2.7.3 on main branch (#8372)
+ * Loki: Add the ability to wait on SIGTERM before shutting down (#8371)
+ * Clarify query performance in sizing tool. (#8327)
+ * Bump github.com/bmatcuk/doublestar from 1.2.2 to 1.3.4 (#8368)
+ * chore: Vendor `runtimeconfig` package patch (#8366)
+ * Cosmetic lint warning fixes (#8363)
+ * operator: Cleanup ruler resources when disabled (#8308)
+ * Helm: Align ingress timeout and size limits. (#8352)
+ * Display Memory request in sizing tool. (#8326)
+ * Sizing tool: Display units. (#8333)
+ * Docs: Improve/update examples page (#8338)
+ * Bump github.com/go-logfmt/logfmt from 0.5.1 to 0.6.0 (#8350)
+ * Bump cloud.google.com/go/pubsub from 1.27.1 to 1.28.0 (#8349)
+ * Sizing Tool: Set the minimum replias to 3. (#8329)
+ * Update index metrics (#8316)
+ * fix dashboard helper to use regex (#8319)
+ * Re-license and export `pkg/ingester` WAL code to be used in Promtail's WAL (#8315)
+ * Ensure a delete request interval of at least a second (#8340)
+ * operator: Update operand Loki to v2.7.2 (#8336)
+ * Only report test coverage when it changes (#8339)
+ * Zone aware ingesters (#7923)
+ * Loki: only log "executing query" once per query in the frontend (#8337)
+ * deletion: fix log deletion with line filters (#8151)
+ * Bump google.golang.org/grpc from 1.52.0 to 1.52.3 (#8335)
+ * Bump github.com/drone/envsubst from 1.0.2 to 1.0.3 (#8334)
+ * Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#8332)
+ * Use organization ISSUE_COMMANDS_TOKEN with reduced scope (#8325)
+ * Helm Chart release automation (step 1) (#8323)
+ * update helm for GEL 1.6.1 (#8304)
+ * [chore] update pkg/push version (#8312)
+ * Bump github.com/cristalhq/hedgedhttp from 0.7.0 to 0.7.2 (#8310)
+ * Bump github.com/Azure/go-autorest/autorest/azure/auth from 0.5.11 to 0.5.12 (#8309)
+ * Reduce distributor code duplication (#8293)
+ * LID: Remote Rule Evaluation (#8129)
+ * Loki: add apache2 license to newly refactored push module (#8305)
+ * Logproto: Extract push.proto from logproto package to the separate module (#8259)
+ * Reflect release 2.7.2 on main branch (#8299)
+ * retry+backoff querier->qf response (#8285)
+ * [helm] Fix helm dashboards (#8261)
+ * Bump github.com/felixge/fgprof from 0.9.2 to 0.9.3 (#8289)
+ * Bump github.com/aws/aws-sdk-go from 1.44.156 to 1.44.187 (#8288)
+ * Update Prometheus to v2.41, plus dependencies (#8290)
+ * Ruler: implement rule-based and shuffle sharding (#8092)
+ * Retry getting logs from pubsub forever (#8283)
+ * Use Loki build image 0.27.1 in CI (#8279)
+ * Helm: ensure valid label values when version has digest (#8260)
+ * Fix pubsub pull target (#8281)
+ * Update golang to 1.19.5 (#8278)
+ * Loki: Fix version info issue that shows wrong version (#7669, #8055) (#8232)
+ * logql: Support `urlencode` and `urldecode` template functions (#8271)
+ * Test docs build on PRs (#8274)
+ * Bump google.golang.org/api from 0.102.0 to 0.108.0 (#8275)
+ * promtail: Add `max-line-size-truncate` (#8233)
+ * Bump cloud.google.com/go/storage from 1.27.0 to 1.29.0 (#8276)
+ * Corrected typo (#8237)
+ * operator: Add watch on the Alertmanager in openshift-monitoring and decouple it from the user-workload AM (#8253)
+ * operator: Use gRPC instead of http for compactor communications (#8265)
+ * Helm: Default grafana dashboard label (#8188)
+ * Helm: Generalize enableStatefulSetAutoDeletePVC (#8193)
+ * fix remaining docs issues (#8263)
+ * [helm] add local k3d loki cluster (#8218)
+ * logs more metadata when failing to recover head from WAL in TSDB (#8250)
+ * enable responsive table (#7890)
+ * Make secret job fail when not logged in (#8215)
+ * Helm: Add selector to backend's volumeClaimTemplates (#8235)
+ * fixed logql-analyzer (#8258)
+ * Bump github.com/baidubce/bce-sdk-go from 0.9.111 to 0.9.141 (#8255)
+ * Setting Julie Stickler as codeowner for docs (#8257)
+ * index-store: fix indexing of chunks overlapping multiple schemas (#8251)
+ * Only print logger error when required (#8256)
+ * tsdb docs first pass (#8048)
+ * Change tests to bump sarama dependency (#8249)
+ * [Docs] Adding context to Istio installation. (#8248)
+ * Benchmark_store_SelectSample: stop accumulating results (#8242)
+ * Enalbe multi tenant queries on Helm test chart. (#8228)
+ * Helm: Add initContainers to write, backend, singleBinary templates (#8236)
+ * stores/series: always return entries to pool (#8245)
+ * Loki: Log hashed queries emitted by `metrics.go` (#8244)
+ * Do not exit when using `stream_lag_labels` setting (#8243)
+ * Match version flag using regex (#8241)
+ * Fix documentation linter errors (#8229)
+ * Docker compose: Update loki and promtail version tags to 2.7.1 (#8230)
+ * Remove dependency on thanos-io/thanos (#8227)
+ * Loki: Remove validation of matchers when performing label values lookup. (#8224)
+ * [loki-canary] Support passing loki address as environment variable (#8205)
+ * distributor: Fix `loki_mutated_bytes_total` metric increment (#8223)
+ * Bump github.com/mitchellh/go-wordwrap from 1.0.0 to 1.0.1 (#8222)
+ * ingester: Add `ingester_memory_streams_labels_bytes` metric (#8212)
+ * Update doc-validator to latest release (#8221)
+ * Docs fix: add missing sections on index.template file (#8216)
+ * place canary docs in their own package and fix links+description (#8217)
+ * Remove template alias from Helm chart reference (#8213)
+ * updating troubleshooting and upgrade changelog (#8206)
+ * Removing duplicated limits file and refactored references (#8210)
+ * Bump github.com/heroku/x from 0.0.50 to 0.0.55 (#8209)
+ * Use latest release of doc-validator image (#8211)
+ * Docs: Add doc-validator tool to lint technical documentation (#6569)
+ * promtail: Add doc for `max-line-size` flag. (#8202)
+ * promtail: Fix title and image path on `logrotation` doc (#8208)
+ * Helm - Loki: Introduce runtimeConfig (#8179)
+ * Helm: Fix components notes (#8194)
+ * [docs] Clarify for what version the Helm chart docs are applicable (#8172)
+ * Helm: Add ingester config in helm values (#7733)
+ * Helm chart: Add enableServiceLinks (#7129)
+ * Remove the stream lag metric. (#6324)
+ * Revert "fix(logql): remove __error_details__ label on drop __error__ or other way around" (#8200)
+ * doc(promtail): Doc about how log rotate works with promtail. (#8096)
+ * Helm: Add Table Manager support to Loki helm chart (#8098)
+ * [helm] Fix self-monitoring tenant secret (#8198)
+ * support single & double hyphen arguments in version printing (#8199)
+ * [docs] fix dead link in the docker client documentation (#8196)
+ * fix(logql): remove __error_details__ label on drop __error__ or other way around (#8150)
+ * Bump github.com/spf13/afero from 1.9.2 to 1.9.3 (#8191)
+ * Do not run release stage when check stage fails (#8175)
+ * operator: Add watch on the Alertmanager in OCP's user-workload-monitoring namespace (#8038)
+ * limits: add tenant to log lines for per-stream rate-limited and out-of-order errors (#8177)
+ * Display replicas, cores and nodes in sizing tool. (#8088)
+ * fix broken drone image for arm builds (#8186)
+ * operator: Remove custom webhook cert mounts for OLM-based deployment (#8173)
+ * [helm] allow provisioned tokens to be created in different namespaces (#8081)
+ * Revert "[loki-canary] Support passing loki address as environment variable (#8024)" (#8183)
+ * Alerts: Exclude '/schedulerpb.SchedulerForQuerier/QuerierLoop' route in LokiRequestLatency alert (#8138)
+ * Bump github.com/imdario/mergo from 0.3.12 to 0.3.13 (#8176)
+ * Minor LID fixes (#8167)
+ * promtail: Add `max-line-size` limit to drop on client side (#8153)
+ * doc(distributor): Clarify `distributor.max-line-size` flag. (#8165)
+ * Removing "replace" directive for line-buffered logger (#8162)
+ * Bump golang.org/x/time from 0.1.0 to 0.3.0 (#8161)
+ * Emit help message when check-mod fails (#8157)
+ * Bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 (#8159)
+ * Fix link to CONTRIUTING.md in PR template (#8156)
+ * Update vendored dskit (#8155)
+ * lambda-promtail-: fix parse kinesis timestamp (#7158)
+ * fixes bug with queryIngesterWithin logic in asyncStore ingester stats… (#8145)
+ * run 'make doc' and commit the changes (#8142)
+ * Update README.md (#7799)
+ * Helm: Use image tag for version labels in kubernetes resources (#8135)
+ * operator: Fix docs for OpenShift Data Foundation storage uses bucketnames instead of bucketname (#8139)
+ * Documentation: Add installation instructions for Istio (#4812)
+ * Move to fork github.com/grafana/cloudflare-go (#8133)
+ * Bump github.com/prometheus/common from 0.38.0 to 0.39.0 (#8134)
+ * lambda-promtail: remove duplicate key in terraform config sample (#8137)
+ * [jsonnet] port some common jsonnet for statefulset and ingester creation (#7039)
+ * Loki: Add support for Azure Workload Identity authentication (#7540)
+ * resolves #5950 (input header error) (#7829)
+ * Docs: fix helm ssd typo (#7959)
+ * skip compacting tables that do not fit in start and end date of desired schema config (#8127)
+ * Cross build Promtail for ARM with journald support. (#8131)
+ * Fix labels for alerts (#7886)
+ * Update README.md (#8132)
+ * Fix logentry drop to more intuitively match numeric fields (fixes #7011) (#7292)
+ * Fixing test regression (#8130)
+ * Correct template and LID (#8128)
+ * Improve the JSON parser performance. (#7723)
+ * helm: Add `appProtocol: tcp` to headless grpc ports (#7990)
+ * Helm: fix ruler config storage regression (#8071)
+ * chore(go.mod): Remove unnecessary grpc contraints from `weaveworks/common` (#8125)
+ * Go mod tidy (#8126)
+ * helm: fix autoscaling/v2 template (#8043)
+ * feat(logql): Support drop labels in logql pipeline (#7975)
+ * Promtail: Improve LabelsMap CPU performance (#7882)
+ * Bump helm/kind-action from 1.4.0 to 1.5.0 (#7970)
+ * update local docker-compose file to provision the Loki data source (#7869)
+ * Minor fixups to LIDs (#8124)
+ * Helm: Add missing azure check (#8113)
+ * Loki Improvement Documents (LIDs) (#8056)
+ * Remove flaky helm test (#8122)
+ * operator: Add API validation to Alertmanager header auth config (#8001)
+ * Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100)
+ * operator: Fix docs minio storage uses bucketnames instead of bucketname (#8116)
+ * Remove public key used for signing helm charts as we are removing chart signing (#8104)
+ * Bump github.com/alicebob/miniredis/v2 from 2.22.0 to 2.30.0 (#8119)
+ * scheduler: fix panic on hitting /scheduler/ring when ring is disabled (#8120)
+ * Bump golangci/golangci-lint-action from 3.2.0 to 3.3.1 (#7689)
+ * Install build dependencies to cross build promtail. (#8111)
+ * Bump actions/checkout from 3.1.0 to 3.3.0 (#8070)
+ * Enhance sizing tool documentation. (#8079)
+ * Add toggle for persistence disk in single-binary mode (#7778)
+ * Promtail Docs: Clarifiy labels and timestamps set by cri stage (#7521)
+ * Add dependabot.yml to ignore ieproxy dependency version (#7643)
+ * Fix json stage fields in example (#7654)
+ * Fixed a typo and made a small edit to the Helm monolithic setup doc. (#8109)
+ * [helm] add third scalable target `backend` (#7920)
+ * lambda-promtail: Add support for VPC flow Logs to lambda-promtail (#7868)
+ * Change delimiter in test "sed" command to ':' (#8108)
+ * [helm] fix race between minio bucket job and enterprise tokengen job (#8064)
+ * Promtail: Add configuration to drop batches when rate limited by Loki (#7973)
+ * Update publishing workflows to use PATs with fine-grained access control (#8062)
+ * operator: Fix status not updating when state of pods changes (#8087)
+ * Add drone env vars to test output to distinguish the 2 unit test runs. (#8093)
+ * Helm: Remove signing of helm charts (#8099)
+ * Bump github.com/prometheus/exporter-toolkit from 0.7.1 to 0.7.3 in /operator (#8089)
+ * Promtail: Remove noisy error message when cleaning up filesystem watches which are already removed. (#8086)
+ * Lambda-promtail: Add skip tls verify option (#8059)
+ * Use GiB and bytes for sizing tool. (#8078)
+ * Fixed typo in Helm values docs (#8075)
+ * Add config for optional pod labels (#7594)
+ * [Helm] Add the ability to add extraObjects (#8004)
+ * Helm: add support for memcached client addresses (#7995)
+ * [Docs] Remove outdated canary logo (#8035)
+ * Bump golang.org/x/oauth2 from 0.1.0 to 0.4.0 (#8045)
+ * Add stream sharding docs (#7901)
+ * [helm] Add a flag to enable/disable persistentVolumeClaimRetentionPolicy feature (#7640)
+ * Add docker-driver pipeline (#8083)
+ * Use new build image everywhere (#8063)
+ * Helm: Fix loki helm chart podLog relabelings template nindent (#8080)
+ * config_wrapper: Add support for named stores (#7946)
+ * ksonnet/loki: Hide keys that reference loki image (#6633)
+ * Add loki-operator multi-arch image manifest (#8073)
+ * [DOC] Fix broken links in docs (#8065)
+ * chore: fix drone drift (#8072)
+ * operator: Use lokistack-gateway replicas from size table (#8068)
+ * dashboards: add k8s resource requests to CPU and memory panels (#8047)
+ * chore(ci): Remove CircleCI (#8061)
+ * Avoid failing tests on gRPC server shutdown errors (#8060)
+ * [loki-canary] Fix changelog (#8052)
+ * Loki: add a 'since' query parameter for easier querying using relative time (#7964)
+ * Add empty k3d cluster for testing helm chart (#7984)
+ * [loki-canary] Support passing loki address as environment variable (#8024)
+ * [Helm] Add the ability to specify container lifecycle (#8010)
+ * Docs: Fix promtail installation doc (#8007)
+ * Docs: Removed unnecessary s3 value from example (#8017)
+ * Fix Issue 6929 - Duplicate log lines querying Loki (#8019)
+ * Fix chunks-inspect reports zstd compressed chunks as lz4-256k (#8028)
+ * fix(logql): fix caseinsensitive search in filter (#8037)
+ * Helm: Use stable autoscaling/v2 if possible (#7416)
+ * [new feature] logql:support sort and sort_desc (#7989)
+ * fix bugs in logs results caching and its tests (#7925)
+ * Update build image and use in drone yaml (#8029)
+ * Improve comments on sample timestamp validation errors (#8018)
+ * Use gotestsum to run unit tests (#8022)
+ * Shut down query frontend gracefully (#7978)
+ * chore(promtail): Make `batchwait` and `batchsize` config explicit with yaml tags. (#8027)
+ * make query-frontend service grpc lb friendly (#8025)
+ * updated versions to the latest release v2.7.1 (#7940)
+ * Update log queries regex documentation (#8002)
+ * Add count to template functions (#7951)
+ * store: write overlapping chunks to multiple stores (#7988)
+ * Fix various linter errors
+ * fix(promtail): Fix cri tags extra new lines. (#7997)
+ * Revert "Update Ingester Rate Calculations (#7652)" (#7991)
+ * Add missing period_config root block to doc generator (#7981)
+ * Add README file to doc-generator tool (#7983)
+ * Add store & cache download statistics (#7982)
+ * Fix links to configuration page (#7164)
+ * operator: Configure Alertmanager per-tenant (#7839)
+ * fix query-frontend request load balancing when using k8s service (#7966)
+ * Fix typo (#7956)
+ * Fix min and max aggregations when using instant queries. (#7957)
+ * fix error helm install monolithic path (#7948)
+ * Show help tooltip on hover in sizing tool. (#7919)
+ * Fix validation for pattern and rexexp parsers to they don't panic in query-frontend (#7926)
+ * [helm] control order provisioner and tokengen jobs run in (#7939)
+ * Add CI step to check generated documentation to check pipeline (#7938)
+ * Deprecate CLI flag -ruler.wal-cleaer.period in favor of CLI flag -ruler.wal-cleaner.period (#7937)
+ * feat(logql): Supporting prettifying LogQL expressions (#7906)
+ * Flush buffered logger on exit. (#7924)
+ * Move to fork github.com/grafana/gomemcache (#7936)
+ * Move to fork github.com/grafana/tail (#7931)
+ * Fix documentation typos from #7916 (#7934)
+ * Add configuration documentation generation tool (#7916)
+ * doc(api): Default value for `delete_ring_tokens` on `/ingester/shutdown` endpoint (#7921)
+ * Helm: Decouple the Canary from self-monitoring (#7757)
+ * [Jsonnet] Fix memberlist when using a stateful ruler (#6662)
+ * Add 3rd target (`backend`) to SSD/Scalable mode (#7650)
+ * Remove duplicate sizing tool (#7917)
+ * Fix sizing tool. (#7899)
+ * Bump azure/setup-helm from 1 to 3 (#7608)
+ * Fix typo in helm install monolithic docs (#7909)
+ * Update dskit to latest commit
+ * operator: Update Loki operand to v2.7.1 (#7910)
+ * promtail: ratelimiting by label (#7597)
+ * Prepare changelog and release notes for 2.7.1 (#7895)
+ * Introduce sizing tool to documentation page. (#7830)
+ * build(deps): bump golang.org/x/crypto from 0.1.0 to 0.4.0 (#7883)
+ * consider range and offset in queries while looking for schema config for query sharding (#7880)
+ * [helm] Release 3.6.1 to reintroduce PrometheusRule alerts (#7873)
+ * build(deps): bump cloud.google.com/go/bigtable from 1.3.0 to 1.18.1 (#7850)
+ * Promtail: Fix broken promtail-debug docker image (#7852)
+ * fix small typo (#7874)
+ * Fixing a typo in configuration.md (#7878)
+ * Update v2-7.md (#7857)
+ * Fix broken canary loki alerts (#7860)
+ * Fix alertmanager per tenant override config behavior (#7805)
+ * Loki: Add one additional bucket to `rate_store_stream_shards` (#7856)
+ * Update Prometheus dependency to latest release (v2.40.4) (#7826)
+ * rerun make drone so the newest build image is used (#7849)
+ * Update build image references to 0.25.0 (#7848)
+ * loki-build-image: update faillint (#7841)
+ * Revert "Make some stream shard metrics per-tenant (#7838)" (#7842)
+ * [helm] Bump helm Loki and GEL version (#7760)
+ * Make some stream shard metrics per-tenant (#7838)
+ * Log query string on retry alongside the error (#7834)
+ * fix(memcached): use `default` branch avoid writing to closed chan (#7833)
+ * guard against divide by 0 when splitting parallelism (#7831)
+ * Loki: Modified heroku drain target to make any url query parameters available as labels (#7619)
+ * Improve ratestore performance (#7810)
+ * [bugfix] scheduler: Gracefully shutdown querier when using query-scheduler (#7735)
+ * fix(memcached): panic on `send on closed channel`. (#7817)
+ * Better error message for empty selector queries (#6936)
+ * operator: Apply delete client changes for compat with release-2.7.x (#7815)
+ * [Helm] Remove unused value and set default values explicitly (#7576)
+ * fix lint issues from PR 7804 (#7814)
+ * [Helm] Add support for azure blob storage (#7500)
+ * use grpc for communicating with compactor for query time filtering of data requested for deletion (#7804)
+ * promtail: Handle nil error on target Details() call (#7771)
+ * loki-canary: respect `useTLS` flag when `push` mode is enabled. (#7701)
+ * operator: Fix alert unit tests (#7812)
+ * Remove hardwired '127.0.0.1' values in default addresses (#7784)
+ * operator: Fix histogram-based alerting rules (#7809)
+ * operator: Replace fifocache usage by embedded_cache (#7808)
+ * Loki: Add new sharding metrics (histogram based) (#7762)
+ * Provide Terraform script for setting up S3 and document role based access. (#7656)
+ * [performance] metrics query: range vector support streaming agg when no overlap (#7380)
+ * fluent-bit: Update the Fluent Bit plugin README with correct golang minimum version (#7302)
+ * operator: Check for mandatory CA configmap name in ObjectStorageTLS spec (#7753)
+ * helm/loki: Allow to override default loki `target` (#7791)
+ * Log rule changes through API. (#7790)
+ * Docs - Move PR's in CHANGELOG.md that weren't actually implemented in 2.7.x (#7690)
+ * fifocache config is deprecated. use embedded-cache instead (#7800)
+ * Update Ingester Rate Calculations (#7652)
+ * docs(embedded-cache): config uses embedded_cache (#7797)
+ * Completing step 2 of updating loki-build-image (#7796)
+ * Improvements to loki-build-image build & release process (#7795)
+ * Update delve version to be compatible with Go 1.19 (#7793)
+ * [Docs] Typo: Fix build path of promtail binary (#7776)
+ * [Docs] Fix helm loki examples links (#7779)
+ * Promtail: Add tenant label to client drop metrics and logs (#7593)
+ * Querier/Ruler: query blocker (#7785)
+ * [docs] removed static URL to LogQL Analyzer API (#7773)
+ * Add closing code block backticks (#7772)
+ * Split parallelism across Period Configs (#7769)
+ * chore(tools): Update promtail image version (#7770)
+ * operator: Fix docs AWS storage uses bucketnames (#7767)
+ * Loki: Fix multitenant querying (#7708)
+ * [CI/CD] fixed step `deploy` (#7715)
+ * [helm] Fix incorrect ingress paths when using single binary deployment (#7530)
+ * Return error on JSON serialization error. (#7745)
+ * Fix label selector for gateway service in operational dashboard
+ * Update release instructions (#7663)
+ * Only release Helm Chart when version changed. (#7747)
+ * config: Improve error message loading config with ENV variables. (#7759)
+ * [loki-mixin] Make "Success Rate" panels in operational dashboard more accurate (#7756)
+ * Only check mixin on file changes. (#7755)
+ * fix logs deletion integration test to properly validate deleted data (#7751)
+ * operator: Move Loki TLS configuration into ConfigMap (#7738)
+ * Improve error logs query in operational dashboard
+ * Examples: Add healthckecks in docker example (#7731)
+ * [helm] Fix read-only /tmp in single-binary mode (#7695)
+ * Refactor nix to make it easier to import into other projects (#7635)
+ * helm/loki: Remove extra `/` if `registry` or `repository` is empty (#7746)
+ * operator: Fix object storage TLS spec CAKey descriptor (#7744)
+ * helm/loki: Allow to provide selector for Loki persistence volume (#7743)
+ * operator: Fix handling of Request requeues (#7740)
+ * Correct Helm documentation aliases. (#7537)
+ * Make the `test` stage depend on `check-generated-files`
+ * Remove redundant replaces from go.mod (#7697)
+ * Just remove some spaces (#7681)
+ * fix bugs in processing delete requests with line filters and add proper tests (#7720)
+ * Serialize query JSON response in a stream. (#7721)
+ * operator: Fix api doc generation (#7718)
+ * operator: Migrate API docs generation tool (#7716)
+ * operator: Fix LokiStackController watches for cluster-scoped resources (#7710)
+ * operator: Refactor proxy env variables (#7682)
+ * docs(v2.7.0): Minor tweaks on 2.7 release notes (#7672)
+ * operator: Remove default value from replicationFactor field (#7711)
+ * operator: Fix broken links in README.md (#7702)
+ * docs(embedded-cache): Add missing docs on config page. (#7684)
+ * operator: Add provision for the user to set proxy env variables in the loki pods (#7384)
+ * Docs: Fix typo in helm scalable installation documentation, object storage section (#7676)
+ * docs/upgrading: Add a note about windows event log fix (#7668)
+ * Add 2.7 release notes (#7661)
+ * Add config changes to upgrade guide (#7662)
+ * Loki: Add querier config to loki helm (#7627)
+ * Promtail: Exclude event message (#7462)
+ * [helm] Ignore single binary headless service from service-monitor (#7638)
+ * Promtail docs: Fix docker stage code example (#7653)
+ * operator: Modify ingestionRate for respective shirt size (#7617)
+ * adds Dropbox to the adopters list (#7651)
+ * Bump github.com/pierrec/lz4/v4 from 4.1.12 to 4.1.17 (#7628)
+ * Update maintainers of documentation. (#7646)
+ * lambda-promtail: Add kinesis data stream to use in terraform (#7632)
+ * Documentation: Add a more complex template example (#7634)
+ * Bump new version 1.2.19 of fluentd-plugin-grafana-loki
+ * Add make target for building and pushing the fluentd plugin
+ * Replace person with team for documentation reviews (#7645)
+ * Bump helm/kind-action from 1.2.0 to 1.4.0 (#7550)
+ * fix: Hide this error message when ctx timeout occurs in s3.getObject (#6360)
+ * Promtail: Add go build tag promtail_journal_enabled (#7587)
+ * [Helm] Updating tokgen job imagePullSecret templating (#7524)
+ * modify usage stat metric unit to match definition (#7588)
+ * Mention default port in docs (#7637)
+ * promtail/server: Disable profiling by default (#5400)
+ * [Helm] Create metricsInstance only if available (#7535)
+ * Swap direction in "The label identifier is always on the right side of the operation." sentence (#7631)
+ * Loki: Implement timeouts migration (#7555)
+ * [bugfix] add Promtail cloudflare close (#7394)
+ * [fix] cassandra: reconnection when k8s cassandra pods restart (#6725)
+ * batchRetries to countersWithHost (#7392)
+ * fix ingester: grpc method=/logproto.Querier/Query fail. (#5970)
+ * fluent-bit: clarify docs, use 1.9.9 (#6464)
+ * Docs: Add missing changelog entry for stream sharding (#7622)
+ * updated chart version to 3.3.2 to release merged changes (#7618)
+ * Docs: troubleshooting generation cache errors (#7600)
+ * [Helm] fix typos in parameter descriptions (#7527)
+ * Add docs for jsonnet SSD example (#6908)
+ * operator: Increase lint timeout to 5m0s (#7612)
+ * loki helm chart: fix indentation in single-binary pdb template (#7266)
+ * Loki: implement decolorize filter (#7602)
+ * use fifocache.duration instead of fifocache.interval in warn deprecated (#7609)
+ * added empty changelog section for the next release (#7606)
+ * Querier: remove expensive & low-value debug log line (#7532)
+ * Promtail: Fix collecting userdata field from Windows Event Log (#7461)
+ * Improve CRI format documentation (#7582)
+ * Loki: Fix index_set log message (#7538)
+ * Bump github.com/sony/gobreaker from 0.4.1 to 0.5.0 (#7565)
+ * [Docs] Typo on Helm Install Loki in Scaleable mode (#7604)
+ * Keep rates in the ratestore for 10 minutes (#7599)
+ * operator: Update API docs generation using gen-crd-api-reference-docs (#7592)
+ * operator: Add TLS support for compactor client (#7448)
+ * Add single compactor http client for delete and gennumber clients (#7453)
+ * operator: Fix lookup CA Bundle options on fresh install (#7596)
+ * Improves performance of json responses (#7522)
+ * operator: Add support for built-in-cert-rotation for all internal lokistack encryption (#7064)
+ * Reduce number of locks and partition by tenant and stream hash (#7583)
+ * [helm] Document helm migration from `loki-distributed` (#7514)
+ * add user-id transformer for logs results cache (#7581)
+ * Fix Hugo build for docs (#7580)
+ * Retry pr (#7579)
+ * Fix Promtail GCP Logs diagram route (#7577)
+ * Remove CTA per @grafanawriter. (#7559)
+ * Track rates per stream and per tenant (#7564)
+ * [Helm] Add toggle for MetricsInstance (#7525)
+ * Bump helm/chart-testing-action from 2.1.0 to 2.3.1 (#7551)
+ * [CI] improvement of code coverage check (#7428)
+ * Bump cachix/install-nix-action from 15 to 18 (#7439)
+ * Bump cloud.google.com/go/storage from 1.22.1 to 1.27.0 (#7233)
+ * Bump actions/setup-python from 2 to 4 (#7552)
+ * fix(loki-canary): Send to Loki after updating `totalEntries`. (#7211)
+ * Fixing a typo in CONTRIBUTING.md (#7547)
+ * Remove CTA per @grafanawriter. (#7557)
+ * Adds extra docs to flehs out ParseLabels implementation (#7562)
+ * Add terraform snippets to Promtail GCP Logs documentation (#7526)
+ * Remove CTA per @grafanawriter. (#7558)
+ * Shard streams round-robin rather in batches. (#7560)
+ * Add way to override userId for caching (#7542)
+ * Prevent IndexShipper from leaking mutex accesses. (#7548)
+ * promtail: register reload metrics after running options (#7561)
+ * Ensure labels on sharded streams are sorted before they're sent anywhere (#7556)
+ * [Helm] Fix invalid ruler config when filesystem storage is used (#7528)
+ * Hardcode ring.WriteNoExtend for distributor push operations (#7517)
+ * Document new Helm Charts (#7034)
+ * Improves performance of distributor validations (#7534)
+ * Add GCP Logs push target Promtail docs (#7511)
+ * [helm] Fix included rules (#7430)
+ * Fix drone signature (#7512)
+ * Loki: Remove the bypass for "limited" queries (#7510)
+ * Add 2.7.0 section to upgrading doc (#7457)
+ * Few small changelog changes (#7460)
+ * Make 2.7.0 section (#7456)
+ * Remove prometheus CRDs (#7499)
+ * [helm] Add a loki canary test to the helm chart (#7229)
+ * Helm: Allow users to define remote write for metrics. (#7399)
+ * [mixin] Add cortex-gw-internal to dashboards (#7481)
+ * tsdb post compaction cleanup (#7502)
+ * Loki: log when a query starts in the logql engine (#7469)
+ * Index gw lock bugfix (#7497)
+ * Improve rate store refresh latency (#7492)
+ * Add how to connect to Azure using Service Principal (#7485)
+ * Remove groupcache (#7126)
+ * [Helm] Add flags needed for migration from distributed (#7331)
+ * Loki: Remove RatelimitedStream proto (#7235)
+ * Docs: Add max_streams to Promtail configuration doc (#7489)
+ * [helm] Mimic loki service account with canary account (#7236)
+ * Helm: Replace incorrect key loki.authEnabled in example override values (#7432)
+ * Ruler: enable Loki to configure Alertmanagers per tenant (#7359)
+ * Revert "fluentd: Add un-escaping of control characters in JSON" (#7468)
+ * Update helm chart version (#7484)
+ * Add envFrom to the tokengen job (#7479)
+ * operator: Expose and migrate query_timeout in limits config (#7471)
+ * Loki: Implement random entries assignment when sharding (#7427)
+ * Update MAINTAINERS.md (#7467)
+ * Change `master` to `main` and include `.md` ext.
+ * Promtail: Add additional fields for cloudflare (#7463)
+ * operator: Upgrade operator-sdk to v1.24.1 (#7449)
+ * Promtail: Add basic tracing support (#7414)
+ * Update Prometheus dependency to latest release (v2.39.1) (#7425)
+ * Add compactor delete client tls client config (#7426)
+ * Add remote schema option (#7442)
+ * operator: Fix Custom TLS profile setting for LokiStack on OpenShift (#7437)
+- Rebase proper-data-directories.patch
+
+-------------------------------------------------------------------
+Tue Apr 11 20:46:13 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.7.4+git.1677258260.98421b0c:
+ * Docs: Add release notes for 2.7.4 (#8629)
+ * Docs: Update references from 2.7.{2,3} to 2.7.4 (#8626)
+ * [release-2.7.x] Use 0.28.1 build image and update go and alpine versions (#8583) (#8623)
+ * [release-2.7.x] Use golangci-lint v1.51.2 in build image (#8587) (#8622)
+ * [release-2.7.x] Update build image to go 1 20 1 and alpine 3 16 4 (#8575) (#8619)
+ * Helm chart auto update (#8331) (#8618)
+ * [release-2.7.x] fix panics when cloning a special query (#8607)
+ * [release-2.7.x] fix(promtail): Make `cri` tags streams aware. (#8497) (#8614)
+ * [release-2.7.x] [RFR] fix vector() function produces wrong timestamp on instant query (#8602)
+ * [release-2.7.x] scheduler: fix panic on hitting /scheduler/ring when ring is disabled (#8609)
+ * [release-2.7.x] store: write overlapping chunks to multiple stores (#8610)
+ * [release-2.7.x] fix bugs in logs results caching and its tests (#8608)
+ * [release-2.7.x] promtail: Handle nil error on target Details() call (#8604)
+ * [release-2.7.x] Promtail: Fix collecting userdata field from Windows Event Log (#8605)
+ * [release-2.7.x] docs(embedded-cache): config uses embedded_cache (#8554)
+ * [release-2.7.x] Fixed XSS on LogQL Analyzer page (#8546)
+ * Backporting fix for broken link. (#8491)
+ * [release-2.7.x] Temporarily unpublish Analyzer page. (#8505)
+ * [release-2.7.x] Update publishing workflows to use organization secret (#8435) (#8458)
+ * [release-2.7.x] Fix numbering issue in second procedure. (#8456)
+ * Remove call to action from 2.7 release. (#8428)
+ * Fixing typo in 2.7.x branch. (#8390)
+ * Bump new loki/promtail versions in ksonnet libs (#8367)
+- Rebase proper-data-directories.patch
+
+-------------------------------------------------------------------
+Tue Apr 11 20:45:00 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.7.3+git.1675246761.a880ea3b:
+ * Prepare 2.7.3 changelog and release notes (#8348)
+ * [release-2.7.x] Ensure a delete request interval of at least a second (#8341)
+ * [release-2.7.x] Loki: Fix version info issue that shows wrong version (#7669, #8055) (#8314)
+ * Prepare release 2.7.2 - Part 2 (#8292)
+
+-------------------------------------------------------------------
+Tue Apr 11 20:43:20 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.7.2+git.1674741535.c35554d0:
+ * Prepare release 2.7.2 - Part 1 (#8287)
+ * [chore] Sort imports so that linter does not complain (#8286)
+ * Backport #8278 and #8279 (update Go version to 1.19.5) (#8282)
+ * Backport PRs #7555 and #7708 to 2.7 release branch (#8280)
+ * [release-2.7.x] fixed logql-analyzer (#8273)
+ * [release-2.7.x] enable responsive table (#8262)
+ * [release-2.7.x] fix bugs in processing delete requests with line filters and add proper tests (#7749)
+ * [release-2.7.x] Update README.md (#8141)
+ * [release-2.7.x] Update v2-7.md (#7867)
+ * [release-2.7.x] Update publishing workflows to use PATs with fine-grained access control (#8101)
+ * Remove CircleCI config (#8114)
+ * [release-2.7.x] Fix validation for pattern and regexp parsers (#7947)
+ * [release-2.7.x] doc(api): Default value for `delete_ring_tokens` on `/ingester/shutdown` endpoint (#7929)
+
+-------------------------------------------------------------------
+Tue Apr 11 20:42:09 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.7.1+git.1670610512.e0af1cc8:
+ * Backport 7804 into 2.7.1 (#7896)
+ * [release-2.7.x] Prepare changelog and release notes for 2.7.1 (#7897)
+ * default compactor deletion mode to filter only (#7877)
+ * Backport: Fix alertmanager per tenant override config behavior (#7805) (#7858)
+ * [release-2.7.x] Fix Promtail GCP Logs diagram route (#7822)
+ * [release-2.7.x] Add single compactor http client for delete and gennumber clients (#7607)
+ * Revert "[release-2.7.x] docs/upgrading: Add a note about windows event log fix" (#7801)
+ * [release-2.7.x] backport of #7715 (#7774)
+ * changed the URL to LogQL Analyzer backend v2.7.0
+ * Update references to 2.6.1 binaries to 2.7.0 (#7458)
+ * [release-2.7.x] docs(v2.7.0): Minor tweaks on 2.7 release notes (#7712)
+ * [release-2.7.x] docs(embedded-cache): Add missing docs on config page. (#7687)
+ * [release-2.7.x] docs/upgrading: Add a note about windows event log fix (#7675)
+ * docs: Fix refs on helm docs that breaks rendering new docs (#7670)
+
+-------------------------------------------------------------------
+Tue Apr 11 20:40:50 UTC 2023 - ecsos@opensuse.org
+
+- Update to version 2.7.0+git.1668123866.1b627d88:
+ * [release-2.7.x] Add config changes to upgrade guide (#7664)
+ * [release-2.7.x] Add 2.7 release notes (#7665)
+ * Rebase 2.7 on k122 (#7621)
+ * [release-2.7.x] Docs: Add missing changelog entry for stream sharding (#7623)
+ * [release-2.7.x] Enable Loki to configure Alertmanagers per tenant (#7487)
+ * Remove groupcache (#7126) [Backport to v2.7.x] (#7503)
+ * [release-2.7.x] Revert "fluentd: Add un-escaping of control characters in JSON" (#7486)
+ * [release-2.7.x] Docs: Add max_streams to Promtail configuration doc (#7493)
+ * Expose ring and memberlist handlers through internal server listener (#7436)
+ * Results cache fix improvements (#7444)
+ * Revert "Revert "Update Thanos dependency to latest version"" (#7372)
+ * Fix result cache misses on sharded queries (#7429)
+ * Add Li Guozhong as a maintainer (#7440)
+ * fluentd: Add un-escaping of control characters in JSON (#7396)
+ * operator: Regenerate manifests (#7438)
+ * Do not log 'unable to read rules directory' at startup if directory hasn't been created yet (#7434)
+ * Fix enable of internal server for modules (#7423)
+ * Add helm-docs to build image. (#7424)
+ * operator: Add alert relabel config (#7415)
+ * Promtail: correctly hashes the config on reload (#7421)
+ * Loki mixin: Correct Loki datasource variable name. (#7422)
+ * operator: Update golang and dependencies (#7418)
+ * Promtail: Add handler timeout for GCP Logs Push target (#7401)
+ * promtail: Fix exposed metric documentation for request_duration_seconds (#7420)
+ * Bump tail dependency to address windows locking issues (#7417)
+ * log panic full stack in boltdb recover block (#7410)
+ * Provide example policy for S3 storage. (#7407)
+ * [promtail] log: simplify log, only print hash (#7405)
+ * [loki-canary] Allow insecure TLS connections (#7398)
+ * Fix promtail scrape config job name validation (#7402)
+ * Create automated SBOM reports on Release (#7397)
+ * Fix stream sharding (#7393)
+ * Promtail: flush logs on exit (#7400)
+ * [docs: logql-analyzer] changed url for main branch (#7378)
+ * Update installation.md (#7388)
+ * [helm loki] add support for custom analytics config (#7262)
+ * Add metrics to the distributor about stream sharding (#7390)
+ * Fix Flaky Distributor Test (#7391)
+ * Measure Per-Stream rates (#7370)
+ * Loki: Renames metric 'loki_log_messages_total' to 'loki_internal_log_messages_total' (#7361)
+ * add promtail reload changelog and doc (#7386)
+ * chunks: improve readability of compression benchmarks (#7246)
+ * [new feature] promtail: Add config reload endoint / signal to promtail (#7247)
+ * logging: Change Docker target discovery log level from Error to Info (#7312)
+ * promtail/scraping.md: Fix 404 (#7317)
+ * Bump actions/checkout from 2.4.0 to 3.1.0 (#7376)
+ * use a channel to signal completion of index read operation for tsdb and boltdb shipper (#7381)
+ * CONTRIBUTING: fix layout
+ * area(promtail): add -check-syntax functionality (#7363)
+ * Provision alerts for Loki Canary in Helm Chart. (#7286)
+ * Import Canary dashboard into Loki mixin. (#7304)
+ * documentation: correct yaml file (#7375)
+ * Revert "Update Thanos dependency to latest version" (#7371)
+ * [logql-analyzer] auto-deploy on Tag or Main (#7366)
+ * lock boltdb and tsdb index while queries are in process (#7367)
+ * TSDB explicit fingerprint (#7362)
+ * operator: Add TLS profile support for Loki server and client HTTP and GRPC TLS options (#7322)
+ * Implement Distributor Rate Store (#7349)
+ * [dashboards] update dashboards for zone aware ingesters (#7313)
+ * Fix Flaky Integration Tests (#7360)
+ * removes unused tsdb files (#7353)
+ * Use labelbuilder in syntax.ParseLabels to remove empty label values (#7355)
+ * Update Thanos dependency to latest version (#7348)
+ * Adding Promtail and Heroku blogpost files to `examples/` (#7347)
+ * Loki: Per-tenant stream sharding (#7311)
+ * Upgrade operator gh workflows to go1.19 (#7341)
+ * Clarify how and where to download the Loki config file from (#7346)
+ * Implement ingester API to return stream rates (#7176)
+ * [loki helm chart] fixed to pass CI (#7345)
+ * Service selector for single binary deployment fix. (#7301)
+ * Loki: Add sharding support for negative/zeroed desired rate (#7342)
+ * Restoring lint checks that were previously disabled (#7340)
+ * mmap tsdb index file while opening it for querying (#7338)
+ * Upgrade to Go 1.19 (#7243)
+ * feat(lambda-promtail): add bearer token support (#7333)
+ * Patching loki-build-image with latest golangci-lint version (#7337)
+ * operator: Use quayio v2.7.0-pre image for openshift overlay (#7329)
+ * docs: Document setting up command completion for logcli (#7325)
+ * Updating loki-build-image to Go 1.19 (#7334)
+ * Add compactor_address to fix startup (#7332)
+ * Fix internal server bootstrap for query frontend (#7328)
+ * operator: Use cluster monitoring alertmanager by default on openshift clusters (#7272)
+ * Use a line-buffered logger to deamplify write syscalls (#6954)
+ * operator: Move Loki operand from v2.6.1 to main-ec0bf70 (#7298)
+ * operator: Add extended-validation for rules on OpenShift (#7295)
+ * pkg/ruler/rulestore/configdb: Preallocate memory (#7326)
+ * update regex for matching nlb logs while using lambda promtail (#7305)
+ * adds result cache key version comparison metrics (#7323)
+ * Added mapstructure tag to promtail configs structs (#7320)
+ * reintroduce mmap for tsdb indices (#7321)
+ * Bugfix include cache generations on querier response (#7300)
+ * Add support for username to redis cache configuration (#7270)
+ * Fix typo in flags definitions (#7257)
+ * Loki: Improve query timeouts behavior (#7230)
+ * Log delete request ID upon creation (#7307)
+ * chunks: decode varints directly from byte buffer; stop panicing on some corrupt inputs (#7264)
+ * Add list of delete requests to deletion dashboard (#7309)
+ * operator: Add lokistack operations alerts and sop (#6951)
+ * operator: Prepare bundle for openshift-logging release 5.6 (#7297)
+ * operator: Enable subscriptions on OpenShift 4.12 (#7296)
+ * Tests: Improve several tests behavior (#7283)
+ * [docs] Fix docs for `rate_counter()`
+ * operator: Expose Loki Ruler API via the lokistack-gateway (#7254)
+ * Fix rangemapper with VectorExpr support (#7288)
+ * fix/docs: Fixed a typo in the ingestor section (#7285)
+ * [Mixin] Rename `logs` template variable to `loki_datasource`. (#7278)
+ * Configurable TLS MinVersion and CipherSuites (#7227)
+ * Tests: Reduce flakiness of GCPLog and integration tests (#7273)
+ * Remove deletion filter debug log messages (#7277)
+ * Promtail: Change max support compressed line size to be 2MB (#7268)
+ * Expose tenant ID through relabel in push promtail targets (#7250)
+ * Promtail: Add compressed files support (#6708)
+ * chunks: update klauspost/compress package to v1.15.11 (#7263)
+ * Logcli: load remote schema before validation (#7258)
+ * Loki: Shard streams based on desired rate (#7199)
+ * Operator: Config and bundle manifest changes for Lokistack API ObjectstorageTLS CA certificate key addition (#7256)
+ * correct heartbeat timeout to distributor lifecycler for ring page (#7253)
+ * Update deletions dashboard (#7244)
+ * bumped GEL version in Loki helm chart to v1.5.2 (#7241)
+ * [Optimization] logql client: When logql fails to execute, return the failure information to the caller (#6671)
+ * operator: Add support for certificates to allow external S3 storage connections (#7070)
+ * Fix promtail `metric` stage causing failure when getting extracted metrics (#7216)
+ * Documentation: Fix broken link (#7136)
+ * operator: Fix ruler grpc tls client configuration (#7214)
+ * Docs: remove redundant section in Template functions (#6458)
+ * Docs: Populate empty index pages (#7200)
+ * Replace deprecated `io/ioutil` with `io` and `os` packages (#7212)
+ * [bugfix] logql: vectorExpr run fail when query_range: parallelise_shardable_queries: true (#7045)
+ * tsdb supports data deletion, this PR takes care of todo to enable delete request client for tsdb (#7223)
+ * Jsonnet: fix overrides exporter to use correct CPU limits (#7221)
+ * Helm: add support for configuring ruler (#7196)
+ * Helm: expose Prometheus-compatible endpoints in gateway (#7195)
+ * [helm] Add Loki Canary to Helm Chart (#7173)
+ * Helm: Fix ExternalLicence (#7189)
+ * Helm: Make automountServiceAccountToken configurable (#7114)
+ * avoid using bloomfilters for chunks in stats calls by avoiding duplicates (#7209)
+ * highly sharded subqueries are ellided in expr.String (#7203)
+ * add index requests panel to reads/writes dashboard (#7163)
+ * Guidelines: Update CONTRIBUTING.md (#6757)
+ * Update distributor push tests (#6641)
+ * Helm: Adding tolerations value support for tokengen job (#7122)
+ * [helm] Storage: Read support for Azure Object Storage (#7162)
+ * Document validation & rate-limit errors (#7145)
+ * operator: Write configuration for per-tenant retention (#7201)
+ * docs: Change AWS EKS example eventrouter rbac resources from v1beta1 apis to v1 (#6483)
+ * support custom label selector in kubernetes_sd_configs (#5920)
+ * ingester_querier: early exit queries on reaching quorum (#7172)
+ * Bring addition of server config into existing style (#7174)
+ * Update README.md (#7190)
+ * Update README.md (#7191)
+ * Project: Change PR template and CONTRIBUTING guide (#7116)
+ * Evenly spread memcached across nodes (#7183)
+ * Abide to Mixin linting rules. (#7010)
+ * TSDB indexBuckets helper logs instead of errors (#7187)
+ * Helm: Bump helm chart patch version (#7184)
+ * [Bugfix] TSDB index bucket calculation (#7178)
+ * fixes azure client secret duplicate CLI registration (#7185)
+ * Helm: Fix limits_config key in helm values file (#7182)
+ * allow backup store metrics registration by including backend type in labels (#7177)
+ * [loki] Azure auth using Service Principal (#7179)
+ * fixes nil interface value with non-nil type in cache construction (#7175)
+ * Add local k3d environment for enterprise-logs (#7146)
+ * Helm: Allows loki s3 http_config block to be configured (#7041)
+ * Helm: Make server configuration configurable (#7137)
+ * operator: Fix TLSProfile not working on vanilla k8s (#7167)
+ * Expose limits and compactor config via helm values (#7108)
+ * Fix minio values, reduce replicas, and fix tokengen job (#7147)
+ * Update GEL helm deployment example (#7144)
+ * promtail: Fix issue with dropping logs when a file based SD target's labels are updated (#7016)
+ * revert stream push error response (#7160)
+ * operator: Skip enforcing matcher for certain tenants on OpenShift (#7037)
+ * operator: Manage global stream-based retention (#7106)
+ * refactor index storage code to index reader/writer interfaces for better monitoring (#7154)
+ * tsdb: clean-up metrics (#7150)
+ * Promtail: Add support for max stream limit (#7101)
+ * fix(ruler): Initialize multi remote clients config (#7151)
+ * Docs: Fix template function examples (#7148)
+ * Remove duplicated `loki_boltdb_shipper` prefix from `tables_upload_operation_total` metric (#7040)
+ * Implement all-or-nothing stream ingestion (#7094)
+ * [bugfix] fix query_frontend init fail error (#7013)
+ * tsdb: boltdb shipper backup store tsdb (#7130)
+ * loki: Attach the panic recovery handler on all HTTP handlers (#6780)
+ * operator: Add network tenant for netobserv (#6769)
+ * operator: Fix flaky TLSProfile feature gate test (#7131)
+ * Docs: Fix Helm chart link path (#7107)
+ * Fix errors loading deletes after force-removing partially-completed delete (#7125)
+ * Bump chart version to test release (#7124)
+ * Fix helm release name template (#7123)
+ * Log the interval of a delete request (#7120)
+ * Make helm with style more consistent (#7096)
+ * Fix pod affinity selector for single binary (#7109)
+ * Small updates to the deletion documentation (#7112)
+ * feat(loki-canary): Add support to push logs directly to Loki. (#7063)
+ * Add ability for Ruler to remote write to multiple clients (#6823)
+ * docs: fix alertmanager_client config settings (#6858)
+ * Add chart-tools and chart-releaser for helm (#7095)
+ * Docs: Fix Helm Chart links (#6985)
+ * Improvements to Promtail GCP push target (#7057)
+ * Automatically label Helm realted pull requests. (#7083)
+ * Missing conditional on ServiceMonitor (#7067)
+ * Only release helm for helm paths (#7093)
+ * Bump github.com/docker/docker to v20.10.17 (#6975)
+ * Bump golang.org/x/sys to v0.0.0-20220829200755-d48e67d00261 (#7021)
+ * doc: Clarity on querier remapping when shuffle sharding is disabled (#7026)
+ * operator: Configure kube-rbac-proxy sidecar to use Intermediate TLS security profile in OCP (#7092)
+ * Fix setting name in documentation (#7086)
+ * Helm: Fix s3 region in ruler storage config (#7077)
+ * Add sequence num to log output for delete requests (#7087)
+ * Fix internal server initialization (#7085)
+ * Helm: Adding template-able image value for tokengen job container (#7075)
+ * Add support for custom internal server (#7069)
+ * Troubleshooting: instructions for loki + istio (#6205)
+ * Add prefix for helm-release tags (#7073)
+ * bugfix:add cases.NoLower option (#7052)
+ * docs: fix typo in layout (#7071)
+ * feat: add kms and ec2 permission (#7058)
+ * Add nix configuration (#7020)
+ * operator: Configure gateway to honor the global TLS security profile (#6870)
+ * tsdb: build tsdb from tenantheads (#7036)
+ * [doc] logql: logql engine support exec vector(0) grama (#7044)
+ * Update metrics descriptions (#6982)
+ * Deprecation Fix: Replace strings.Title with cases.Title().String() (#7048)
+ * Do not run helm release on tags matching our version releases (#7038)
+ * Helm: Publish Helm charts to grafana/helm-charts. (#6955)
+ * Enable build in env w/o internet or GCP creds (#7029)
+ * tsdb: build rotated heads asynchronously (#6956)
+ * [new feature] logql engine support exec `vector(0)` grama (#7023)
+ * Revert "Hide duplicates caused by stream sharding (#7005)" (#7031)
+ * operator: Adding Lokistack Gateway Request Errors Alert (#6999)
+ * operator: Configure default node affinity for all pods (#7000)
+ * Helm: test migration from `grafana/loki-simple-scalable` (#6986)
+ * fix test increase timeout (#7022)
+ * [new feature] syntax: support "vector" grama (#7007)
+ * azblob: Make azblob support private cloud endpoint suffix (#6842)
+ * Hide duplicates caused by stream sharding (#7005)
+ * Generate Helm chart README. (#7012)
+ * Helm: Upgrade Minio chart dependency to 4.0.12. (#6974)
+ * [bugfix] fix flush.go nil pointer panic (#6993)
+ * Loki: Modify ingesters to return rate-limited streams to distributors (#6977)
+ * [TSDB] 600MB max per shard in query planning (#7004)
+ * doc(community): Update community call timings. (#7002)
+ * compactor: prefetch existing compacted user index files in parallel (#6803)
+ * operator: Fixing logcli pod image value for operator addons (#6997)
+ * Make TSDB store singleton resettable (#6950)
+ * [docs] document logfmt pipeline stage (#6238)
+ * Helm: Add helm ci (#6988)
+ * Docs: Fix default max_chunk_age (#6996)
+ * Logql Analyzer (#6171)
+ * querier deployment rollingupdate works as a percentage to allow faste… (#6990)
+ * Remove deprecated helm chart source code (#6978)
+ * Docs: update `split_queries_by_interval` documentation to have the correct explanation for how to disable. (#6715)
+ * Loki: add `__line__` and `__timestamp__` to label_format (#6983)
+ * update to alpine:3.6.2 (#6979)
+ * lambda-promtail: Add support for Kinesis data stream events (#5977)
+ * [fix panic] s3: fix object nil point (#6970)
+ * [Doc] Fixed comma and missing "of" in observability.md (#6976)
+ * compactor: adds tunable to control upload parallelism (#6817)
+ * Support helm migration from current grafana/loki chart (#6958)
+ * promtail: GCPLog fixing `failed to receive pubsub messages` error (#6965)
+ * Use backticks for code syntax. (#6967)
+ * Return Querier/QueryTimeout YAML configuration. (#6972)
+ * Add deletion metrics to the documentation (#6971)
+ * compactor: prioritize newer tables when compacting. add operator flags to compac… (#6804)
+ * Loki: Implement stream sharding (#6952)
+ * Adapt queryTimeout to be a per-tenant configuration (#6835)
+ * Shard deletes requests based on time ranges (#6903)
+ * Evenly spread distributors across available nodes (#6964)
+ * Fix Loki distributor in production Nomad job and docs. (#6963)
+ * lambda-promtail: allow numbers on LB name regex (#6961)
+ * Restoring metrics removed by #6957, simplifying implementation (#6962)
+ * Upgrade prometheus/client_golang and reconfigure to restore `go_sched.*` metrics (#6957)
+ * docs: Fixed examples within Loki and Promtail docs (#6591)
+ * Bring helm chart back into Loki repo (#6829)
+ * feat: add kms ecryption (#6926)
+ * Setting sane defaults for ruler in SSD "read" mode (#6551)
+ * [TSDB] disables bloom filters for tsdb index on ingesters (#6939)
+ * Remove comparisons page, it's not very acurate and the information is outdated. (#6938)
+ * Add operational guide for autoscaling (#6801)
+ * docs:Add documentation for TLS configuration parameters for HTTP and gRPC (#6933)
+ * Fix topk and bottomk operations with int <= 0 (#6937)
+ * Change Loki Operator namespace to openshift-logging in the CSV (#6935)
+ * Fix `increment_duplicate_timestamps` for multiple dupped timestamps (#6924)
+ * log query which causes panic in logql.clone (#6934)
+ * Improve error message (#6913)
+ * operator: Reconcile owner reference for existing objects (#6923)
+ * Disable distributed cache for the default loki local config (#6925)
+ * Update documentation deletion_mode and allow_deleted configuration values (#6921)
+ * reintroduces now deprecated+noop deletion configs for compatibility (#6917)
+ * Remove unnecessary spin up of mock (#6911)
+ * Previous PR #6888 broke some additional jsonnet, use {} instead of null (#6918)
+ * fix(consul): allow consul deployment (#6888)
+ * detects issuer via useragent in querytee reqs (#6914)
+ * Adding valid subscription annotation to metadata (#6907)
+ * Propagate error detail properly in all cases (#6890)
+ * Update build-image to 0.23.0 (#6899)
+ * Add missing environment variable names on logcli flags description (#6865)
+ * Docs: add minimal docs explaining how to use the LogQL Analyzer (#6900)
+ * Update alpine and golang base images (#6897)
+ * Fix free port allocation flake (#6898)
+ * fix(stats_collector): Do not collect stats for failed requests. (#6878)
+ * Add support for journal matches (only conjuntions) (#6656)
+ * fixed typo in API host (#6892)
+ * Logql analyzer page cherry picks (#6889)
+ * add metric for measuring overall index query latency (#6880)
+ * [bugfix] fixes issues sharding series by storageref vs fingerprint in stripeSeries (#6882)
+ * Add timeouts to deletions (#6879)
+ * Remove unused code (#6872)
+ * Docs: improve wording and grammar (#6861)
+ * Clarify delete upgrade path (#6871)
+ * Add delete api validations (#6860)
+ * update deletion docs (#6869)
+ * update dskit and fix (#6868)
+ * Add ability to limit the impact of pathological delete requests. (#6854)
+ * Existing limits were low for large envs (#6846)
+ * avoid creating multiple tenant heads in tsdb during a race (#6866)
+ * test(promtail): Fix flaky test with promtail bind port. (#6859)
+ * don't deploy consul if we're using memberlist and not actively migrating (#6836)
+ * chore(makefile): Remove `NETGO` check after building loki binaries. (#6856)
+ * embedded-cache: Bring `fifocache` and `groupcache` into single tent. (#6821)
+ * promtail/client: add bot fields (#6828)
+ * fix context propagation for child spans in shard resolver (#6853)
+ * [TSDB] Ingester Index Sampling (#6852)
+ * Only process deletes in batches (#6851)
+ * Delete requests processing improvements (#6837)
+ * [TSDB] Indexgateway Protobuf refactor (#6841)
+ * operator: Use mod readonly when building container (#6843)
+ * Improve error message when max error message is hit (#6834)
+ * Support building against Go 1.19 (#6833)
+ * Add groupcache timeouts (#6808)
+ * Adding properties file (#6799)
+ * fix(logql): Make `LabelSampleExtractor` work as expected when label doesn't exist in logline (#6766)
+ * Change existing labeler action to use type/docs label (#6754)
+ * Promtail: Add new target for receiving GCP PubSub Push messages (#6777)
+ * Treat version flag at any position (#6827)
+ * Log stream flushes to see how many chunks we flush at a time (#6819)
+ * doc(retention): Add clarity on default behavior. (#6815)
+ * Simplify shard membership calculations (#6810)
+ * chore(groupcache): Groupcache doesn't need global server handler anymore (#6820)
+ * deb and rpm packaging for all binaries (#6456)
+ * Remove reference to non-existent config field (#6781)
+ * Open access to Minio console in dev setup. (#6807)
+ * Fix log messages for deletion requests (#6727)
+ * Run `loki -version` without needing a config defined (#6802)
+ * populate the memberlist label by default (#6800)
+ * only set the consul kvstore configs if memberlist is not being used (#6809)
+ * Allow fifocache to be configured with groupcache (#6806)
+ * chore(groupcache): Fix panic with stats collector wrapper (#6798)
+ * docs: fix a typo (#6791)
+ * Fix Promtail dashboard. (#6796)
+ * operator: Changing channel to stable (#6795)
+ * query-tee: support for multi backend response comparison and disabling query proxy for select backends (#6736)
+ * chore(groupcache): Support per cache group capacity (#6793)
+ * Docs: Revise location of some LogQL examples; improve prose (#6751)
+ * Groupcache improvements (#6752)
+ * chore(groupcache): disable hotcache for chunks (#6784)
+ * Fix YAML syntax and ConfigMap reference (#6735)
+ * Typo in 'trimPrefix' function signature (#6733)
+ * Backport Memberlist dependency version bump to k108 (#6773)
+ * Update Memberlist dependency version; tidy and re-vendor (#6717)
+ * Rephrase error message (indexgateway->groupcache). (#6763)
+ * Fix cache instrumentation (#6753)
+ * operator: Update Loki operand to v2.6.1 (#6749)
+ * operator: Update go4.org/unsafe/assume-no-moving-gc to latest (#6748)
+ * operator: Golang version to 1.18 and k8s client to 1.24 (#6741)
+ * doc: Add shuffle sharding doc (#6173)
+ * chore(groupcache): Disable hotcache during set (#6740)
+ * use owen-d gomemcache fork for connection sharding (#6722)
+ * [Enhancement] Removes memcached failure log (#6720)
+ * tsdb store refactoring (#6724)
+ * Index shipper move code (#6704)
+ * upgrade `go:1.17.9` to `go:1.18.4` (#6726)
+ * Reinclude .git dir in docker builds (#6723)
+ * [Fix] Furthers gcs latency buckets (#6721)
+ * Fix goroutine leak when using http2 (#6718)
+ * operator: Addons work in restricted policy (#6564)
+ * Revert "Set ingester PDB to have max_unavailable=0. (#6589)" (#6714)
+ * Adding "start_delta" entry to metrics.go line (#6550)
+ * keep the memberlist labels jsonnet config backwards compatible with 2.6.1 (#6711)
+ * add jsonnet for configuring memberlist cluster label (#6707)
+ * Loki: Do not store exact log line duplicates (now including unordered inserts) (#6642)
+ * Loki: Return an __error_details__ label for any line which incurs a __error__ while being processed (#6543)
+ * Add push route (#6616)
+ * promtail: Inject tenant ID when receiving X-Scope-OrgID in heroku target (#6695)
+ * Add function to reset boltDBIndexClientWithShipper singleton
+ * updated versions to the latest release v2.6.1 (#6705)
+ * updated versions to the latest release v2.6.1 (#6703)
+ * Add configurable groupcache capacity (#6678)
+ * Update production-ready Loki in docker-compose (#6691)
+ * added changelog for 2.6.1 release (#6697)
+ * Fix per-tenant delete client (#6696)
+ * Document loki lable format (#6647)
+ * Docs: Fix bad links in the API section (#6688)
+ * Targets: Add Heroku HTTPS drain target (#6448)
+ * query_frontend_shard_factor uses exponential buckets (#6689)
+ * Fix TIME_WAIT connection leak from queriers to compactor (#6681)
+ * Add API delete curl examples (#6680)
+ * stripes frontend requests in progress (#6679)
+ * Set log level for GetChunkRefs log (#6677)
+ * Introduce an "enable_groupcache" config to control initialization better (#6673)
+ * fix the issue of overwriting tsdb files during rollouts (#6668)
+ * Add README file to loki-mixin (#6083)
+ * operator: Set minimum TLS version to 1.2 to support FIPS (#6669)
+ * operator: Fix kind deployment for make quickstart (#6666)
+ * [TSDB] store uncompressed chunk size in index (#6665)
+ * dont skip writing to TSDB index when chunk exists in cache (#6664)
+ * operator: Add support for tail TLS encryption (#6663)
+ * Defining Loki dockerfile user as numeric value (#6659)
+ * operator: Fix live tail of logs not working on OpenShift-based clusters (#6443)
+ * Loki: Remove ring client from the distributor (#6622)
+ * bumped version of grafana's memberlist fork to have the fix that allows to disable labels check that is required for the migration. (#6655)
+ * operator: Update Loki operand to v2.6.0 (#6646)
+ * Fix inconsistent coverage in the distributor package (#6645)
+ * Introduce Groupcache (#6644)
+ * Loki: Update `grafana/dskit` and `weaveworks/common` (#6643)
+ * [TSDB] fingerprint offsets is now correctly 16 byte aligned (#6630)
+ * removed redundant 2.6.0 release title (#6640)
+ * use the configured index prefixes while building table names for tsdb index (#6436)
+ * updated date of the release and release notes (#6635) (#6636)
+ * manually backported upgrading guide from release 2.6.0 (#6631)
+ * backport changelog from 2.6.0 (#6615)
+ * build and hook tsdb compaction code to the generic index compactor (#6627)
+ * Don't add the memberlist label as a selector to services.
+ * Draft of release notes for loki 2.6. (#6546)
+ * Add integration for SSD (read & write targets) (#6585)
+ * Promtail: Add text encoding conversion to file targets (#6395)
+ * Append .x to the versioned directories for the website sync (#6611)
+ * operator: Disable client certificate authentication on gateway (#6594)
+ * Fix release workflow (#6610)
+ * operator: Bump loki.grafana.com/LokiStack from v1beta to v1 (#6474)
+ * CI/CD: Update documentation publishing workflows (#6381)
+ * operator: Use docker build context for root make targets (#6601)
+ * Fix drone CI builds for loki operator (#6599)
+ * Tsdb tenant index querying (#6598)
+ * Remove ourdated comment (#6597)
+ * avoid making delete requests if deletes are disabled for a user (#6583)
+ * operator: Build and publish images for docker hub (#6086)
+ * Drone: Do not run pipelines twice on PRs (#6511)
+ * Set ingester PDB to have max_unavailable=0. (#6589)
+ * loki-canary: Fix resource leak when using client-side certs (#6579)
+ * operator: Update to operator-sdk 1.22.0 (#6581)
+ * fix(lambda-promtail): update default lambda_vpc_subnets / lambda_vpc_security_groups values to be appropriate empty list(string) value (#6453)
+ * operator: Add docs for object storage (#6561)
+ * generic index compactor (#6537)
+ * log addtl info about bytes/shard in planning (#6573)
+ * Support dashboards for SSD mode (#6540)
+ * introduce randomness to the first call for the metric test query to reduce the likelyhood that large numbers of canaries will all make this request at the same time. (#6562)
+ * Stop compaction interval timer to avoid leak. (#6570)
+ * operator: Fix make target deps for web-pre (#6565)
+ * logcli: add flag to read remote schema configs (#6539)
+ * operator: Refactor feature gates to use custom resource definition (#6549)
+ * Docs: Add multi-tenant query curl examples (#6530)
+ * Add jsonnet to build image (#6526)
+ * operator: Making all pods and containers compliant with restricted policy (#6514)
+ * Do not fail queries if compactor returns unexpected status code (#6552)
+ * Loki: Update `grafana/dskit` to `3624a96` (#6529)
+ * operator: Publish docs as public website (#6449)
+ * Fix documentation of environment variable defaults (#6536)
+ * tools: add lambda-promtail missing errchecks (#6541)
+ * Fix operator forwarding logs docs (#6545)
+ * Promtail: update certificates used for syslog’s tests (#6534)
+ * Loki: Add the ability to use the log line timestamp in label and line formatter (#6517)
+ * operator: Fix clusterserviceversion description (#6524)
+ * operator: Use default interface_names for lokistack clusters (#6531)
+ * Add client type as label (#6469)
+ * Add label_replace and literal expressions to instant query split by range (#6515)
+ * Loki Prometheus mixin: Fix incorrect selectors and simplify mixin usage (#6189)
+ * Docs: improve API docs (#6485)
+ * Promtail: disable syslog tests which have expired certs (#6520)
+ * dont call getinstance twice in checkpointing (#6516)
+ * Add Drone pipeline to test packaging (#6482)
+ * operator: Support TLS enabled lokistack-gateway (Kubernetes native) (#6478)
+ * operator: Disable report on overlay openshift (#6504)
+ * Updating maintainers.md (#6466)
+ * Disable index gateway client on read target. (#6490)
+ * During query readiness, log duration of all object-store operations (#6489)
+ * logcli: add --proxy-url flag for http/https proxy support (#6484)
+ * Update loki's default port to 3100 (#6349)
+ * Loki: Fix flaky IndexGatewayClient test (#6481)
+ * Changelog: Fix changelog link (#6479)
+ * Handle duplicate registration of deletion metrics (#6446)
+ * Remove file lag alert (#6452)
+ * Remove whole stream deletion mode (#6435)
+ * Fix panic in instant query splitting when using unwrapped rate (#6348)
+ * Use shipper as indexClient for read mode. (#6461)
+ * Set RingManager mode as Server if in read target. (#6427)
+ * operator: Add shellcheck disables (#6460)
+ * operator: Add e2e local development with kind (#6339)
+ * Docs: revise multi-tenancy prose (#6355)
+ * fix(documentation): correct spelling and scrape_config (#6454)
+ * operator: Move cli flags to component config (#6433)
+ * Add TLS config to query frontend (#6444)
+ * operator: Update Grafana and forwarding documentation (#6442)
+ * operator: Extend schema validation in LokiStack webhook (#6411)
+ * operator: Enhancement Proposal to configure log retention (#6232)
+ * Evenly spread queriers across available nodes (#6415)
+ * Compactor: add per tenant compaction delete enabled flag (#6410)
+ * Fixes bad initialization for uniqueString (#6432)
+ * Tsdb/wal rotate fix (#6423)
+ * [modules] pin version of memberlist (#6413)
+ * Add unwrapped aggregation `rate_counter()` (#6412)
+ * Add support for ARM64 to lambda-promtail drone build job (#5354)
+ * [TSDB] Use index sampling to determine shard factor (#6396)
+ * Add index gateway to the read path (#6385)
+ * Parallize label queries to both stores (#5997)
+ * Sum values in unwrapped rate aggregation instead of treating them as counter (#6361)
+ * promtail: fix infinite loop in file target (fixes #5350) (#6135)
+ * operator: Add support for gRPC over TLS for Loki components (#6224)
+ * Git ignore pkg/loki/wal (#6405)
+ * Bump prometheus dependency (#6403)
+ * operator: Storage schema update (#5952)
+ * Docs: revise changelog entry for PR 5626 (#6406)
+ * Docs: Edits for several PRs that did not have a docs review (#6398)
+ * Add more logging for delete requests (#6394)
+ * Add deleted lines panel to deletion dashboard (#6390)
+ * Add lokistack prefix to role and rolebinding names. (#6397)
+ * Docs: edit the CHANGELOG (#6386)
+ * Docs: add unpopulated v2.6 release notes section (#6354)
+ * Use correct counter when deleting lines (#6376)
+ * feature: Add ingester handler for shutdown and forget tokens (#6179)
+ * Mixins templatize clusterlabel fixes (#6383)
+ * Don't interupt the query path if deletes aren't available (#6368)
+ * Promtail: Support all `cri-o` tags (multiline tags). (#6177)
+ * Naïve fix for optimize bug with `line_format` and `json` expression parser (#6375)
+ * JSON label extraction field validation expression overly strict (#6372)
+ * chore(jsonnet-lint): Make `promtail-mixin` depends on `loki-mixin` `main` version (#6379)
+ * Revert "Loki Prometheus mixin: templatize cluster label" (#6377)
+ * Loki Prometheus mixin: templatize cluster label (#6353)
+ * fix(loki): allow global and per tenant sigv4 config (#6358)
+ * Add compactor route for the cache gen number api (#6365)
+ * GCS: Add service_account option (#6366)
+
+-------------------------------------------------------------------
Thu Jul 21 09:12:42 UTC 2022 - ecsos@opensuse.org
- Update to version 2.6.1+git.1658128747.6bd05c9a4:
diff --git a/loki.spec b/loki.spec
index 0f65cb5..3597e03 100644
--- a/loki.spec
+++ b/loki.spec
@@ -1,7 +1,7 @@
#
# spec file for package loki
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,11 @@
%global loki_datadir /var/lib/loki
+%global loki_logdir /var/log/loki
%global promtail_datadir /var/lib/promtail
Name: loki
-Version: 2.6.1+git.1658128747.6bd05c9a4
+Version: 2.8.0+git.1680557182.90888a0c
Release: 0
Summary: Loki: like Prometheus, but for logs
License: Apache-2.0
@@ -37,7 +38,7 @@ Patch1: proper-data-directories.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: golang-packaging
BuildRequires: systemd-devel
-BuildRequires: golang(API) = 1.17
+BuildRequires: golang(API) = 1.20
Requires: logcli = %{version}
Requires: group(loki)
Requires: user(loki)
@@ -109,7 +110,7 @@ install -Dm755 loki %{buildroot}%{_bindir}
install -Dm755 promtail %{buildroot}%{_bindir}
install -Dm755 logcli %{buildroot}%{_bindir}
-install -D -d -m 0750 %{buildroot}%{promtail_datadir} %{buildroot}%{loki_datadir}
+install -D -d -m 0750 %{buildroot}%{promtail_datadir} %{buildroot}%{loki_datadir} %{buildroot}%{loki_logdir}
%pre
%service_add_pre loki.service
@@ -147,6 +148,7 @@ install -D -d -m 0750 %{buildroot}%{promtail_datadir} %{buildroot}%{loki_datadir
%config(noreplace) %attr(-,root,loki) %{_sysconfdir}/loki/loki.yaml
%{_sbindir}/rcloki
%dir %attr(-,loki,loki) %{loki_datadir}/
+%dir %attr(-,loki,loki) %{loki_logdir}/
%files -n promtail
%{_unitdir}/promtail.service
diff --git a/proper-data-directories.patch b/proper-data-directories.patch
index e4333a2..e68feee 100644
--- a/proper-data-directories.patch
+++ b/proper-data-directories.patch
@@ -1,11 +1,11 @@
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/cmd/loki/loki-local-config.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/cmd/loki/loki-local-config.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/cmd/loki/loki-local-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/cmd/loki/loki-local-config.yaml
-@@ -5,11 +5,11 @@ server:
- grpc_listen_port: 9096
+--- 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:
common:
+ instance_addr: 127.0.0.1
- path_prefix: /tmp/loki
+ path_prefix: /var/lib/loki
storage:
@@ -16,12 +16,21 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/cmd/loki/loki-local-config.yaml
+ rules_directory: /var/lib/loki/rules
replication_factor: 1
ring:
- instance_addr: 127.0.0.1
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples.md
+ kvstore:
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/configuration/examples.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/configuration/examples.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples.md
-@@ -150,7 +150,7 @@ storage_config:
+--- 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:
@@ -30,7 +39,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples.m
shared_store: bos
```
-@@ -179,7 +179,7 @@ storage_config:
+@@ -214,7 +214,7 @@ storage_config:
keyspace: lokiindex
filesystem:
@@ -39,54 +48,11 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples.m
```
-@@ -215,10 +215,10 @@ schema_config:
-
- storage_config:
- boltdb:
-- directory: /tmp/loki/index
-+ directory: /var/lib/loki/index
-
- filesystem:
-- directory: /tmp/loki/chunks
-+ directory: /var/lib/loki/chunks
-
- limits_config:
- enforce_metric_name: false
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/cassandra-index.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/operations/storage/filesystem.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/configuration/examples/cassandra-index.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/cassandra-index.yaml
-@@ -19,5 +19,5 @@ storage_config:
- keyspace: lokiindex
-
- filesystem:
-- directory: /tmp/loki/chunks
--
-\ No newline at end of file
-+ directory: /var/lib/loki/chunks
-+
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/complete-local-config.yaml
-===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/configuration/examples/complete-local-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/complete-local-config.yaml
-@@ -26,10 +26,10 @@ schema_config:
-
- storage_config:
- boltdb:
-- directory: /tmp/loki/index
-+ directory: /var/lib/loki/index
-
- filesystem:
-- directory: /tmp/loki/chunks
-+ directory: /var/lib/loki/chunks
-
- limits_config:
- enforce_metric_name: false
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/operations/storage/filesystem.md
-===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/operations/storage/filesystem.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/operations/storage/filesystem.md
-@@ -10,7 +10,7 @@ Very simply it stores all the objects (c
+--- 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
```yaml
storage_config:
filesystem:
@@ -95,20 +61,22 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/operations/storage/files
```
A folder is created for every tenant all the chunks for one tenant are stored in that directory.
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/rules/_index.md
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/rules/_index.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/rules/_index.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/rules/_index.md
-@@ -18,7 +18,7 @@ ruler:
+--- 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: /tmp/scratch
++ rule_path: /var/lib/loki/scratch
alertmanager_url: http://localhost
ring:
-@@ -245,7 +245,7 @@ ruler:
+ kvstore:
+@@ -246,7 +246,7 @@ ruler:
consul:
host: consul.loki-dev.svc.cluster.local:8500
store: consul
@@ -117,7 +85,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/rules/_index.md
storage:
gcs:
bucket_name:
-@@ -260,12 +260,12 @@ The local implementation reads the rule
+@@ -261,12 +261,12 @@ The local implementation reads the rule
A typical local configuration might look something like:
```
-ruler.storage.type=local
@@ -131,12 +99,12 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/rules/_index.md
+/var/lib/loki/rules//rules1.yaml
/rules2.yaml
```
- Yaml files are expected to be [Prometheus compatible](#Prometheus_Compatible) but include LogQL expressions as specified in the beginning of this doc.
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/upgrading/_index.md
+ 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.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/upgrading/_index.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/upgrading/_index.md
-@@ -875,8 +875,8 @@ Not every environment will allow this ca
+--- 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:
```
@@ -147,7 +115,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/upgrading/_index.md
```
In 1.5.0 this has changed:
-@@ -892,9 +892,9 @@ This will mostly affect anyone using doc
+@@ -1102,9 +1102,9 @@ This will mostly affect anyone using doc
One possible upgrade path would look like this:
@@ -159,27 +127,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/upgrading/_index.md
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.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/distributor.go
+Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-cloudflare.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/operator/internal/manifests/distributor.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/distributor.go
-@@ -19,9 +19,9 @@ const (
- configVolumeName = "config"
- rulesStorageVolumeName = "rules"
- storageVolumeName = "storage"
-- walDirectory = "/tmp/wal"
-- dataDirectory = "/tmp/loki"
-- rulesStorageDirectory = "/tmp/rules"
-+ walDirectory = "/var/lib/loki/wal"
-+ dataDirectory = "/var/lib/loki"
-+ rulesStorageDirectory = "/var/lib/loki/rules"
- secretDirectory = "/etc/proxy/secrets"
- )
-
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-cloudflare.yaml
-===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/cmd/promtail/promtail-cloudflare.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -189,10 +140,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-cloudfl
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-docker-config.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-docker-config.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/cmd/promtail/promtail-docker-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -202,10 +153,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-docker-
clients:
- url: http://loki:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-config.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-config.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/cmd/promtail/promtail-local-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -215,10 +166,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-c
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-limit-config.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-limit-config.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/cmd/promtail/promtail-local-limit-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -228,10 +179,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-l
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-pubsub-config.yaml
+Index: loki-2.8.0+git.1680557182.90888a0c/clients/cmd/promtail/promtail-local-pubsub-config.yaml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/cmd/promtail/promtail-local-pubsub-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -3,7 +3,7 @@ server:
grpc_listen_port: 0
@@ -241,11 +192,11 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/cmd/promtail/promtail-local-p
clients:
- url: http://localhost:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/lambda-promtail/_index.md
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/lambda-promtail/_index.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/clients/lambda-promtail/_index.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/lambda-promtail/_index.md
-@@ -140,7 +140,7 @@ server:
+--- 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:
@@ -254,11 +205,11 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/lambda-promtail/
clients:
- url: http://ip_or_hostname_where_Loki_run:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/promtail/configuration.md
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/configuration.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/clients/promtail/configuration.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/promtail/configuration.md
-@@ -1884,7 +1884,7 @@ server:
+--- 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:
@@ -267,7 +218,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/promtail/configu
clients:
- url: http://ip_or_hostname_where_loki_runs:3100/loki/api/v1/push
-@@ -1910,7 +1910,7 @@ server:
+@@ -2085,7 +2085,7 @@ server:
grpc_listen_port: 0
positions:
@@ -276,7 +227,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/promtail/configu
clients:
- url: http://loki_addr:3100/loki/api/v1/push
-@@ -1936,7 +1936,7 @@ server:
+@@ -2111,7 +2111,7 @@ server:
grpc_listen_port: 0
positions:
@@ -285,37 +236,12 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/clients/promtail/configu
clients:
- url: http://ip_or_hostname_where_Loki_run:3100/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/docker/config/promtail-gateway.yaml
-===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/production/docker/config/promtail-gateway.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/production/docker/config/promtail-gateway.yaml
-@@ -4,7 +4,7 @@ server:
- log_level: "debug"
-
- positions:
-- filename: /tmp/positions.yaml
-+ filename: /var/lib/promtail/positions.yaml
-
- clients:
- - url: http://loki-gateway:80/loki/api/v1/push
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/bos-config.yaml
-===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/docs/sources/configuration/examples/bos-config.yaml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/docs/sources/configuration/examples/bos-config.yaml
-@@ -21,5 +21,5 @@ storage_config:
- secret_access_key: secret_access_key
-
- compactor:
-- working_directory: /tmp/loki/compactor
-+ working_directory: /var/lib/loki/compactor
- shared_store: bos
-\ No newline at end of file
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/config/build_test.go
+Index: loki-2.8.0+git.1680557182.90888a0c/operator/internal/manifests/internal/config/build_test.go
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/operator/internal/manifests/internal/config/build_test.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/config/build_test.go
-@@ -28,7 +28,7 @@ common:
- s3forcepathstyle: true
+--- 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
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -323,7 +249,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -60,7 +60,7 @@ ingester:
+@@ -61,7 +61,7 @@ ingester:
max_transfer_retries: 0
wal:
enabled: true
@@ -343,7 +269,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
-@@ -207,12 +207,12 @@ overrides:
+@@ -213,12 +213,12 @@ overrides:
FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
Port: 9095,
},
@@ -358,8 +284,8 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-@@ -253,7 +253,7 @@ common:
- s3forcepathstyle: true
+@@ -266,7 +266,7 @@ common:
+ compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -367,7 +293,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -285,7 +285,7 @@ ingester:
+@@ -296,7 +296,7 @@ ingester:
max_transfer_retries: 0
wal:
enabled: true
@@ -376,7 +302,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
replay_memory_ceiling: 2500
ingester_client:
grpc_client_config:
-@@ -376,8 +376,8 @@ server:
+@@ -386,8 +386,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -387,7 +313,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
-@@ -449,12 +449,12 @@ overrides:
+@@ -479,12 +479,12 @@ overrides:
FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
Port: 9095,
},
@@ -402,7 +328,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-@@ -512,12 +512,12 @@ func TestBuild_ConfigAndRuntimeConfig_Cr
+@@ -553,12 +553,12 @@ func TestBuild_ConfigAndRuntimeConfig_Cr
FQDN: "loki-index-gateway-grpc-lokistack-dev.default.svc.cluster.local",
Port: 9095,
},
@@ -417,8 +343,80 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-@@ -557,7 +557,7 @@ common:
- s3forcepathstyle: true
+@@ -605,7 +605,7 @@ common:
+ compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ compactor:
+ compaction_interval: 2h
+- working_directory: /tmp/loki/compactor
++ working_directory: /var/lib/loki/compactor
+ 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:
+ min_backoff: 30ms
+ max_backoff: 100ms
+ wal:
+- dir: /tmp/wal
++ dir: /var/lib/loki/wal
+ truncate_frequency: 60m
+ min_age: 5m
+ max_age: 4h
+- rule_path: /tmp/loki
++ rule_path: /var/lib/loki
+ storage:
+ type: local
+ local:
+- directory: /tmp/rules
++ directory: /var/lib/loki/rules
+ ring:
+ kvstore:
+ store: memberlist
+@@ -779,8 +779,8 @@ server:
+ log_level: info
+ storage_config:
+ boltdb_shipper:
+- active_index_directory: /tmp/loki/index
+- cache_location: /tmp/loki/index_cache
++ active_index_directory: /var/lib/loki/index
++ cache_location: /var/lib/loki/index_cache
+ cache_ttl: 24h
+ resync_interval: 5m
+ shared_store: s3
+@@ -843,7 +843,7 @@ overrides:
+ },
+ Ruler: Ruler{
+ Enabled: true,
+- RulesStorageDirectory: "/tmp/rules",
++ RulesStorageDirectory: "/var/lib/loki/rules",
+ 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
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -426,7 +424,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -589,7 +589,7 @@ ingester:
+@@ -971,7 +971,7 @@ ingester:
max_transfer_retries: 0
wal:
enabled: true
@@ -435,7 +433,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
replay_memory_ceiling: 2500
ingester_client:
grpc_client_config:
-@@ -709,15 +709,15 @@ ruler:
+@@ -1090,15 +1090,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -454,7 +452,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
ring:
kvstore:
store: memberlist
-@@ -734,8 +734,8 @@ server:
+@@ -1115,8 +1115,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -465,7 +463,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
-@@ -792,7 +792,7 @@ overrides:
+@@ -1179,7 +1179,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -474,7 +472,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -837,12 +837,12 @@ overrides:
+@@ -1225,12 +1225,12 @@ overrides:
},
},
},
@@ -489,8 +487,8 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-@@ -883,7 +883,7 @@ common:
- s3forcepathstyle: true
+@@ -1278,7 +1278,7 @@ common:
+ compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -498,7 +496,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -915,7 +915,7 @@ ingester:
+@@ -1308,7 +1308,7 @@ ingester:
max_transfer_retries: 0
wal:
enabled: true
@@ -507,7 +505,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
replay_memory_ceiling: 2500
ingester_client:
grpc_client_config:
-@@ -1035,15 +1035,15 @@ ruler:
+@@ -1440,15 +1440,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -526,7 +524,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
ring:
kvstore:
store: memberlist
-@@ -1060,8 +1060,8 @@ server:
+@@ -1465,8 +1465,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -537,7 +535,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
-@@ -1118,7 +1118,7 @@ overrides:
+@@ -1529,7 +1529,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -546,7 +544,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -1164,12 +1164,12 @@ overrides:
+@@ -1592,12 +1592,12 @@ overrides:
},
},
},
@@ -561,8 +559,52 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-@@ -1210,7 +1210,7 @@ common:
- s3forcepathstyle: true
+@@ -1645,7 +1645,7 @@ common:
+ compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ compactor:
+ compaction_interval: 2h
+- working_directory: /tmp/loki/compactor
++ working_directory: /var/lib/loki/compactor
+ 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:
+ log_level: info
+ storage_config:
+ boltdb_shipper:
+- active_index_directory: /tmp/loki/index
+- cache_location: /tmp/loki/index_cache
++ active_index_directory: /var/lib/loki/index
++ 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
compactor:
compaction_interval: 2h
- working_directory: /tmp/loki/compactor
@@ -570,7 +612,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
-@@ -1242,7 +1242,7 @@ ingester:
+@@ -1987,7 +1987,7 @@ ingester:
max_transfer_retries: 0
wal:
enabled: true
@@ -579,7 +621,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
replay_memory_ceiling: 2500
ingester_client:
grpc_client_config:
-@@ -1375,15 +1375,15 @@ ruler:
+@@ -2132,15 +2132,15 @@ ruler:
min_backoff: 30ms
max_backoff: 100ms
wal:
@@ -598,7 +640,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
ring:
kvstore:
store: memberlist
-@@ -1400,8 +1400,8 @@ server:
+@@ -2157,8 +2157,8 @@ server:
log_level: info
storage_config:
boltdb_shipper:
@@ -609,7 +651,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
cache_ttl: 24h
resync_interval: 5m
shared_store: s3
-@@ -1458,7 +1458,7 @@ overrides:
+@@ -2221,7 +2221,7 @@ overrides:
},
Ruler: Ruler{
Enabled: true,
@@ -618,7 +660,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
EvaluationInterval: "1m",
PollInterval: "1m",
AlertManager: &AlertManagerConfig{
-@@ -1521,12 +1521,12 @@ overrides:
+@@ -2301,12 +2301,12 @@ overrides:
},
},
},
@@ -633,24 +675,140 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/internal/manifests/internal/
IngesterMemoryRequest: 5000,
},
ObjectStorage: storage.Options{
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/clients/pkg/promtail/promtail_test.go
+@@ -2354,7 +2354,7 @@ common:
+ compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
+ compactor:
+ compaction_interval: 2h
+- working_directory: /tmp/loki/compactor
++ working_directory: /var/lib/loki/compactor
+ 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:
+ log_level: info
+ storage_config:
+ boltdb_shipper:
+- active_index_directory: /tmp/loki/index
+- cache_location: /tmp/loki/index_cache
++ active_index_directory: /var/lib/loki/index
++ 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
+ compactor:
+ compaction_interval: 2h
+- working_directory: /tmp/loki/compactor
++ working_directory: /var/lib/loki/compactor
+ 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:
+ min_backoff: 30ms
+ max_backoff: 100ms
+ wal:
+- dir: /tmp/wal
++ dir: /var/lib/loki/wal
+ truncate_frequency: 60m
+ min_age: 5m
+ max_age: 4h
+- rule_path: /tmp/loki
++ rule_path: /var/lib/loki
+ storage:
+ type: local
+ local:
+- directory: /tmp/rules
++ directory: /var/lib/loki/rules
+ ring:
+ kvstore:
+ store: memberlist
+@@ -2878,8 +2878,8 @@ server:
+ log_level: info
+ storage_config:
+ boltdb_shipper:
+- active_index_directory: /tmp/loki/index
+- cache_location: /tmp/loki/index_cache
++ active_index_directory: /var/lib/loki/index
++ cache_location: /var/lib/loki/index_cache
+ cache_ttl: 24h
+ resync_interval: 5m
+ shared_store: s3
+@@ -3018,7 +3018,7 @@ overrides:
+ },
+ Ruler: Ruler{
+ Enabled: true,
+- RulesStorageDirectory: "/tmp/rules",
++ RulesStorageDirectory: "/var/lib/loki/rules",
+ 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
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/clients/pkg/promtail/promtail_test.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -55,7 +55,7 @@ func TestPromtail(t *testing.T) {
util_log.Logger = logger
- initRandom()
-- dirName := "/tmp/promtail_test_" + randName()
+ testutils.InitRandom()
+- dirName := filepath.Join(os.TempDir(), "/promtail_test_"+testutils.RandName())
+ dirName := "/var/lib/promtail_test_" + randName()
positionsFileName := dirName + "/positions.yml"
err := os.MkdirAll(dirName, 0o750)
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/docs/enhancements/ruler_support.md
+Index: loki-2.8.0+git.1680557182.90888a0c/operator/docs/enhancements/ruler_support.md
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/operator/docs/enhancements/ruler_support.md
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/operator/docs/enhancements/ruler_support.md
-@@ -768,7 +768,7 @@ spec:
+--- 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
+@@ -769,7 +769,7 @@ spec:
volumeMounts:
- name: "rules"
volume: "rules"
@@ -659,7 +817,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/docs/enhancements/ruler_supp
volumes:
- name: "rules"
items:
-@@ -785,7 +785,7 @@ spec:
+@@ -786,7 +786,7 @@ spec:
In turn the rules directory is outlined as such:
```
@@ -668,10 +826,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/operator/docs/enhancements/ruler_supp
/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.6.1+git.1658128747.6bd05c9a4/pkg/logcli/client/file_test.go
+Index: loki-2.8.0+git.1680557182.90888a0c/pkg/logcli/client/file_test.go
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/pkg/logcli/client/file_test.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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
@@ -20,8 +20,8 @@ func TestFileClient_QueryRangeLogQueries
input := []string{
`level=info event="loki started" caller=main.go ts=1625995076`,
@@ -694,11 +852,11 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/pkg/logcli/client/file_test.go
`level=info event="loki ready" caller=main.go ts=1625996095`,
}
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/config_wrapper_test.go
+Index: loki-2.8.0+git.1680557182.90888a0c/pkg/loki/config_wrapper_test.go
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/pkg/loki/config_wrapper_test.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/config_wrapper_test.go
-@@ -494,15 +494,15 @@ memberlist:
+--- 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:
fsConfig := `common:
storage:
filesystem:
@@ -718,7 +876,7 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/config_wrapper_test.go
// should remain empty
assert.EqualValues(t, defaults.Ruler.StoreConfig.GCS, config.Ruler.StoreConfig.GCS)
-@@ -662,8 +662,8 @@ storage_config:
+@@ -761,8 +761,8 @@ storage_config:
configString: `common:
storage:
filesystem:
@@ -729,24 +887,24 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/config_wrapper_test.go
expected: config.StorageTypeFileSystem,
},
} {
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/loki_test.go
+Index: loki-2.8.0+git.1680557182.90888a0c/pkg/loki/loki_test.go
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/pkg/loki/loki_test.go
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/pkg/loki/loki_test.go
-@@ -125,7 +125,7 @@ server:
- http_listen_port: %d
+--- 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:
grpc_listen_port: %d
common:
+ compactor_address: http://localhost:%d
- path_prefix: /tmp/loki
+ path_prefix: /var/lib/loki
ring:
kvstore:
store: inmemory
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/ksonnet/loki/config.libsonnet
+Index: loki-2.8.0+git.1680557182.90888a0c/production/ksonnet/loki/config.libsonnet
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/production/ksonnet/loki/config.libsonnet
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/production/ksonnet/loki/config.libsonnet
-@@ -339,7 +339,7 @@
+--- 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 @@
},
ruler: if $._config.ruler_enabled then {
@@ -755,10 +913,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/ksonnet/loki/config.libson
enable_api: true,
alertmanager_url: 'http://alertmanager.%s.svc.cluster.local/alertmanager' % $._config.namespace,
enable_sharding: true,
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki-distributed/config.yml
+Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-distributed/config.yml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/production/nomad/loki-distributed/config.yml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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:
enable_alertmanager_v2: true
enable_api: true
@@ -768,10 +926,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki-distributed/con
storage:
type: local
local:
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki-simple/config.yml
+Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki-simple/config.yml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/production/nomad/loki-simple/config.yml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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:
enable_alertmanager_v2: true
enable_api: true
@@ -781,10 +939,10 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki-simple/config.y
storage:
type: local
local:
-Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki/config.yml
+Index: loki-2.8.0+git.1680557182.90888a0c/production/nomad/loki/config.yml
===================================================================
---- loki-2.6.1+git.1658128747.6bd05c9a4.orig/production/nomad/loki/config.yml
-+++ loki-2.6.1+git.1658128747.6bd05c9a4/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:
enable_alertmanager_v2: true
enable_api: true
@@ -794,3 +952,244 @@ Index: loki-2.6.1+git.1658128747.6bd05c9a4/production/nomad/loki/config.yml
storage:
type: local
local:
+Index: loki-2.8.0+git.1680557182.90888a0c/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
+@@ -3,7 +3,7 @@ server:
+ grpc_listen_port: 0
+
+ positions:
+- filename: /tmp/positions.yaml
++ filename: /var/lib/promtail/positions.yaml
+
+ clients:
+ - url: http://localhost:3100/loki/api/v1/push
+Index: loki-2.8.0+git.1680557182.90888a0c/docs/sources/clients/promtail/installation.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
+ 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
+- (default location `/tmp/positions.yaml`).
++ (default location `/var/lib/promtail/positions.yaml`).
+ - 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
+===================================================================
+--- 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
+@@ -4,7 +4,7 @@ server:
+ log_level: "info"
+
+ positions:
+- filename: /tmp/positions.yaml
++ filename: /var/lib/promtail/positions.yaml
+
+ # 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
+===================================================================
+--- 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
+@@ -87,7 +87,7 @@ spec:
+ volumeMounts:
+ - mountPath: /etc/promtail
+ name: config
+- - mountPath: /tmp/promtail
++ - mountPath: /var/lib/promtail
+ name: run
+ - mountPath: /var/lib/docker/containers
+ name: docker
+@@ -151,7 +151,7 @@ data:
+ batchwait: 10s
+ timeout: 10s
+ positions:
+- filename: /tmp/promtail/positions.yaml
++ filename: /var/lib/promtail/positions.yaml
+ server:
+ http_listen_port: 3100
+ grpc_listen_port: 9095
+Index: loki-2.8.0+git.1680557182.90888a0c/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
+@@ -84,7 +84,7 @@ spec:
+ volumeMounts:
+ - mountPath: /etc/promtail
+ name: config
+- - mountPath: /tmp/promtail
++ - mountPath: /var/lib/promtail
+ name: run
+ - mountPath: /var/lib/docker/containers
+ name: docker
+@@ -147,7 +147,7 @@ data:
+ batchwait: 10s
+ timeout: 10s
+ positions:
+- filename: /tmp/promtail/positions.yaml
++ filename: /var/lib/promtail/positions.yaml
+ server:
+ http_listen_port: 3100
+ grpc_listen_port: 9095
+Index: loki-2.8.0+git.1680557182.90888a0c/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"
+ storageVolumeName = "storage"
+
+- walDirectory = "/tmp/wal"
+- dataDirectory = "/tmp/loki"
+- rulesStorageDirectory = "/tmp/rules"
++ walDirectory = "/var/lib/loki/wal"
++ dataDirectory = "/var/lib/loki"
++ rulesStorageDirectory = "/var/lib/loki/rules"
+
+ rulerContainerName = "loki-ruler"
+
+Index: loki-2.8.0+git.1680557182.90888a0c/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 (
+ func main() {
+ cm := storage.NewClientMetrics()
+ defer cm.Unregister()
+- if _, err := os.Stat("/tmp/benchmark/chunks"); os.IsNotExist(err) {
++ if _, err := os.Stat("/var/lib/loki/benchmark/chunks"); os.IsNotExist(err) {
+ if err := fillStore(cm); err != nil {
+ log.Fatal("error filling up storage:", err)
+ }
+@@ -45,8 +45,8 @@ func main() {
+
+ func getStore(cm storage.ClientMetrics) (storage.Store, error) {
+ storeConfig := storage.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"},
+ }
+
+ schemaCfg := config.SchemaConfig{
+Index: loki-2.8.0+git.1680557182.90888a0c/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(
+ })
+ }
+
+-// rm -Rf /tmp/benchmark/chunks/ /tmp/benchmark/index
++// rm -Rf /var/lib/loki/benchmark/chunks/ /var/lib/loki/benchmark/index
+ // 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
+===================================================================
+--- 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
+@@ -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:
+ // log.SetLogHandler(log.STDOUT | log.FILE) // default is log to stdout
+-// log.SetLogDir("/tmp") // default is /tmp
++// log.SetLogDir("/var/lib/loki") // default is /var/lib/loki
+ // log.SetRotateType(log.ROTATE_DAY) // default is log.HOUR
+ // log.SetRotateSize(1 << 30) // default is 1GB
+ // log.SetLogLevel(log.INFO) // default is log.DEBUG
+@@ -67,7 +67,7 @@ const (
+
+ DEFAULT_ROTATE_TYPE = ROTATE_HOUR
+ DEFAULT_ROTATE_SIZE int64 = 1 << 30
+- DEFAULT_LOG_DIR = "/tmp"
++ DEFAULT_LOG_DIR = "/var/lib/loki"
+ ROTATE_SIZE_FILE_PREFIX = "rotating"
+ )
+