36 Commits

Author SHA256 Message Date
Ana Guerrero
7d365db5c2 Accepting request 1229478 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1229478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=15
2024-12-10 22:43:26 +00:00
Stefano Torresi
8e4d377a72 update to 3.3.1, convert to obs_scm, fix builds on s390x/i586/armv7l
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=31
2024-12-09 19:45:21 +00:00
Ana Guerrero
57a7328884 Accepting request 1221760 from server:monitoring
- Update to version 3.2.1:
  * ci: fix logql analyzer (backport release-3.2.x) [manual backport] (#14518)
  * fix(logql): updated JSONExpressionParser not to unescape extracted values if it is JSON object. (backport release-3.2.x) (#14502)
  * docs: update sample result on loki setup page (backport release-3.2.x) (#14493)
  * docs: Updated Fluent Bit docs to use official plugin + Sandbox (backport release-3.2.x) (#14490)
  * docs: Small update to install docs (backport release-3.2.x) (#14479)
  * docs: Update Promtail installation (backport release-3.2.x) (#14474)
  * docs: update Helm installation topics (backport release-3.2.x) (#14471)
  * docs: corrected result for the `flags` field in the examples (backport release-3.2.x) (#14468)
  * docs: Update alloy-otel-logs.md to correct a typo (backport release-3.2.x) (#14459)
  * docs: Revise the LogQL Analyzer topic (backport release-3.2.x) (#14454)
  * docs: remove reference to Agent Flow (backport release-3.2.x) (#14450)
  * docs: Updated Promtail to Alloy (backport release-3.2.x) (#14429)
  * fix(storage/chunk/client/aws): have GetObject check for canceled context (backport release-3.2.x) (#14422)
  * fix: Revert build image to Debian Bullseye to fix libc version issue in Promtail (#14386)
  * docs: OpenTelemetry Collector Sandbox Tutorial (backport release-3.2.x) (#14380)
  * fix(config): Copy Alibaba and IBM object storage configuration from common (#14315)
  * docs: fix broken links (backport release-3.2.x) (#14363)
  * docs: Reorganize Query Templates page (backport release-3.2.x) (#14335)
  * chore: [release-3.2.x] docs: Fix link bracket for query-acceleration-blooms (#14265)
  * chore: [release-3.2.x] docs: Fix typo in query-acceleration-blooms (#14251)
  * chore: [release-3.2.x] docs: add additional clarification for single binary helm installation (#14236)
  * chore: [release-3.2.x] docs: added video to components (#14232)
  * chore: [release-3.2.x] docs: Replace shortcodes on Storage topic (#14229)
  * chore: [release-3.2.x] docs: Added new Query best practices page (#14224)
  * chore: [release-3.2.x] fix: Add additional validation for timeout while retrieving headers (#14220)
  * chore: [release-3.2.x] docs: Explore Logs GA (#14219)
  * chore: [release-3.2.x] docs: Fix awkwardly worded line about fluent-cli (#14205)
  * chore: [release-3.2.x] docs: Update Loki components page with new bloom components (#14200)
  * chore: [release-3.2.x] ci: Update workflows to use actions that don't need organization secrets (#14195)
  * docs: Loki 3.2 Release Notes (#14194)
  * ci: use app token for release
  * chore(k218): release 3.2.0 (#14088)
- refresh patches:
  harden_promtail.service.patch
  proper-data-directories.patch
- use the source epoch as build date
- since we only package releases we can also just use the version
  from the tag instead of a verbose version string
- no longer strip the binaries
- Update to version 3.2.0:
  * chore: [k218] docs: add `X-Scope-OrgID` header to Grafana datasource if multi-tenancy is enabled (#14172)
  * feat: add structured metadata to the promtail push API (#14153) (#14155)
  * chore: [k218] fix(blooms): Fix panic in initialisation of the bloom planner and builder (#14113)
  * chore: [k218] feat(blooms): Add bloom planner and bloom builder to `backend` target (#14092)
  * chore: [k218] chore(deps): Downgrade fake-gcs-server (#14085)
  * chore: [k218] feat(max-allowed-line-length): add config to set `max-allowed-line-length` in pattern ingester (#14076)
  * chore: [k218] fix: downgrade grpc to fix regression (#14075)
  * chore: [k218] fix: correct _extracted logic in detected fields (#14073)
  * chore: [k218] fix: enable service detection for otlp endoint (#14052)
  * chore: [k218] fix(`detected_fields`): return parsed labels when parsers are passed (#14050)
  * fix: do not retain span logger created with index set initialized at query time (#14027)
  * chore: [k218] chore(ci): fix failing arm builds (#14023)
  * feat: Add initial support for a kafka-based ingest path (#13992)
  * fix(detected_labels): Add matchers to get labels from store" (#14012)
  * feat: add _extracted suffix to detected fields conflicts (#13993)
  * fix: Propagate headers/warnings/stats from quantile downstreams (#13881)
  * chore: update dskit and thanos/objstore (#13998)
  * fix(deps): update module github.com/efficientgo/core to v1.0.0-rc.3 (#14001)
  * fix(deps): update module github.com/hashicorp/consul/api to v1.29.4 (#14002)
  * chore(deps): update anchore/sbom-action action to v0.17.2 (#13985)
  * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.188 (#14000)
  * chore: Update nginx-unprivileged (#13978)
  * chore(blooms)!: Remove bloom compactor component (#13969)
  * docs: Update HTTP API docs for  limit (#13987)
  * fix: sanatize structured metadata at query time (#13983)
  * chore: Rename `HeapIterator` to `MergeEntryIterator` (#13975)
  * perf: Avoid looking up unnecessary TSDB symbols during Volume API (#13960)
  * chore: Update kiwigrid/k8s-sidecar (#13979)
  * chore(jsonnet)!: convert read statefulset into deployment for loki-simple-scalable (#13977)
  * chore(jsonnet): Add backend component to loki-simple-scalable jsonnet (#13976)
  * chore(docs): Rewrite query acceleration docs (#13965)
  * fix(deps): update module github.com/gorilla/websocket to v1.5.3 (#13873)
  * fix(detected labels): response when store label values are empty (#13970)
  * feat: Limit to block ingestion until configured date (#13958)
  * chore(deps): update terraform aws to v5 (#13961)
  * feat: ability to ignore cache for volume queries (#13945)
  * chore(deps): update terraform google to v5 (#13962)
  * fix(deps): update module github.com/ncw/swift to v2 (#13951)
  * fix(deps): update module github.com/tonistiigi/fifo to v1 (#13952)
  * chore(deps): update fluent/fluent-bit docker tag (#13843)
  * fix: Read full buffer from storage when fetching a range (#13948)
  * fix(deps): update module github.com/fsouza/fake-gcs-server to v1.47.7 (#13935)
  * chore(deps): update chunks/segments inspect dependencies (#13936)
  * fix(cloud-mixin): Attribute OTLP route correctly to write path (#13943)
  * chore: make mixin range interval configurable (#13925)
  * chore(deps): lamba-promtail, move back to al2, update krb5-libs (#13939)
  * chore(deps): LambdaPromtail - Bump to AmazonLinux 2023 (#13938)
  * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.187 (#13933)
  * fix(deps): update module github.com/oschwald/geoip2-golang to v1.11.0 (#13934)
  * fix: record datasample queries are limited query type (#13930)
  * chore: log the query from the request when we're unable to get a result from the results cache (#13915)
  * fix: Improve execution speed for queries with label filters (#13922)
  * chore(deps): update dskit 20240819 (#13924)
  * feat(operator): Enable leader-election (#13760)
  * fix: split the error and agg metric cases for clarity (#13913)
  * chore(deps): Update dependencies, build version, and go version for lambda-promtail (#13904)
  * feat: aggregate byte and count metrics (#13731)
  * chore: Update to labeler v5 (#13911)
  * fix(deps): update module golang.org/x/time to v0.6.0 (#13910)
  * chore(deps): update terraform random to v3.6.2 (#13909)
  * chore(deps): update dependabot/fetch-metadata action to v2 (#13908)
  * chore(deps): update ruby docker tag to v3.3.4 (#13907)
  * fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.4 (#13892)
  * fix(deps): update module github.com/ibm/ibm-cos-sdk-go to v1.11.0 (#13893)
  * fix: Adjust tailer loop criteria so it is actually re-tested (#13906)
  * chore: remove unused pattern tokenization form Loki (#13783)
  * chore(deps): update anchore/sbom-action action to v0.17.1 (#13895)
  * fix: Read "404" as object not exist (#13901)
  * chore(deps): Revert "chore(deps): update actions/labeler action to v5" (#13899)
  * chore(deps): update actions/labeler action to v5 (#13894)
  * chore(deps): update azure/setup-helm action to v4 (#13890)
  * fix(deps): update module github.com/mattn/go-ieproxy to v0.0.12 (#13876)
  * chore(deps): update actions/setup-python action to v5 (#13889)
  * chore(deps): update actions/checkout action to v4 (#13888)
  * fix(deps): update module github.com/workiva/go-datastructures to v1.1.5 (#13885)
  * chore(deps): update terraform aws to ~> 4.67.0 (#13886)
  * feat(lambda-promtail): build lambda with zip file (#13787)
  * fix(deps): update module github.com/schollz/progressbar/v3 to v3.14.6 (#13884)
  * fix: Handle EOF when reading from some obj stores (#13868)
  * fix(deps): update module github.com/klauspost/pgzip to v1.2.6 (#13874)
  * chore(deps): update alpine docker tag to v3.20.2 (#13882)
  * fix: flaky test blockPlansForGaps (#13743)
  * fix(deps): update module github.com/azure/go-autorest/autorest/adal to v0.9.24 (#13862)
  * docs: Recommended quickstart changes + Upgrade (#13747)
  * chore: fix some comments (#13830)
  * fix(deps): update module github.com/docker/docker to v27.1.2+incompatible (#13872)
  * fix(deps): update module github.com/gogo/googleapis to v1.4.1 (#13871)
  * fix(deps): update module github.com/felixge/fgprof to v0.9.4 (#13870)
  * fix(deps): update module github.com/azure/go-autorest/autorest/azure/auth to v0.5.13 (#13863)
  * fix(deps): update module github.com/datadog/sketches-go to v1.4.6 (#13865)
  * chore: remove initial metric aggregation experiment (#13729)
  * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.186 (#13864)
  * fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.10+incompatible (#13861)
  * chore(deps): update grafana/loki-build-image docker tag to v0.33.6 (#13859)
  * chore(deps): update helm/chart-testing-action action to v2.6.1 (#13855)
  * chore(deps): update grafana/promtail docker tag to v1.6.1 (#13851)
  * chore(deps): update grafana/promtail docker tag to v2.9.10 (#13854)
  * chore(deps): update dependency go to v1.22.6 (#13842)
  * chore: Update loki build image to go 1.22.6 (#13857)
  * chore:  manual changelog backport (#13852)
  * chore(deps): update grafana/loki docker tag to v2.9.10 (#13848)
  * chore(deps): update golang docker tag to v1.22.6 (#13847)
  * chore(deps): update grafana/loki-build-image docker tag to v0.33.5 (#13849)
  * chore(ci): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13832)
  * chore: [main] chore(release-3.1.x): release 3.1.1 (#13817)
  * fix(deps): update github.com/grafana/jsonparser digest to ea80629 (#13814)
  * fix(ci): fixed release-please manifest (#13810)
  * fix(deps): update github.com/c2h5oh/datasize digest to aa82cc1 (#13807)
  * fix(deps): update github.com/docker/go-plugins-helpers digest to 45e2431 (#13808)
  * fix(deps): update github.com/axiomhq/hyperloglog digest to af9851f (#13806)
  * chore(deps): update github.com/grafana/regexp digest to a468a5b (#13805)
  * chore: Turn off renovate on non-main branches (#13803)
  * fix(ci): add cleanup step into job `dist` (#13801)
  * chore: Add metastore client as dep for rf1 querier & ignore auth for ListBlocks (#13786)
  * fix(deps): update module golang.org/x/text to v0.17.0 (main) (#13794)
  * fix(operator): Don't overwrite annotations for LokiStack ingress resources (#13708)
  * fix: panic when parsing and extracting JSON key values (#13790)
  * feat(loki):  add ability to disable AWS S3 dualstack endpoints usage  (#13785)
  * fix(helm): fixed memcached and provisioner templates (#13788)
  * chore: Remove unused stream index from RF1 ingester (#13758)
  * fix: Include whitespaces in extracted tokens (#13738)
  * chore(deps): update module golang.org/x/net to v0.23.0 [security] (main) (#13763)
  * fix(deps): update module github.com/docker/docker to v27.1.1+incompatible [security] (main) (#13762)
  * feat: upgrade prometheus (#13671)
  * fix(break): helm: Fix how we set imagePullSecrets for enterprise-gateway and admin-api. (#13761)
  * chore(helm-chart): added SSE config into AWS storage config (#13746)
  * fix: try reading chunks which have incorrect offset for blocks (#13720)
  * docs: Update the Visualize topic (#13742)
  * feat: Introduce wal segment read path. (#13695)
  * build: Update loki-build-image to Alpine 3.20.2 (#13744)
  * fix: ast left cycular reference result in oom (#13501)
  * docs: fix broken links due to Alloy docs reorg (#13715)
  * docs: rewrite quickstart with Killercoda metadata (#13234)
  * chore: fix some comments (#13724)
  * feat(blooms): Add series & chunks per block metrics (#13721)
  * fix: Use elements match in gapsBetweenTSDBsAndMetas test (#13722)
  * feat: Ingester Stream Limit Improvements (#13532)
  * chore: add service_name label earlier in the ingestion pipeline (#13702)
  * fix: protect ruler remote-write overrides map with a mutex when creating new appenders (#13676)
  * docs: Late review comments and linting (#13714)
  * docs: Update Observability topic (#13323)
  * chore(lint-error): remove unused `stepCount` in `engine.go` (#13709)
  * chore: add congestion control to AWS (#13691)
  * chore: log stats around chunks being flushed (#13699)
  * chore: treat datasample queries the same as limited queries (#13700)
  * fix: fixed typo in ruler URL (#13692)
  * chore: Use boltdb Batch API for metastore writes (#13693)
  * feat(operator): Add alert for discarded samples (#13512)
  * fix(blooms): Ship chunkrefs in task payload (#13677)
  * chore: use native histogram for metastore_request_duration_seconds (#13680)
  * feat: instrument failed chunk encoding/decoding (#13684)
  * docs: State limitations of bloom filters (#13673)
  * fix: add missing flush op timeout (#13679)
  * fix: Handle block offset exceeding chunk length in memchunk.go (#13661)
  * feat: Ignore empty streams in distributor if all entries fail validation (#13674)
  * fix: fix a bug where AppendRequest with no entries triggers flush (#13672)
  * docs: Fixed link test (#13666)
  * fix: special case the return values from a sharded first/last_over_time query (#13578)
  * fix(blooms): Improve error wrap to make ignoreNotFound work when fetching blocks (#13656)
  * docs: Send Data Alloy page + Interactive Examples (#13367)
  * chore(helm): fix comment in values.yml (#13638)
  * chore: Remove client header interceptors from metastore client (#13659)
  * feat: add loki_ingester_rf1_segment_age_seconds metric (#13653)
  * feat(detected-labels): remove cardinality filter (#13652)
  * fix(helm): removed helm test (#13651)
  * chore: move timestamps into SegmentWriter (#13644)
  * feat: Implement GetObjectRange for all storage providers (#13650)
  * fix: remove trailing backtick in verify-config for Loki 3.0 (#13640)
  * fix: remove limit middleware for `detected_labels` (#13643)
  * feat: Add baseline rf1 querier implementation (#13639)
  * feat: remove mutexes from wal.SegmentWriter (#13641)
  * feat(rf1): Add query path for the metastore (#13636)
  * feat: Calculate the age of a WAL segment (#13637)
  * feat(lambda-promtail): Adding S3 log parser support for AWS GuardDuty (#13148)
  * fix(helm): fix imagePullSecrets for statefulset-results-cache (#13051)
  * feat(rf1): Store index ref in metastore (#13613)
  * fix(loki-mixin): Fix latency panel for Index Gateway (#13629)
  * fix(blooms): Use correct key to populate blockscache at startup (#13624)
  * fix: Keep blocks referenced by newer metas (#13614)
  * fix(blooms): Cleanup temp blockdir in bloom compactor (#13622)
  * chore(deps): update nginx docker tag to v1.27 (main) (#13620)
  * fix(deps): update module github.com/gorilla/mux to v1.8.1 (main) (#13618)
  * chore(deps): update confluentinc/cp-kafka docker tag to v6.2.15 (main) (#11283)
  * docs: small update to doc loki-http-api.md (#13594)
  * fix(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 (main) (#13615)
  * feat(structured-metadata-api): add structured metadata to `/detected_fields` API (#13604)
  * fix: remove retries on the stats handlers because they already retry (#13608)
  * feat: Instrument rf1 write path with tracing (#13599)
  * feat: Instrument metastore GRPC calls (#13598)
  * chore: Remove excessive logging from bloom gateway (#13603)
  * docs: add docs comparing native otlp ingestion vs loki exporter (#13574)
  * fix: fix retry code to handle grpc status codes. updated newer stats retries to be wrapped with spans (#13592)
  * fix: add a retry middleware to all the stats handlers (#13584)
  * docs: added video for fluentd and fluent bit (#13579)
  * feat: lambda-promtail; ensure messages to Kinesis are usable by refactoring parsing of KinesisEvent to match parsing of CWEvents + code cleanup (#13098)
  * chore: do not shard log queries with empty filter (#13568)
  * chore: shard limited queries with a fixed sharding factor (#13576)
  * chore: replace pkg/errors with errors (#13583)
  * chore: replace pkg/errors with errors (#13582)
  * chore: replace pkg/errors with errors (#13581)
  * feat: Bootstrap metastore for wal segments (#13550)
  * fix(deps): update module github.com/docker/docker to v25.0.5+incompatible [security] (main) (#12279)
  * fix(blooms): Fix eviction of multiple blockcache items (#13573)
  * feat: Track when builders are doing work with a gauge (#13570)
  * docs: Deprecated Notice for Grafana Agent + Updated Helm Concepts (#13461)
  * fix: incorrect pod matcher for compactor in mixin when using ssd mode (#12846)
  * build: Loki build and Docker updates (#13325)
  * fix(operator): Set object storage for delete requests when using retention (#13562)
  * feat: Update doc-validator version (#13558)
  * fix: Dedup pattern tokens on output (#13534)
  * fix: Retain original values in logfmt pattern tokenizer (#13535)
  * fix: Fix panic in ingester.go (#13557)
  * chore: Rename PendingItem to PendingSegment and clean up flush.go (#13554)
  * chore: Remove redundant comments (#13553)
  * chore: Use filesystem backed writer for blooms (#13522)
  * fix: Fix log line for fingerprint not found (#13555)
  * feat: Add CLI to inspect RF=1 WAL segments (#13552)
  * chore: Clean up old streams periodically in RF-1 ingester (#13511)
  * chore: refactor WAL Manager (#13551)
  * chore: Clean up manager_test.go (#13549)
  * chore: Use github.com/coder/quartz instead of time (#13542)
  * chore(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.6.0 [security] (main) (#13434)
  * chore: Remove unused const (#13544)
  * chore: Remove size and duration logs now we have metrics (#13547)
  * chore: Fix not ready error message in RF-1 Ingester (#13546)
  * fix: Fixes span name of serializeRounTripper (#13541)
  * chore: Use pool of bytes.Buffer instead of io.Pipe (#13543)
  * feat: Remove flush loop and queue from Ingester RF-1 (#13538)
  * fix(helm): Update yaml file `./production/helm/loki/Chart.yaml` (+1 other) (#13392)
  * feat(helm): Support alibabacloud oss in helm chart (#13441)
  * fix(helm): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13426)
  * test: Add logging for empty blooms (#13537)
  * fix(operator): Allow structured metadata only if V13 schema provided (#13463)
  * feat: Add metrics for Ingester RF-1 (#13510)
  * feat: WAL Manager configuration options (#13531)
  * build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /cmd/chunks-inspect (#13433)
  * docs: Add Explore Logs to Release Notes (#13529)
  * fix: detected fields incorrect type bug (#13515)
  * fix(blooms): Remove backoff from notify planner (#13506)
  * fix(operator): Remove duplicate conditions from status (#13497)
  * feat: improve placeholder replacement of byte sizes (#13508)
  * chore: Improve test coverage of WAL Manager (#13498)
  * chore: Remove unused metrics from Ingester-RF1 (#13499)
  * fix: add logging to empty bloom (#13502)
  * fix(blooms): skip empty blooms on reads (#13500)
  * perf(blooms): Avoid tiny string allocations for insert cache (#13487)
  * feat: downsample aggregated metrics (#13449)
  * chore: Remove un-used errors from WAL Manager (#13496)
  * chore: Small fixes to comments and ErrFull in manager.go (#13494)
  * feat: Add metrics to WAL Manager (#13490)
  * feat: Use WAL Manager (#13491)
  * fix: Return empty vector instead of nil for empty evaluator. (#13485)
  * fix(operator): Skip updating annotations for serviceaccounts (#13450)
  * fix: Fix HPA ingester typo (#13158)
  * refactor(blooms): Apply retention in planner (#13484)
  * feat: WAL Manager (#13428)
  * fix(query engine): Include lines with ts equal to end timestamp of the query range when executing range aggregations (#13448)
  * docs: fix broken link (#13480)
  * fix: Update Loki v3 Helm statefulset-ingester.yaml template (#13118)
  * fix(operator): Support v3.1.0 in OpenShift dashboards (#13430)
  * docs: Fix broken link (#13470)
  * feat: RF1 improves replication stategy to support 1 replica (#13469)
  * fix: Properly reset wal segment writer (#13468)
  * feat(exporter): include boolean values in limit exporter (#13466)
  * feat: Pattern ingesters add a limiter for high eviction rate (#13464)
  * test: Add range aggregation test for instant queries (#13447)
  * fix: Fix panic in BloomStore initialisation (#13457)
  * docs: doc/promtail/journal: adds available labels paragraph (#11888)
  * fix: Fixes pattern pruning stability (#13429)
  * refactor(blooms): Improve task progress logging in builder (#13394)
  * fix(gateway client): Fix nil pointer dereference panic when using ruler in ring mode (#13436)
  * chore: Convert iterators in pattern module to `v2.Iterator` interface (#13407)
  * docs: Add workaround instructions in upgrade guide for API changes (#13439)
  * fix(log results cache): include pipeline wrapper disabled in cache key (#13328)
  * feat(chunks-inspect): support structured metadata  (#11506)
  * feat(api)!: Fail log queries when executed on instant query endpoint (#13421)
  * feat(operator): Update Loki operand to v3.1.0 (#13422)
  * chore: Set memberlist func for ingester-rf1 init (#13424)
  * fix: Remove query size limit for detected fields (#13423)
  * chore: Refactor storage interface for rf1 (#13415)
  * fix(operator): Watch for CredentialsRequests on CCOAuthEnv only (#13299)
  * chore: use read-only index store for ingester RF1 (#13419)
  * chore: Update CHANGELOG.md (#13417)
  * feat: Drain uses different tokenizer based on log format (#13384)
  * test: Fix flaky congestion test (#13410)
  * feat(loki): Do not enforce max-query-bytes-read and max-querier-bytes-read in limited tripperware (#13406)
  * chore: Improve performance of structured metadata (#13404)
  * docs: update _index.md to reflect config file name and location change (#13390)
  * fix: querier address in SingleBinary mode (#13297)
  * feat: Use prefixed WAL storage path in Object Storage (#13377)
  * chore: adjusted SegmentWriter to the reader conversion (#13342)
  * feat: Ingester RF-1 (#13365)
  * chore: Update Docker images to Go 1.22.5 (#13398)
  * feat: exclude  in pattern tokens (#13397)
  * build: Update Loki build image to 0.33.4 (#13396)
  * feat: exclude  and  from creating new tokens in patterns (#13395)
  * perf: Limit tokens per pattern to 128 (#13376)
  * fix(blooms): Delete outdated metas during planning (#13363)
  * chore: Make dedicated iterator package (#13273)
  * fix(blooms): Suppress error from resolving server addresses for blocks (#13385)
  * feat(operator): Add support for the volume API (#13369)
  * docs: Loki 3.1 release notes (#13386)
  * docs: update Promtail doc (#13330)
  * docs: fix broken link and add alt text  (#13322)
  * docs: More Alloy updates (#13336)
  * perf: Gather aggregate per-line and per-tenant metrics for Drain patterns (#13368)
  * chore(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.6.0 [security] (main) (#13199)
  * fix(blooms): ensure tokenizer cache is reset between series (#13370)
  * chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (main) (#13304)
  * refactor(blooms): Better task naming (#13361)
  * docs: Updated bucket names and added warning (#13347)
  * refactor(blooms): Fix and improve build metrics (#13360)
  * fix(sharding): use without() grouping when merging `avg_over_time` shard results (#12176)
  * fix(retry): fix retries when using protobuf encoding (#13316)
  * docs: Label filter expression: Change unit suffix suffix to proper case whe… (#13344)
  * fix: support multi-zone ingesters when converting global to local limits for streams in limiter.go (#13321)
  * perf: Prune unused pattern branches (#13329)
  * fix(blooms): Remove unused arg (#13343)
  * feat: convert WalSegmentWriter to io.ReadSeeker (#13340)
  * fix(blooms): Minor fixes and improvements for testing in dev (#13341)
  * fix: stream ownership check (#13314)
  * refactor: Introduce context cause to our code (#13224)
  * refactor(blooms): more easily testable day partitioning (#13331)
  * chore(blooms): Various minor code cleanups (#13332)
  * feat: Collect duplicate log line metrics (#13084)
  * fix: Lint issues after merge to main (#13326)
  * refactor(blooms): Implement retry in builder (#13306)
  * refactor(blooms): Do not use sleeps on integration test (#13308)
  * docs: Clarify Unit Requirement for Duration Comparison in Label Values (#13318)
  * chore(mempool): Wait for buffer instead of returning error (#13298)
  * docs: Update configuration.md (#13309)
  * docs: Replace instances of k6.io/docs with grafana.com/docs/k6 (#13302)
  * fix(blooms): Fix panic in bloom gateway (#13303)
  * perf(blooms): always return bloom pages to allocator (#13288)
  * refactor(blooms): Bloom building integration test (#13296)
  * feat(wal): Benchmark and improve WAL writes using Reset. (#13272)
  * feat(helm): Make gateway container port configurable. (#13294)
  * perf(mempool): Replace `sync.Mutex` with `sync.Once` (#13293)
  * fix(blooms): ignores bloom filtering errors in bounded shard query planning (#13285)
  * perf(blooms): mempool no longer zeroes out buffers unnecessarily (#13282)
  * fix(blooms): improves mempool metrics (#13283)
  * refactor: Remove unnecessary spanlogger usage (#13255)
  * feat: Add settings for cpu/mutex/block profiling options (#13278)
  * chore(index-gateway): Improve instrumentation of index download/sync (#13194)
  * feat(ingester): Smooth out chunk flush operations (#9994)
  * chore(index-gateway): Download then extract in separate steps (#13202)
  * feat(wal): Add sizing information to writer and reader. (#13267)
  * fix: remove tenant label tagging from profiles to reduce cardinality (#13270)
  * docs: Fix typos and style (#13230)
  * chore: Update upgrade docs for -ruler.alertmanager-use-v2 (#13264)
  * docs: fix typo causing broken link (#13258)
  * perf: Re-introduce fixed size memory pool for bloom querier (#13172)
  * refactor(blooms): Add metrics for per-tenant tasks progress to planner (#13078)
  * feat: Introduce a new Object Storage WAL format. (#13253)
  * feat: collect and serve pre-aggregated bytes and counts (#13020)
  * chore: Change default version to Alertmanager APIv2 (#13263)
  * feat: flush not owned streams (#13254)
  * fix(mixin): various latency panels in operational dashboard should have ms unit type instead of seconds (#13260)
  * feat: improve Owned Streams feature observability  (#13232)
  * fix(helm): fix extraObjects (#13107)
  * fix: update fixed limit once streams ownership re-checked (#13231)
  * fix: separates directory creation from permission checks (#13248)
  * feat: Added getting started video for ingesting Otel logs (#13226)
  * fix: Redo ingester profile tagging (#13239)
  * docs: Update timestamp topic (#13207)
  * docs: Update OTLP endpoint (#13235)
  * ci: fix accidentally skipped package failures (#13240)
  * chore: Checkin missing etcd.io/bbolt vendor files (#13228)
  * chore: Update go.etcd.io/bbolt to v1.3.8 (#13227)
  * fix: Init internal server log along with loki's server instance (#13221)
- Add lokitool subpackage
- Remove harden_promtail.service.patch as we are using service file shipped separately
- Update to version 3.1.1+git.1723126694.89fe788d:
  * chore: [release-3.1.x] fix(ci): fixed release-please manifest (#13811)
  * chore: [release-3.1.x] fix(ci): add cleanup step into job `dist` (#13802)
  * chore: [release-3.1.x] feat(loki):  add ability to disable AWS S3 dualstack endpoints usage  (#13795)
  * chore: [release-3.1.x] feat: Update doc-validator version (#13796)
  * fix(deps): bumped dependencies versions to resolve CVEs (#13789)
  * chore: [release-3.1.x] docs: Update the Visualize topic (#13750)
  * chore: [release-3.1.x] docs: fix broken links due to Alloy docs reorg (#13740)
  * chore: [release-3.1.x] docs: rewrite quickstart with Killercoda metadata (#13737)
  * chore: [release-3.1.x] chore: fix some comments (#13728)
  * chore: [release-3.1.x] docs: Late review comments and linting (#13716)
  * docs: Update Observability topic (#13323) (#13712)
  * chore: [release-3.1.x] fix: fixed typo in ruler URL (#13697)
  * chore: [release-3.1.x] docs: State limitations of bloom filters (#13682)
  * chore: [release-3.1.x] docs: Fixed link test (#13669)
  * chore: [release-3.1.x] docs: Send Data Alloy page + Interactive Examples (#13664)
  * chore: [release-3.1.x] fix: remove trailing backtick in verify-config for Loki 3.0 (#13648)
  * chore: [release-3.1.x] docs: small update to doc loki-http-api.md (#13617)
  * chore: [release-3.1.x] docs: add docs comparing native otlp ingestion vs loki exporter (#13597)
  * chore: [release-3.1.x] docs: added video for fluentd and fluent bit (#13587)
  * chore: [release-3.1.x] docs: Add Explore Logs to Release Notes (#13530)
  * chore: [release-3.1.x] docs: fix broken link (#13481)
  * chore: [release-3.1.x] docs: fix typo causing broken link (#13477)
  * chore: [release-3.1.x] docs: Fix broken link (#13472)
  * chore: [release-3.1.x] docs: doc/promtail/journal: adds available labels paragraph (#13452)
  * chore: [release-3.1.x] docs: Loki 3.1 release notes (#13403)
  * chore: [k207] chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (main) (#13375)
  * chore: [k207] fix(blooms): ensure tokenizer cache is reset between series (#13373)
  * chore: [k207] feat: Add settings for cpu/mutex/block profiling options (#13281)
  * chore: [k207] chore(index-gateway): Improve instrumentation of index download/sync (#13280)
  * chore: [k207] chore: download then extract in separate steps (#13279)
  * chore: [k207] fix: remove tenant label tagging from profiles to reduce cardinality (#13271)
  * chore: [k207] fix: separates directory creation from permission checks (#13257)
  * chore: [k207] fix: Init internal server log along with loki's server instance (#13256)
  * chore: [k207] fix: Redo ingester profile tagging (#13246)
  * feat: Optimize log parsing performance by using unsafe package (#13223)
  * docs(helm): Fix broken `Values.yaml` link in the examples docs (#13219)
  * fix: add detected_level info when the info word appears on log message (#13218)
  * feat: add recalculateOwnedStreams to check stream ownership if the ring is changed (#13103)
  * docs: remove redundant backticks from http api documentation (#13212)
  * docs: fix query example for labels and values (#13213)
  * fix(operator): add alertmanager client config to ruler template (#13182)
  * feat: Update Loki monitoring docs to new meta monitoring helm (#13176)
  * docs: Update Get-Started Labels (#13188)
  * fix: Fix duplicate enqueue item problem in bloom download queue when do sync download (#13114)
  * fix: errors reported by the race detector (#13174)
  * chore(blooms): Some boom gateway cleanups (#13165)
  * feat: Add backoff to flush op (#13140)
  * fix(otel): Map 500 errors to 503 (#13173)
  * fix: Correctly encode step when translating proto to http internally (#13171)
  * fix: properly return http status codes from ingester to querier for RPC function calls (#13134)
  * fix: add retry middleware to the "limited" query roundtripper (#13161)
  * feat: Add new Drain tokenizer that splits on most punctuation (#13143)
  * fix(orFilters): fix multiple or filters would get wrong filtertype (#13169)
  * fix: Fix bloom deleter PR after merge (#13167)
  * refactor(blooms): Delete outdated metas (#13153)
  * feat(blooms): Blooms/v2 encoding multipart series (#13093)
  * docs: Loki landing page (#13127)
  * fix(regression):  reverts grafana/loki#13039 to prevent use-after-free corruptions (#13162)
  * fix: Fix indentation of query range values in helm (#12577)
  * docs: Remove unnecessary whitespaces in YAML Helm installs templates (#13147)
  * perf: Introduce fixed size memory pool for bloom querier (#13039)
  * fix: Add copyString function to symbolizer to avoid retaining  memory (#13146)
  * feat: Updated SS and microservices deployment docs (#13083)
  * refactor(blooms): Limit task retries in bloom planner (#13139)
  * feat: Tune Patterns query drain instance (#13137)
  * refactor(blooms): Forward created metas from builder to planner (#13133)
  * fix(blooms): bloomshipper no longer returns empty metas on fetch (#13130)
  * refactor(blooms): Implement retry mechanisms in planner (#13064)
  * fix(mixins): Align loki-writes mixins with loki-reads (#13022)
  * feat(promtail): Support of RFC3164 aka BSD Syslog (#12810)
  * feat(detected-labels): include labels with cardinality > 1 (#13128)
  * fix(operator): Improve API documentation for schema version (#13122)
  * chore(operator): update the release-please config for next release (#13120)
  * fix: Do not filter out chunks for store when `From==Through` and `From==start`  (#13117)
  * feat: Support negative numbers in LogQL (#13091)
  * refactor(blooms): Build new metas and blocks (#13074)
  * feat: Introduce `index audit` to `lokitool` (#13008)
  * feat(canary): Add test to check query results with and without cache. (#13104)
  * feat: API: Expose optional label matcher for label names API (#11982)
  * docs: Fix link in examples (#13094)
  * chore( operator): community release 0.6.1 (#12593)
  * chore(operator): prepare community release v0.6.1 (#13105)
  * fix(operator): Use a minimum value for replay memory ceiling (#13066)
  * feat: add profile tagging to ingester (#13068)
  * feat: Add utf8 support to Pattern Lexer to support utf8 chars (#13085)
  * docs: Republish the sizing calculator but don't list it in the table of contents and don't index it (#13070)
  * fix: Update expected patterns when pruning (#13079)
  * feat: Add tokenizer interface for Drain Training (#13069)
  * fix: Introduce feature flag for [last|first]_over_time sharding. (#13067)
  * fix: Fix incorrect sorting of chunks in bloom-filtered response since `ChunkRef.Cmp` method is used in reverse (#12999)
  * refactor(blooms): Builder retrieves tasks from planner (#13046)
  * feat: Add ingester_chunks_flush_failures_total (#12925)
  * feat: Increase drain max depth from 8 -> 30 (#13063)
  * fix: temporarily moving from alloy -> alloy dev (#13062)
  * docs: Update Grafana Agent to Grafana Alloy (#12602)
  * docs: update otlp ingestion docs to correct some info and add more details (#12969)
  * fix(helm): fix query-frontend and ruler targetPort 'http-metrics' in Service template (#13024)
  * feat(blooms): Add counter metric for blocks that are not available at query time (#12968)
  * feat: Added video and updated Grafana Agent -> Alloy (#13032)
  * fix: Fix panic on requesting out-of-order Pattern samples (#13010)
  * refactor(blooms): Add RPC service for bloom-planner (#13015)
  * fix: not owned stream count (#13030)
  * fix(helm): fix queryScheduler servicemonitor (#12753)
  * fix: change log level since this is a known case (#13029)
  * feat(helm): Support for PVC Annotations for Non-Distributed Modes (#12023)
  * feat: Added Interactive Sandbox to Quickstart tutorial (#12701)
  * feat: new stream count limiter (#13006)
  * fix: allow cluster label override in bloom dashboards (#13012)
  * fix: upgrade old plugin for the loki-operational dashboard. (#13016)
  * fix: remove unneccessary disk panels for ssd read path (#13014)
  * fix: Mixins - Add missing log datasource on loki-deletion (#13011)
  * refactor(blooms): Add queue to bloom planner and enqueue tasks (#13005)
  * docs: update otlp ingestion with correct endpoint and add endpoint to reference api docs (#12996)
  * refactor(bloom planner): Compute gaps and build tasks from metas and TSDBs  (#12994)
  * feat: loki/main.go: Log which config file path is used on startup (#12985)
  * chore: remove duplicate imports (#13001)
  * fix(indexstats): do not collect stats from "IndexStats" lookups for other query types (#12978)
  * feat: Added getting started video (#12975)
  * feat(blooms): Separate page buffer pools for series pages and bloom pages (#12992)
  * docs: Fix broken link in the release notes (#12990)
  * docs(install-monolithic): add quotation marks (#12982)
  * feat: Boilerplate for new bloom build planner and worker components. (#12989)
  * feat(cache): Add `Cache-Control: no-cache` support for Loki instant queries. (#12896)
  * fix: Track bytes discarded by ingester. (#12981)
  * feat(reporting): Report cpu usage (#12970)
  * perf: Replace channel check with atomic bool in tailer.send() (#12976)
  * perf: Improve Detected labels API (#12816)
  * feat: Add metrics for number of patterns detected & evicted (#12918)
  * feat(bloom): Skip attempts to filter chunks for which blooms have not been built (#12961)
  * fix(blooms): Disable metas cache on bloom gateway (#12959)
  * fix: fix parsing of default per tenant otlp config (#12836)
  * feat: improve performance of `first_over_time` and `last_over_time` queries by sharding them (#11605)
  * docs: Update _index.md (#12814)
  * docs: update NixOS wiki link (#12940)
  * docs: fix typo ? (#12898)
  * test: Added more test data for pattern detection tests (#12920)
  * fix: Fix for how the loop sync is done (#12941)
  * fix: panics when ingester response is nil (#12946)
  * chore(logging): Add entry's timestamp when rejected with `too far behind` (#12933)
  * fix(helm): fixed ingress paths mapping (#12932)
  * fix: Defer closing blocks iter after checking error from loadWorkForGap (#12934)
  * fix: Optimize regular initialization (#12926)
  * fix(promtail): Fix bug with Promtail config reloading getting stuck indefinitely (#12795)
  * test: First pass at unregistering metrics so that we can run multiple tests (#12927)
  * style: fix function names (#12817)
  * docs: Don't allow running new and old querier worker grpc clients (#12916)
  * fix(helm): Fix GEL image tag, bucket name and proxy URLs (#12878)
  * chore: Call `shardstreams.Config` by value instead of by reference (#12915)
  * feat(detectedFields): Support multiple parsers to be returned for a single field (#12899)
  * fix: Use an intermediate env variable in GH workflow (#12905)
  * fix: Invalidate caches when pipeline wrappers are disabled (#12903)
  * ci: force one time run of helm release for 5.48 (#12888)
  * fix(blooms): Clean block directories recursively on startup (#12895)
  * fix(blooms): Fix `partitionSeriesByDay` function (#12900)
  * chore(blooms): records more bloom iteration stats (#12889)
  * feat: Querier: Split gRPC client into two. (#12726)
  * fix: Fix log level detection (#12651)
  * fix(spans): corrects early-close for a few spans (#12887)
  * docs: add GEL install to the Helm page (#12860)
  * docs: Update release notes for 2.9.8 (#12881)
  * chore(operator): Update Loki operand to v2.9.8 (#12874)
  * chore(instrumentation): reintroduce span propagation across scheduler boundaries (#12880)
  * fix: `codec` not initialized in downstream roundtripper (#12873)
  * docs: Update logcli command reference (#12850)
  * feat(detectedFields): add parser to response (#12872)
  * docs: Consistent quoting in Template functions docs (#12833)
  * chore: Add dashboards for Bloom Compactor and Gateway (#12855)
  * docs(helm): Improve the helm's NOTES.txt (#12744)
  * ci: make renovate commits come in as fixes (#12867)
  * ci: [CI/CD] Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#12868)
  * fix(packaging): Require online network in systemd unit file for Loki and Promtail (#12741)
  * chore(blooms): additional spans for bloom read path (#12866)
  * chore: reduces span footprint + double recording (#12864)
  * feat(blooms): ignore individual bloom-gw failures (#12863)
  * feat(blooms): Add in-memory LRU cache for meta files (#12862)
  * docs: Update docker installation topic (#12770)
  * fix: Ensure Drain patterns are valid for LogQL pattern match filter (#12815)
  * docs: update the lokitool docs (#12805)
  * fix(blooms): Handle not found metas gracefully (#12853)
  * docs: Update template_functions.md (#12841)
  * chore(blooms): Remove ID field from task struct (#12851)
  * feat(blooms): ingester aware bounded impl (#12840)
  * fix: Fix compactor matcher in the loki-deletion dashboard (#12790)
  * chore: Add notes about promtail being feature complete  (#12827)
  * fix: Add missing Helm helper loki.hpa.apiVersion (#12755)
  * fix(blooms): Do not fail requests when fetching metas from cache fails (#12838)
  * fix: Fixes read & backend replicas settings (#12828)
  * fix(blooms): Fully deduplicate chunks from FilterChunkRef responses (#12807)
  * fix(blooms): dont break iterator conventions (#12808)
  * feat(helm): Allow extraObject items as multiline strings (#12397)
  * ci: Add lokitool to the dist target (#12830)
  * feat(blooms): compute chunks once (#12664)
  * docs: hint on line and timestamp functions in docs for line_format stage (#12740)
  * docs: Add info about step param for Patterns API (#12803)
  * feat: parameterise the MaximumEventAgeInSeconds, LogGroupName, and IAMRoleName for lambda-promtail CloudFormation template (#12728)
  * fix: loki-operational.libsonnet (#12789)
  * docs: Fix typo in structured-metadata.md (#12818)
  * fix(ksonnet): Do not generate rbac for consul if you are using memberlist (#12688)
  * feat(blooms): limit bloom size during creation (#12796)
  * fix(promtail): Handle docker logs when a log is split in multiple frames (#12374)
  * fix(blooms): Reset error on LazyBloomIter.Seek (#12806)
  * feat: Generic logline placeholder replacement and tokenization (#12799)
  * fix: add missing parentheses in meta monitoring dashboards (#12802)
  * fix: remove unused parameter causing lint error (#12801)
  * feat: Add a version of the mixin dashboards for meta monitoring (#12700)
  * feat: Add step param to Patterns Query API (#12703)
  * fix(blooms): Deduplicate filtered series and chunks (#12791)
  * chore(loki-mixin): Fixes for `loki-reads` dashboard (#12788)
  * test: Add mutex and setter/getter for addresses in test (#12793)
  * chore(blooms): Instrument source bytes added to blooms directly (#12782)
  * fix: promtail; clean up metrics generated from logs after a config reload. (#11882)
  * docs: Helm: Don't show defaults for `loki` section (#12747)
  * docs: update release docs (#12511)
  * docs: order configuration template fileds alphabetically (#12771)
  * feat: Updated best practises for labels (#12749)
  * ci: release workflows get build image from makefile (#12778)
  * docs: Update storage topics (v3.0) (#12768)
  * chore(blooms): adds more instrumentation to block building (#12779)
  * fix(blooms): Fix a regression introduced with #12774 (#12776)
  * fix(blooms): Correctly return unfiltered chunks for series that are not mapped to any block (#12774)
  * feat: Update getting started demo to Loki 3.0 (#12723)
  * fix(workflows): don't run metric collector on forks (#12687)
  * fix(nix): lambda-promtail vendor hash (#12763)
  * ci: add a github workflow to verify that the release workflows are correct (#12603)
  * fix(docs): Move promtail configuration to the correct doc (#12737)
  * feat: add detected-fields command to logcli (#12739)
  * feat: Detected labels from store (#12441)
  * docs: fix broken link (#12757)
  * docs: Update supported and deprecated type in Manage > Storage (#12742)
  * test: Data race updates for memchunk tests (#12752)
  * fix: helm: Set compactor addr for distributed mode. (#12748)
  * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /pkg/push (#12694)
  * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools/lambda-promtail (#12696)
  * chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /operator (#12698)
  * chore(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 (#12699)
  * perf(blooms): Resolve bloom blocks on index gateway and shard by block address (#12720)
  * fix(promtail): Fix UDP receiver on syslog transport (#10708)
  * fix(docs): broken link in getting started readme (#12736)
  * fix: update to build image 0.33.2, fixes bug with promtail windows DNS resolution (#12732)
  * docs: Add Azure example configuration snippets (#12725)
  * docs: Fix mangled admonition block in alerting/recording rule docs (#12733)
  * ci: update drone image version to 0.33.2 (#12730)
  * fix: Add missing OTLP endpoint to nginx config (#12709)
  * chore(operator) Revert "feat(operator): Add support for Swift TLS CA configuration" (#12693)
  * chore(helm): set Singlebinary as trigger for replicas (#12590)
  * fix: updated all dockerfiles go1.22 (#12708)
  * fix: make detected fields work for both json and proto (#12682)
  * ci: update build image to use newer versions of jsonnet and other related tools (#12706)
  * fix(mixin): dashboards $__auto fix (#12707)
  * fix: mixin generation when cluster label is changed (#12613)
  * feat: area/promtail: Added support to install wget on promtail docker image to support docker healthcheck (#11711)
  * fix: Missing password for Loki-Canary when loki.auth_enabled is true (#12411)
  * fix: Ingester zoneAwareReplication (#12659)
  * ci: Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#12605)
  * fix: Remove Hardcoded Bucket Name from EventBridge Example CloudFormation Template (#12609)
  * feat: add toleration for bloom components (#12653)
  * docs: unhide compactor GRPC config (#12587)
  * feat: Enable log volume endpoint by default in helm (#12690)
  * test: Add new tests for Drain pattern matching (#12655)
  * operator: Add support for Swift TLS CA configuration (#11708)
  * chore(helm): various helm fixes (#12675)
  * perf: TSDB: Add fast-path to `inversePostingsForMatcher` (#12679)
  * feat: Add pattern ingester support in SSD mode (#12685)
  * fix: promtail race fixes (#12656)
  * fix: Use to the proper config names in warning messages (#12114)
  * fix: crrect initialization of a few slices (#12674)
  * chore(operator): Update skipRange for next OpenShift release (#12676)
  * ci: Fix promtail windows test github action (#12671)
  * docs: fix mal formed link (#12677)
  * chore(promtail): Update Promtail base image to Debian 12.5 (#12672)
  * fix: Fix the lokitool imports (#12673)
  * feat: add lokitool (#12166)
  * fix: Updated Loki Otlp Ingest Configuration (#12648)
  * fix(helm): Removed duplicate bucketNames from documentation and fixed key name `deploymentMode` (#12641)
  * chore: Update reads and reads resources dashs (#12654)
  * docs: add labels expressions to categories (#12607)
  * fix: Add a missing `continue` in fuse which may cause incorrect bloom test result (#12650)
  * docs: fix doc-validate errors due to config move (#12662)
  * feat: split detected fields queries (#12491)
  * docs: Add Promtail's `file_sd_configs` scrap_configs example (#11791)
  * fix: incorrect compactor matcher in loki-deletion dashboard mixin (#12567)
  * feat(blooms): record time spent resolving shards (#12636)
  * fix(blooms): Fix findGaps when ownership goes to MaxUInt64 and that is covered by existing meta (#12558)
  * chore: Restructure `indexgateway` component package (#12630)
  * ci: add a github action for linting jsonnet (#12527)
  * docs: add play link, correct errors to visualization instructions (#12604)
  * docs: correct typo on api param (#12631)
  * fix: fix setting of info log level when trying to detect level from log lines (#12635)
  * feat: Enable log volume endpoint by default (#12628)
  * docs: clarify upgrade behavior (#12578)
  * docs: hide the sizing calculator until updated (#12598)
  * fix: lambda-promtail, update s3 filename regex to allow finding of log files from AWS GovCloud regions (#12482)
  * docs: helm: Update monolithic guide. (#12591)
  * docs: Update publish-technical-documentation-next.yml (#12617)
  * test: Fix deadlock in table_manager relating to Stop/SyncTables (#12597)
  * docs: delete microservices reference (#12600)
  * fix(query sharding): Generalize avg -> sum/count sharding using existing binop mapper (#12599)
  * chore(operator): set release-as to avoid commit done in #12348 (#12596)
  * feat: add warnings to metadata context directly (#12579)
  * docs: add missing aliases for moved pages (#12580)
  * test: 2 data race fixes (#12584)
  * docs: Update 3.0 Release Notes (#12565)
  * docs(operator): improved docs to run using kind (#12576)
  * docs: Update CHANGELOG (#12564)
  * chore: helm: Add headless service to bloom-gateway (#12562)
  * feat: improve syntax parser for pattern (#12489)
  * chore(operator): correct branch name on release-please workflows (#12573)
  * docs: Refactor Loki configuration to be included via docs/shared (#12556)
  * ci: Update publishing workflows (#12543)
  * chore(operator): cleanup changelog for release-please (#12568)
  * chore(operator): adds the workflow for release-please (#12450)
  * chore: allow make docs to be run in container (#12563)
  * docs: update release notes for 2.9.7 (#12560)
  * chore(blooms): Remove noisy log line in index gateways (#12555)
  * docs: Rename API file to support publishing in GEL docs (#12493)
  * fix(operator): Bump golang builder to 1.21.9 (#12503)
  * chore: [main] chore(release-2.9.x): release 2.9.7 (#12553)
  * fix(operator): Configure Loki to use virtual-host-style URLs for S3 AWS endpoints (#12469)
  * fix(helm): only default bucket names when using minio (#12548)
  * docs: update page weights and menutitle (#12541)
  * docs: fix changelog (#12544)
  * docs: Correct release date for loki v3 (#12533)
  * ci: Revert "ci: create build image version with go 1.21.9 and golangci 1.51.2" (#12485)
  * docs: Update Release Notes page wweights (#12530)
  * fix: make the tsdb filenames correctly reproducible from the identifier (#12536)
  * docs: Minor fixes to zone-ingesters documentation (#10716)
  * docs: Fix up storage page front matter (#12532)
  * fix: close res body (#12444)
  * docs: Loki 3.0 Release Notes (#12508)
  * feat: include the stream we failed to create in the stream limit error message (#12437)
  * docs: remove whitespace in links (#12525)
  * ci: remove 3.0 release off main (#12522)
  * feat!: update helm chart to support distributed mode and 3.0 (#12067)
  * docs: proper fix for #12510 (#12516)
  * chore: [main] chore(release-3.0.x): release 3.0.0 (#12518)
  * docs: document service_name label in upgrade guide (#12517)
  * fix: loki version prefix in Makefile (#12514)
  * docs: Attempt to fix whatever broke the docs builds (#12510)
  * ci: remove previous attempt at workflow that's outdated (#12405)
  * docs: re-arrange upgrade guide (#12504)

OBS-URL: https://build.opensuse.org/request/show/1221760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=14
2024-11-07 15:26:11 +00:00
Stefano Torresi
39c502d1af OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=29 2024-11-06 13:40:32 +00:00
Stefano Torresi
99b42016b2 - Update to version 3.2.1:
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=28
2024-11-06 13:22:33 +00:00
Martin Hauke
1620863ecf - Add lokitool subpackage
- Remove harden_promtail.service.patch as we are using service file shipped separately
- Update to version 3.1.1+git.1723126694.89fe788d:

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=27
2024-09-20 13:42:04 +00:00
Dominique Leuenberger
6957ea3b00 Accepting request 1172900 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1172900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=13
2024-05-09 15:28:57 +00:00
03230acf04 Accepting request 1164604 from home:-miska-:loki
- Update to version 2.8.11+git.1711098663.aa89d817:
- Enable journald parsing in promtail
- Small changes to _service file
  * change tarball compression method to xz
  * use "manual" service mode instead of "disabled"
- Update to version 2.8.10+git.1709154536.536e9cd7:

OBS-URL: https://build.opensuse.org/request/show/1164604
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=25
2024-05-09 09:47:32 +00:00
Ana Guerrero
60a409650f Accepting request 1100812 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1100812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=12
2023-07-27 14:51:11 +00:00
cfb9aade7b Accepting request 1100811 from home:ecsos:monitoring
- Update to version 2.8.3+git.1689949088.0d81144c:
  * Backport go 1.20.6 to 2.8 (#9944)
  * Docs : fix promtal typo (#9951) (#9965)
  * Remove ./tools/fetch-tags invocation from Makefile (#8854) (#9946)
  * [release-2.8.x] Adding 3 existing maintainers, and our newest one: Ashwanth! (#9744)
  * query-scheduler: fix query distribution in SSD mode (#9471) (#9637)
  * [release-2.8.x] Fix Ruler remote write panic (#9695)
  * [release-2.8.x] prepare changelog for 2.8 release (#8818)
  * [release-2.8.x] Fix duplicate label values from ingester streams (#9631)
  * [release-2.8.x] Querier: configurable writeback queue bytes size (#9605)
  * [release-2.8.x] docs: add memberlist section to the configuration page (#9453)
  * Promtail: Break on iterate journal failure (#9155) (#9403)
  * [release-2.8.x] Promtail: Prevent logging errors on normal shutdown (#9402)
  * Add missing release notes for 2.8.2 (#9389) (#9390)
- Update to version 2.8.2+git.1683111662.9f809eda:
  * Pin manifest plugin version (#9381)
  * Revert "Bump dskit from 528d8a7 to 1725bcc (#9184) (#9250)" (#9382)
  * Add signature missing to drone pipeline (#9377)
  * Upgrade to latest security release: go1.20.4 (#9370) (#9375)
  * [release-2.8.x] Promtail: Add `decompression` configuration (#9350)
  * Bump dskit from 528d8a7 to 1725bcc (#9184) (#9250)
  * [release-2.8.x] Mark template as draft to unpublish. (#9286)
  * Finalize 2.8.1 changelog and release notes (#9269)
- Update to version 2.8.1+git.1682367724.dd763dcf:
  * [release-2.8.x] Upgrade alpine 3.16.4 -> 3.16.5 (#9268)
  * Update CHANGELOG and release notes (#9241)
  * [release-2.8.x] Prevent redis client from incorrectly choosing cluster mode with local address (#9187)
  * [release-2.8.x] Update helm and jsonnet for 2.8 release (#9003) (#9145)
  * [release-2.8.x] expiration: do not drop index if period is a zero value (#9158)
  * [release-2.8.x] Bump go from 1.20.1 -> 1.20.3 (#9106) (#9116)
  * [release-2.8.x] Add journald support to Promtail amd64 binary builds (#9104)
  * Fix CHANGELOG link (#9054)
  * [release-2.8.x] These features did not make the release (#9043)
  * [release-2.8.x] add 2.8 release date (#9017)
  * [release-2.8.x] Add 2.8 release notes (#9014)
  * [release-2.8.x] Align common instance_addr with memberlist advertise_addr (#9006)

OBS-URL: https://build.opensuse.org/request/show/1100811
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=23
2023-07-26 10:45:07 +00:00
Dominique Leuenberger
787325af3e Accepting request 1079282 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1079282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=11
2023-04-14 11:13:20 +00:00
a0b7a5af18 Accepting request 1078601 from home:ecsos:monitoring
- Update to version 2.8.0+git.1680557182.90888a0c:

OBS-URL: https://build.opensuse.org/request/show/1078601
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=21
2023-04-13 17:39:32 +00:00
Dominique Leuenberger
f52c5f44f2 Accepting request 992390 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/992390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=10
2022-08-03 19:16:36 +00:00
aa305cf32a Accepting request 992389 from home:ecsos:monitoring
- Update to version 2.6.1+git.1658128747.6bd05c9a4:
  * [release-2.6.x] Backport dskit, memberlist version updates to 2.6.x to support memberlist cluster labels and verification; re-vendor (#6693)
  * Fix per-tenant delete client (#6696) (#6698)
  * Docs: Fix bad links in the API section (#6688) (#6694)
  * Fix TIME_WAIT connection leak from queriers to compactor (#6681) (#6692)
  * avoid making delete requests if deletes are disabled for a user (#6583) (#6687)
  * Add client type as label (#6469) (#6685)
  * Handle duplicate registration of deletion metrics (#6446) (#6684)
  * Do not fail queries if compactor returns unexpected status code (#6552) (#6683)
  * Add API delete curl examples (#6680) (#6682)
  * added link to release notes page on releases page (#6639)
  * added link to release notes page (#6638)
  * updated date of the release and release notes (#6635)
  * Draft of release notes for loki 2.6. (#6546) (#6624)
  * 2.6 Backport: Promtail: Add text encoding conversion to file targets (#6395) (#6617)
  * Append .x to the versioned directories for the website sync (#6611) (#6613)
  * [release-2.6.x] CI/CD: Update documentation publishing workflows (#6607)
  * manually backported changes from #6386 (#6588)
  * Docs: Edits for several PRs that did not have a docs review (#6398) (#6575)
  * fix(documentation): correct spelling and scrape_config (#6454) (#6576)
  * Fix documentation of environment variable defaults (#6536) (#6577)
  * Docs: revise multi-tenancy prose (#6355) (#6578)
  * Docs: Add multi-tenant query curl examples (#6530) (#6563)
  * Add label_replace and literal expressions to instant query split by range (#6515) (#6559)
  * Fix panic in instant query splitting when using unwrapped rate (#6348) (#6557)
  * [release-2.6.x] Add unwrapped aggregation `rate_counter()` (#6556)
  * Sum values in unwrapped rate aggregation instead of treating them as counter (#6361) (#6555)
  * resolved merge conflict Docs: improve API docs (#6485)
  * Removing CHANGELOG entry (#6525)
  * Promtail: disable syslog tests which have expired certs (#6520)
  * Revert "Add cache usage statistics (#6317)"
  * bumped images/binaries version to 2.6.0
  * created section with loki version 2.6.0 in upgrading guide
  * updated CHANGELOG.md for the release 2.6.0 (#6506)
  * [release-2.6.x] Add TLS config to query frontend (#6498)
  * [k102] Backport Remove whole stream deletion mode (#6435) (#6477) (#6497)
  * Compactor: add per tenant compaction delete enabled flag (#6410) (#6476) (#6496)
  * Add more logging for delete requests (#6394) (#6473) (#6495)
  * Use correct counter when deleting lines (#6376) (#6472) (#6494)
  * Don't interupt the query path if deletes aren't available (#6368) (#6471) (#6493)
  * Backport #6413 and #6377 to k102 (#6422) (#6492)
  * Promtail: Add metrics for journal target (#6105)
  * TSDB/query-planning-groundwork (#6367)
  * cmd/loki: minor consistency patch (#6364)
  * Add total number of unique users involved in query readiness. (#6035)
  * operator: Allow optional installation of webhooks (#6363)
  * operator: Allow reduced tenant OIDC authentication requirements (#6362)
  * operator: Expose only an HTTPS gateway when in openshift-logging mode (#6288)
  * chore(fluentd): resolve rubocop failures (#6359)
  * Tsdb/index sampling endpoint (#6347)
  * loki-canary: Add support for client-side TLS certs for Loki connection (#6310)
  * operator: Add missing rbac to get/list/watch namespaces (#6303)
  * Update gopkg.in/yaml.v3 (#6284)
  * Support `series|labels` query_type in `logql_query_duration` (#6341)
  * Fix max series test loop that returns early (#6345)
  * [logql] don't try to execute a modified function that is not allowed by the AST (#6346)
  * Docs: Add changelog entry for configuration parameter name change (#6340)
  * TSDB/index-sampling-wiring (#6338)
  * Define a reason why the fifocache has evicted an item (#6335)
  * Set `MetricsNamespace` configurable for MemberlistKV module in Loki (#6330)
  * Update _index.md - an unofficial Loki client added (#6312)
  * Expose Memberlist status page on MemberlistKV module init (#6322)
  * Add multi_kv_config block to overrides configmap when multi kv is enabled (#6323)
  * Tsdb/index sampling (#6329)
  * always retry syncing index files from indexshipper when the index list cache is stale (#6327)
  * Add cache usage statistics (#6317)
  * Update delete integration test (#6192)
  * Use fake credentials in storage/chunk/storage tests (#6187)
  * Add licensing boiler plate in case we ever need it (#5251)
  * make index shipper read path handle range of tables by type of index (#6304)
  * copy boltdb-shipper cache changes from PR #6054 to generic index shipper (#6316)
  * Reduce to a single code path through sendBatches regardless of limit (#6216)
  * fix: allow promtail docker_sd_config to handle long log lines (#6256)
  * Fix delete cancellation timeout (#6285)
  * fixed type of the property in memberlist config (#6307)
  * Support tenant id from value (#6290)
  * We shouldn't modify the loki config at all if the memberlist ring is not (#6299) (#6308)
  * Tsdb/inverted index wiring (#6252)
  * Only consider an interval to have possible expired chunks if it overlaps a delete. (#6297)
  * exposes line length hist on distributors  (#6309)
  * do not initialize tsdb index store when using index gateway client for queries (#6305)
  * update loki-mixin json dashboards with latest jsonnet changes (#6306)
  * Look up config file in default locations (#6160)
  * Avoid line copy during LogQL line_format (#6104)
  * Improve write dashboard by removing unrelated route (#5853)
  * make tsdb store instance a singleton (#6273)
  * Import memberlist.libsonnet in loki.libsonnet. (#6294)
  * feat(fluentd): allow fluentd_thread label to be configurable (#6240)
  * Only delete data when WholeStreamDeletion or FilterAndDelete (#6286)
  * Document multi-tenant queries. (#5994)
  * operator: Add ruler config support (#6195)
  * Loki: add a run-once flag to the compactor (#6281)
  * fix boltdb shipper local query in logcli and support `fake` tenant (#6282)
  * operator: Add support for custom S3 CA (#6198)
  * Move ingester metrics around (#6275)
  * Snyk SBOM workflow add (#6274)
  * add metrics for tracking index shipper operations (#6278)
  * update drone signature (#6277)
  * Update docs for xk6-loki log formats (#6134)
  * Add duration filter unit test (#6271)
  * use tsdb config for initializing index gateway client (#6267)
  * Documentation: Explain --config.expand-env=true double slash with slash substitution (#6139)
  * Fix wording about pattern parser (#6264)
  * docs: Add Nomad deployment examples (#6258)
  * operator: Document how to connect Grafana to gateway (#6250)
  * Fix delete updates (#6194)
  * update drone branch match for 3 digit k release (#6263)
  * feat: Add support for Azure user assigned identity (#5891)
  * Memberlist related jsonnet (#6253)
  * docs: Default loki service port. (#6212)
  * Loki mixin: publish compiled version of the mixin (#6254)
  * Add jsonnet tools to build image (#6255)
  * chore(cache): Make exprimental messages more clear for cache. (#6219)
  * feat(ruler): support alert relabeling (#6220)
  * Docs: Reimplement PR 5649 on troubleshooting timeout errors (#6183)
  * Migrate Tool: Update to work with boltdb-shipper, improve logging output. (#6237)
  * Fix the signature for substr (#6236)
  * Add upgrade guide regarding azure container name change (#6118)
  * make boltdb-shipper use the generic indexshipper for managing index in object storage (#6226)
  * Add NRC in Adopters (#6242)
  * [Promtail] drop lines with malformed json (#6099)
  * Runtime reloadable config; ring migration setup (#6214)
  * Tsdb/inverted index (#6233)
  * Remove __name__ from label calls (#6229)
  * Improve labels computation during LogQL pipeline (#6110)
  * Fix label extraction pushdown on instant queries (#6215)
  * operator: Add rules support (#5986)
  * Docs: Hint about potential high cardinality metrics (#5603)
  * docs: describe ordering in http query results (#6024)
  * Docs: Fix design docs index page (#6008)
  * run store queries in ingester when using tsdb as index store (#6209)
  * prevents sharding avg and avg_over_time when their children arent shardable. (#6204)
  * docs: Fix broken link from unpack parser to pack stage (#6207)
  * doc(storage-example-configs): AWS single store configs (#6196)
  * Loki: Modifies TableManager to use IndexGateway ring (#5972)
  * Rename fudge_duplicate_timestamp to be increment_duplicate_timestamp (#6120)
  * creates a single tsdb for entire wal recovery (#6203)
  * copy all the fixes/improvements that went into boltdb-shipper that are missing from generic index-shipper (#6200)
  * operator: Changing GCP secret file path (#6199)
  * [loki microservices]: allow custom gateway server configuration (#6138)
  * Change deletion_enabled setting to deletion_mode (#6190)
  * Fix CHANGELOG entries. (#6193)
  * security: Redact credentials when marshalled to YAML (#6186)
  * Fix flaky gRPC server shutdown in tests (#6191)
  * tsdb index gateway (#6158)
  * strips out tenant label from LabelNames queries (#6181)
  * Add integration test for delete request (#6188)
  * Fixed reader to support both authentication and tenant-id at the same time. (#5719)
  * Fix typo in operator/docs/hack_operator_make_run.md (#6180)
  * tsdb creation supports fingerprint overrides (#6178)
  * skip empty object key returned by some s3 compatible storage while listing boltdb-shipper index (#6123)
  * fix(querier): Record `result` length after response validation. (#6176)
  * query-scheduler: Now proper support for `querier_forget_delay` (#6174)
  * ruler: Add support for alertmanager header authorization (#6136)
  * fix(tanka): add customizable common env vars (#6124)
  * Update SSL config for cassandra (#6145)
  * feat: support simple selection of labels in json expr parser (#6151)
  * Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#6170)
  * LogQL: add the `default` sprig template function to logql label/line formatter (#6163)
  * update auth header env variable usage help (#6169)
  * Add docs for updated deletion api (#5763)
  * specify logcli authorization header by flag (#6164)
  * corrected copy&paste error in list of labels (#6146)
  * Removed double space in Log (#6166)
  * tsdb query fixes (#6142)
  * operator: Add method to get authenticated from GCP (#6125)
  * Loki: When processing logs during tailing, don't reuse the query pipeline (#6152)
  * Fix certain binary expression queries by optimizing through push down (#6132)
  * Docs: redo PR 5109 (#6119)
  * Bump k8s.io/api, k8s.io/client-go, k8s.io/apimachinery from 0.22.7 to 0.23.6 (#6037)
  * Remove unused grpc health check endpoints (#6113)
  * loads previously created TSDBs into shipper on startup (#6117)
  * fix mutability bug with labels during tsdb flushing (#6116)
  * operator: Ruler enhancement proposal (#5985)
  * Tsdb/head wal feedback (#6107)
  * Document `/services` API endpoint (#6111)
  * do not increment sync operation count metric on per index set (#6109)
  * Update consistent hash ring docs with new index gateway ring (#6041)
  * Feat: add Baidu Cloud BOS as storage backends for Loki #4788 (#5848)
  * Serve correct status of ingester/distributor in gRPC healthcheck endpoint (#6094)
  * lambda-promtail: Add multi-tenancy support (#6102)
  * TSDB shipper + WAL (#6049)
  * clean up the pr diff message (#6098)
  * Revert "Loki: Change live tailing to only allow mutating the log line not the number of streams. (#6063)" (#6097)
  * Revert "Docs: fix pic location in `sources/fundamentals/architecture/deployment-modes.md` (#6089)" (#6093)
  * docs: update the labels timespan info (#6019)
  * Introduce coverage to PR pipelines (#5357)
  * `metrics.go` support for metadata queries(labels and series) (#5971)
  * table_manager: Change some level.Info() logging to level.Debug() (#6076)
  * Docs: fix pic location in `sources/fundamentals/architecture/deployment-modes.md` (#6089)
  * Remove nosiy "inflight" requests log entries (#6074)
  * Docs: remove Cortex references (#6079)
  * fix labeler (#6087)
  * renames skip -> ok in ProcessString (#6064)
  * Fix(query-frontend): LokiCodec encode/decode works correctly with label values endpoint (#6084)
  * Auto add labels on new pull request (#6065)
  * Add integration tests which test happy path (#5968)
  * Add UDP protocol support to Promtail's syslog target (#5790)
  * Loki: Change live tailing to only allow mutating the log line not the number of streams. (#6063)
  * Fix(query-frontend): `/label/<name>/values` endpoint to use right set of middlewares (#6072)
  * Bump actions/checkout from 2 to 3 (#5558)
  * Added NLog-Targets-Loki as unofficial C# client to Loki (#6061)
  * Fix broken link on deployment-modes.md (#6068)
  * allow more time for boltdb-shipper index syncs to finish (#6071)
  * promtail: Add support for exclusion patterns in `static_config` (#5943)
  * Update Loki reads/writes resources dashboards (#5765)
  * Add dot to some DNS address to reduce lookups (#5789)
  * Promoto policyRule to v1 (#6003)
  * Update libsystemd-dev from bullseye-backports for arm32 docker images, fixes (#5938) (#6012)
  * Bump github.com/minio/minio-go/v7 from 7.0.10 to 7.0.24 (#6007)
  * Use quiet flag in logcli tail.go. (#6033)
  * Add missing changelog entry for change introduced by PR 6034. (#6040)
  * boltdb shipper index list cache improvements (#6054)
  * Docs: Improve wording of getting started guide (#6060)
  * Add tailing metrics (#6059)
  * ignores reporting cancellations as errors in the usage-reporter module (#6058)
  * Improve index entries deduping and concurrency (#6055)
  * Add metrics to range mapper (#6030)
  * Improve batching in boltdb index (#6044)
  * Decrease log level for "failed to put to memcached" (#6018)
  * Add IndexGateway Query Readiness Duration panel to `Loki - Reads Resources` dashboard in production/loki-mixin (#6014)
  * Ensure proto definitions are formatted [2/2] (#6000)
  * docker-compose: Disable auth in Grafana (#5998)
  * Add filter parameter to rebound so lines can be deleted by the compactor (#5879)
  * operator: Merge gh index page with README.md to link to docs (#6048)
  * Improve series store index queries (#6045)
  * Upgrade inet.af/netaddr (#6046)
  * Docs: PR 5387 redo - Warn ECS users to avoid plain text creds (#6051)
  * Add query scheduler to "Read Resources" mixin dashboard (#6028)
  * Docs: revise getting started guide (#5939)
  * Minor fixes in docs/sources/api/_index.md (#5915)
  * Add better observability to queryReadiness (#5946)
  * Loki: Add a configurable ability to fudge incoming timestamps for guaranteed query sort order when receiving entries for the same stream that have duplicate timestamps. (#6042)
  * Revendor `grafana/tail` to fix promtail symlink behavior (#6034)
  * Remove empty match within concat of regex (#6026)
  * Disable calling new index-gateway client's API. (#6025)
  * operator: logerr v2 update (#5987)
  * Remove references to cortex (#6015)
  * migrated gelfTarget to go-gelf/v2 library that contains fix for chunked messages (#5992)
  * Add buf to the build image (#5785)
  * Use new build image 0.20.3 (#5904)
  * Invalidate caches on delete (#5661)
  * Querier: prevent unnecessary calls to ingesters (#5984)
  * Add string representation of boltdb shipper mode (#5982)
  * fix: remove typo in gateway config (#5981)
  * Call correct method on index store (#5979)
  * Do not parse string of empty matchers (#5980)
  * Add changelog entry for split by range of instant queries (#5966)
  * redact s3 credential values when printing config to logs (#5961)
  * Loki: Make DNS resolver configurable in Gateway (#5973)
  * Add query filtering to the tailer (#5969)
  * Fix query filtering (#5951)
  * Other: Update pr template (#5885)
  * Other: trigger build of loki-build-image:0.20.3 (#5924)
  * fix index gateway chunk refs response (#5957)
  * operator: Bump operator-sdk to v1.19.1 (#5929)
  * Other: Improve check-drone-drift script (#5925)
  * common index set should not expire before any of the user index sets (#5954)
  * [promtail] Add a log message stating that client level stream lag labels are deprecated (#5850)
  * chore: Fix flaky test with `TestSingleIdx`. (#5947)
  * Docs: Fix typo in 429 exceeded rate limit error message (#5944)
  * build generic index shipper to be shared between boltdb-shipper and tsdb-shipper (#5705)
  * Query filtering in the ingester and storage (#5629)
  * store: fix bug in getting chunk ids from ingesters when using boltdb-shipper (#5945)
  * Update _index.md (#5934)
  * Update CHANGELOG.md (#5935)
  * Add SIG operator team to governance doc (#4977)
  * Fix SSD Docker installation (#5916)
  * Loki: Fix issue with recent change to flush code (#5932)
  * Implements TSDB Head (#5864)
  * Fixes the index-gateway when using the ring (#5923)
  * Include tenant ID label in label values. (#5908)
  * Only run boltdb-shipper when appropriate. (#5917)
  * Fixes a panic when response is nil in the index-gw (#5910)
  * operator: Do not include non-static labels in pod selectors (#5907)
  * operator: Align PVC storage size requests for all lokistack t-shirt sizes (#5893)
  * Loki: Flush chunks one at a time (#5894)
  * Update golangci-lint in build image (#5901)
  * Introduce a more scalable index-gateway API. (#5892)
  * Do not use boltdb-shipper if no ring or address are given. (#5902)
  * Raise version of build image correctly (#5900)
  * docs: fix query_ingester_only config (#5873)
  * Enable tenant ID selection for multi-tenant queries. (#5821)
  * Upgrade golang version to v1.17.9 (#5899)
  * Add a Ring to IndexGateway (#5358)
  * loki: Fix common config net interface name overwritten by ring common config (#5888)
  * Update _index.md (#5887)
  * Update _index.md (#5871)
  * operator: Update Loki operand to v2.5.0 (#5884)
  * Add more function comments to the rangemapper implementation (#5861)
  * remove excessive underscore from `dockerLabelLogStream` (#5890)
  * Return HTTP 400 when multiple tenants are present in push. (#5800)
  * Docs: Improve the new schema docs (#5869)
  * Update dskit to v0.0.0-20220331160727-49faf69f72ca. (#5881)
  * document flag for disabling broad index queries (#5880)
  * [promtail] Mark promtail single client config flags and config file block as deprecated (#5842)
  * GCS: refactor creation of http client (#5838)
  * Minor fix in docs/sources/logql/log_queries.md (#5868)
  * Bump actions/setup-go from 2 to 3 (#5859)
  * Improve kafka discovery test. (#5860)
  * Fix flaky test (#5307)
  * Docs: Add usage reporting section to 2.5 release notes (#5865)
  * add some docs for working with the storage schema (#5863)
  * fix: adopters link for Heureka Group (#5862)
  * Moves TSDB to the stores package. (#5852)
  * Fix wrong indentation in example config (#5828)
  * promtail: Add ActiveTargets method (#5839)
  * Add Heureka Group to adopters (#5846)
  * lambda-promtail: fix typos in CloudFormation and Terraform files. (#5749)
  * Refactoring of the Loki storage (#5833)
  * Makefile: run lint and tests with default garbage-collection (#5841)
  * usagestats tests: don't check unpredictable number (#5840)
  * Fixes deduping when multiple timestamp are equal (#5799)
  * gcs client: use fake credentials in unit test (#5834)
  * TestPromtail: avoid hanging when test fails midway (#5837)
  * incorporate feedback on merged pr #5830 (#5831)
  * improve mutex locking when writing index in boltdb-shipper (#5830)
  * [Optimization] boltdb: reduce the code block affected by the lock tablesMtx in the TableManager.query() function. (#5829)
  * Split by range of instant queries (#5662)
  * try fixing drone again (#5826)
  * update drone to push images on tagged builds (#5824)
  * 2.5 changelog, release notes, and upgrade guide (#5819)
  * fix missing file during rpm and deb packaging step (#5818)
  * Tsdb/compaction (#5783)
  * storage: make Azure blobID chunk delimiter configurable (#5777)
  * Promtail docs: fix metrics stage. (#5740)
  * Add X4B as an adopter (#5795)
  * Return bad request for multi-tenant tail. (#5792)
  * fix boltdb-shipper doc (#5796)
  * Update alpine images to 3.15.4 (#5780)
  * Add a DeletionMode config variable (#5481)
  * Allow promtail to push RFC5424 formatted syslog messages (#5715)
  * golangci-lint: Check for pointers to enclosing loop variables (#5775)
  * Build: update package for fuzzer after refactoring (#5776)
  * Loki: Add more details about usage reporting to the docs and default config files. (#5767)
  * Loki: Revert #4845 which changed the format of errors from the API (#5772)
  * Docs: Document Promtail global rate limiting (#5737)
  * Increase flush_op_timeout to 10m, 10s is often much too short for a big WAL replay which can generate a lot of chunks very quickly. (#5768)
  * use an empty registry when setting up the logger for the push server (#5761)
  * operator: Update Prometheus go client to resolve CVE-2022-21698 (#5748)
  * [new] promtail pipeline:  Promtail Rate Limit stage #5048 (#5051)
  * ensure tsdb is sorted by hash then labelset (#5746)
  * operator: change uuids to tenant name in doc (#5739)
  * fixes existing test case and adds more (#5687)
  * Update MultiTenantQuerier `Series()` and `Label()` to use `user.InjectOrgID()` instead of `user.InjectUserID()` (#5735)
  * operator: Add missing label matcher for openshift logging tenant mode (#5729)
  * Implement `Series` and `Label` for MultiTenantQuerier (#5566)
  * Revert changes to generated assets_vfsdata.go. (#5728)
  * Use dskit/tenant intead of loki/pkg/tenant. (#5724)
  * Update fluent-bit output name (#5711)
  * Fixed Getting started docs error (#5504)
  * Docs: add an empty v2.5 release notes section (#5533)
  * Promtail: Fix retry/stop when erroring for out of cloudflare retention range (e.g. over 168 hours old) (#5698)
  * logcli: Remove port from TLS server name when provided in --addr (#5477)
  * Update docker repo to grafana/loki-query-tee (#5716)
  * Assert that push values tuples consist of string values (#5685)
  * Mark GELF support in Promtail as experimental (#5697)
  * Build querytee image as part of CI pipeline (#5700)
  * Update Fluent Bit docs (#5402)
  * operator: Fix immediate reset of degraded condition (#5691)
  * Update retention.md (#5706)
  * Promtail: Rename config name limit_config to limits_config (#5707)
  * operator: Update operator-sdk to 1.18.1 (#5704)
  * operator: Replace frontend_worker parallelism with match_max_concurrent (#5693)
  * operator: Fix multiple storage support for boltdb_shipper and schema (#5699)
  * Move promtail StreamLagLabels config to upper level config.Config (#5686)
  * operator: make replicationFactor optional (#5701)
  * Require unique client configs when there are multiple clients. (#5688)
  * operator: Update to Go 1.17 (#5695)
  * operator: Document how to connect to LokiStack gateway component (#5615)
  * operator: Update Loki operand to 2.4.2 (#5655)
  * Fix bug with new promtail stream lag metric where labels might not be (#5675)
  * Fix debug image by updating Delve version (#5673)
  * Speed up re-labelling in multi-tenant queries. (#5663)
  * Add Digitalist as adopter (#5596)
  * Fix broken Fluentbit / Fluentd plugin doc links (#5664)
  * operator: Update developer addons (#5599)
  * operator: Adding instructions to respond to alerts (#5579)
  * TSDB Index reuses slices, adds pools (#5630)
  * Tsdb/hash order (#5631)
  * Support limits in multi-tenant queries. (#5626)
  * Add inflight requests metric to scheduler (#5658)
  * operator: Update CSV to point to candidate channel and use openshift-operators-redhat ns (#5640)
  * operator: Document how to connect to distributor component (#5551)
  * Preserve interval parameter when splitting queries by time (#5622)
  * Introduce a ChunkRef type as part of logproto  (#5643)
  * improve boltdb-shipper logging to help debug index query latency issues (#5651)
  * Remove more chunkstore and schema version below v9 (#5650)
  * Remove more unused code (#5638)
  * debug log number of index entries cached and retrieved from the cache per index query (#5642)
  * Remove benchmark cron job. (#5641)
  * Remove unused code from cortex (#5633)
  * Remove unused storage gateway references (#5627)
  * Tsdb/sharding-benchmarks (#5628)
  * operator: Use tenant name as id for mode openshift-logging (#5624)
  * [Frontend] Log Result Cache (#5502)
  * [promtail] Refactor promtail client metrics so that we can't have duplicate metrics collected for the lag metric. (#5521)
  * Test multi-tenant context propagation. (#5620)
  * operator: Use recommended labels for LokiStack components (#5621)
  * Query Filtering -- Querier (#5482)
  * Refactor LogQL syntax into its own package (#5539)
  * operator: Use lokistack name as prefix for owned resources (#5607)
  * Update Prometheus to latest (#5545)
  * Print stacktrace to stderr for easier readability (#5616)
  * Replace `PromQL` -> `LogQL` wordings in Querier (#5602)
  * Tsdb/sharding (#5600)
  * Tsdb/multi idx (#5598)
  * Add RBAC for Prometheus service discovery to Loki component metrics (#5588)
  * canary: Adds locking to prevent multiple concurrent invocations of `confirmMissing` from clobbering each other (#5568)
  * bounds utility for tsdb lib (#5593)
  * more tsdb benchmarks + updates script to work with incompatible branches (#5590)
  * Compactor improvements (#5587)
  * Make Loki adopters visible in README (#5586)
  * cleanup common index source files at the end while compacting index with boltdb-shipper (#5585)
  * store tsdb bounds (#5582)
  * build a new batch while starting to process a bucket (#5580)
  * Tsdb/index interface (#5577)
  * operator: Change endpoints for generated liveness and readiness probes (#5576)
  * operator: Reorder changelog in descending order (#5572)
  * Docs: update documentation about "limit" param (#5540)
  * Fix frontend-worker error message (#5567)
  * operator: Add steps to check and run the prometheus rule tests in GitHub action (#5564)
  * Fix service monitor's server name for operaror metrics (#5560)
  * Refactor sharding engine to downstream engine (#5546)
  * operator: Add flag to create Prometheus rules (#5345)
  * Loki mixin: add DiskSpaceUtilizationPanel (#5552)
  * Docs: Fix broken link to "Matching IP addresses" (#5550)
- Rebase proper-data-directories.patch.
- Add missing paths into proper-data-directories.patch.

OBS-URL: https://build.opensuse.org/request/show/992389
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=19
2022-08-02 19:33:14 +00:00
Dominique Leuenberger
4825a26a4d Accepting request 986284 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/986284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=9
2022-07-02 13:34:35 +00:00
Lars Vogdt
df7ab2cae0 Accepting request 986061 from home:darix:apps
- also track quilt series file to make it easy to setup a quilt
  working copy

- also make the config file permissions more strict:
  /etc/loki/loki.yaml     root:loki u=rw,g=r,o=
  /etc/loki/promtail.yaml root:root u=rw,g=r,o=

- default configs reference paths in /tmp. move those to proper
  places:
  loki data dir: /var/lib/loki loki:loki u=rwx,g=rx,o=
  promtail data dir: /var/lib/promtail root:root u=rwx,g=rx,o=
  Existing configs will not be updated
  Added proper-data-directories.patch

OBS-URL: https://build.opensuse.org/request/show/986061
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=17
2022-07-01 19:41:08 +00:00
Dominique Leuenberger
16325a6116 Accepting request 978660 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/978660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=8
2022-05-23 13:52:09 +00:00
84156667ab Accepting request 978659 from home:ecsos:monitoring
- Update to version 2.5.0+git.1649366683.2d9d0ee23:
- Use BuildRequires: golang(API) = 1.17 instead of >=, 
  because with go1.18 it stop mmediately and rise up an error:
  "panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it
  assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc
  hasn't been updated to assert that it's safe against the go1.18 runtime. If you want to risk it,
  run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 set.
  Notably, if go1.18 adds a moving garbage collector, this program is unsafe to use."

OBS-URL: https://build.opensuse.org/request/show/978659
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=15
2022-05-23 09:01:35 +00:00
Dominique Leuenberger
a56b431b1d Accepting request 949575 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/949575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=7
2022-01-28 21:12:28 +00:00
f7d4a99064 Accepting request 949574 from home:ecsos:monitoring
- Update to version 2.4.2+git.1642005974.525040a32:
  * fix merge conflict (#5120)
  * Docs: Fix documentation with correct default values and add missing options (#4792) (#5115)
  * Backport 5077: improve default config values (#5077) (#5104)
  * Loki: Implement custom /config handler (#4785) (#5078)
  * temporary fix for the ruler joining the ingester ring (#4968) (#5037)
  * Backport to 2.4: always apply replication factor common config (#4875) (#4989)
  * Docs: fix broken links (#4770) (#4778)
  * Adding upgrade guide for recording rules (#4751) (#4763)
  * Docs: inject newlines into knob descriptions to avoid horizontal scroll bar (#4733) (#4758)
  * Docs: small v2.4.1 release notes edits (#4718) (#4719)
  * update everything for 2.4.1 (#4701) (#4702)

OBS-URL: https://build.opensuse.org/request/show/949574
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=14
2022-01-28 06:41:07 +00:00
Dominique Leuenberger
844fc41398 Accepting request 940654 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/940654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=6
2021-12-16 01:00:43 +00:00
651e12f22b Accepting request 940653 from home:ecsos:monitoring
- Change user in promtail.service from loki to root.
  Without run as root promtail can not tail logfiles.
- Update to version 2.4.1+git.1636374074.f61a4d261:
- Also included change from Robert Munteanu

OBS-URL: https://build.opensuse.org/request/show/940653
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=13
2021-12-15 07:39:32 +00:00
Dominique Leuenberger
c6bf95facb Accepting request 928144 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/928144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=5
2021-10-29 20:34:40 +00:00
Lars Vogdt
7ae04090b7 Accepting request 923534 from home:jsegitz:branches:systemdhardening:server:monitoring
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/923534
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=12
2021-10-29 13:55:27 +00:00
Dominique Leuenberger
892fec9011 Accepting request 902308 from server:monitoring
- Fix config fillup

OBS-URL: https://build.opensuse.org/request/show/902308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=4
2021-06-25 13:01:43 +00:00
Stefano Torresi
4487b64996 update changelog
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=11
2021-06-25 08:59:30 +00:00
Stefano Torresi
984f4fd7f5 fix config fillup
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=10
2021-06-25 07:41:46 +00:00
Dominique Leuenberger
0bdf03f9ee Accepting request 897231 from server:monitoring
- Update to upstream version 2.2.1
- Split Loki server and Promtail client into separate packages

OBS-URL: https://build.opensuse.org/request/show/897231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=3
2021-06-03 22:33:15 +00:00
Stefano Torresi
63a373aa73 remove defattr spec statements
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=8
2021-06-03 15:16:47 +00:00
Stefano Torresi
5cc79d3b6e add a changelog entry
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=7
2021-05-28 07:54:11 +00:00
Stefano Torresi
26153f4307 update to version 2.2.1
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=6
2021-05-28 07:50:21 +00:00
Stefano Torresi
ac2c2f9f3f Accepting request 893918 from home:glaubitz:branches:server:monitoring
- Split Loki server and Promtail client into separate packages

OBS-URL: https://build.opensuse.org/request/show/893918
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=5
2021-05-24 17:38:19 +00:00
Dominique Leuenberger
64d245df30 Accepting request 854273 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/854273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=2
2020-12-09 21:22:22 +00:00
Stefano Torresi
6ce9f78f41 Accepting request 854156 from home:barendartchuk:branches:server:monitoring
- .service: Fix CONFIG_FILE to expand mid-word

OBS-URL: https://build.opensuse.org/request/show/854156
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=3
2020-12-09 13:34:26 +00:00
Dominique Leuenberger
3a66706160 Accepting request 849378 from server:monitoring
New package for the Loki log aggregator.

OBS-URL: https://build.opensuse.org/request/show/849378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/loki?expand=0&rev=1
2020-12-01 13:21:47 +00:00
Lars Vogdt
bad2a76ea8 Accepting request 849143 from home:STorresi:containers
New package for the Loki log aggregator

OBS-URL: https://build.opensuse.org/request/show/849143
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=1
2020-11-18 13:52:33 +00:00