Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(k210): release 3.1.0 #13435

Closed
wants to merge 1 commit into from
Closed

Conversation

loki-gh-app[bot]
Copy link
Contributor

@loki-gh-app loki-gh-app bot commented Jul 8, 2024

🤖 I have created a release beep boop

3.1.0

3.1.0 (2024-07-08)

⚠ BREAKING CHANGES

  • update helm chart to support distributed mode and 3.0 (#12067)
  • api: Fail log queries when executed on instant query endpoint (#13421)

Features

  • Add a version of the mixin dashboards for meta monitoring (#12700) (ec1a057)
  • Add backoff to flush op (#13140) (9767807)
  • add detected-fields command to logcli (#12739) (210ea93)
  • Add ingester_chunks_flush_failures_total (#12925) (cc3694e)
  • add lokitool (#12166) (7b7d3d4)
  • Add metrics for number of patterns detected & evicted (#12918) (bc53b33)
  • Add new Drain tokenizer that splits on most punctuation (#13143) (6a0fdd0)
  • Add pattern ingester support in SSD mode (#12685) (19bfef4)
  • add profile tagging to ingester (#13068) (00d3c7a)
  • add recalculateOwnedStreams to check stream ownership if the ring is changed (#13103) (e7689b2)
  • Add settings for cpu/mutex/block profiling options (#13278) (f06eabb)
  • Add step param to Patterns Query API (#12703) (7b8533e)
  • Add tokenizer interface for Drain Training (#13069) (797bb64)
  • add toleration for bloom components (#12653) (fcb2b0a)
  • Add utf8 support to Pattern Lexer to support utf8 chars (#13085) (f6f8bab)
  • add warnings to metadata context directly (#12579) (c4ac8cc)
  • Added getting started video (#12975) (8442dca)
  • Added getting started video for ingesting Otel logs (#13226) (5e560f9)
  • Added Interactive Sandbox to Quickstart tutorial (#12701) (97212ea)
  • Added video and updated Grafana Agent -> Alloy (#13032) (1432a3e)
  • API: Expose optional label matcher for label names API (#11982) (8084259)
  • api: Fail log queries when executed on instant query endpoint (#13421) (ce71f1c)
  • area/promtail: Added support to install wget on promtail docker image to support docker healthcheck (#11711) (ffe684c)
  • blooms: Add counter metric for blocks that are not available at query time (#12968) (d6374bc)
  • blooms: Add in-memory LRU cache for meta files (#12862) (fcd544c)
  • blooms: Blooms/v2 encoding multipart series (#13093) (fbe7c55)
  • blooms: compute chunks once (#12664) (bc78d13)
  • blooms: ignore individual bloom-gw failures (#12863) (4c9b22f)
  • blooms: ingester aware bounded impl (#12840) (7bbd8b5)
  • bloom: Skip attempts to filter chunks for which blooms have not been built (#12961) (a1b1eeb)
  • blooms: limit bloom size during creation (#12796) (eac5622)
  • blooms: record time spent resolving shards (#12636) (9c25985)
  • blooms: Separate page buffer pools for series pages and bloom pages (#12992) (75ccf21)
  • Boilerplate for new bloom build planner and worker components. (#12989) (8978ecf)
  • cache: Add Cache-Control: no-cache support for Loki instant queries. (#12896) (88e545f)
  • canary: Add test to check query results with and without cache. (#13104) (71507a2)
  • chunks-inspect: support structured metadata (#11506) (1834065)
  • collect and serve pre-aggregated bytes and counts (#13020) (467eb1b)
  • Collect duplicate log line metrics (#13084) (40ee766)
  • convert WalSegmentWriter to io.ReadSeeker (#13340) (19c0509)
  • Detected labels from store (#12441) (587a6d2)
  • detected-labels: include labels with cardinality > 1 (#13128) (8be8364)
  • detectedFields: add parser to response (#12872) (2b3ae48)
  • detectedFields: Support multiple parsers to be returned for a single field (#12899) (19fef93)
  • Drain uses different tokenizer based on log format (#13384) (bc01e6f)
  • Enable log volume endpoint by default (#12628) (397aa56)
  • Enable log volume endpoint by default in helm (#12690) (e39677f)
  • exclude and from creating new tokens in patterns (#13395) (8c8454b)
  • exclude in pattern tokens (#13397) (e612dd3)
  • flush not owned streams (#13254) (2ca1ac6)
  • Generic logline placeholder replacement and tokenization (#12799) (4047902)
  • helm: Allow extraObject items as multiline strings (#12397) (af5be90)
  • helm: Make gateway container port configurable. (#13294) (05176e4)
  • helm: Support for PVC Annotations for Non-Distributed Modes (#12023) (efdae3d)
  • improve Owned Streams feature observability (#13232) (ce86459)
  • improve performance of first_over_time and last_over_time queries by sharding them (#11605) (f66172e)
  • improve syntax parser for pattern (#12489) (48dae44)
  • include the stream we failed to create in the stream limit error message (#12437) (ec81991)
  • Increase drain max depth from 8 -> 30 (#13063) (d0a2859)
  • Ingester RF-1 (#13365) (7f35179)
  • ingester: Smooth out chunk flush operations (#9994) (82fbb2f)
  • Introduce index audit to lokitool (#13008) (47f0236)
  • Introduce a new Object Storage WAL format. (#13253) (1d6f8d5)
  • loki/main.go: Log which config file path is used on startup (#12985) (7a3338e)
  • loki: Do not enforce max-query-bytes-read and max-querier-bytes-read in limited tripperware (#13406) (47f6ea5)
  • new stream count limiter (#13006) (1111595)
  • operator: Add support for the volume API (#13369) (d451e23)
  • operator: Update Loki operand to v3.1.0 (#13422) (cf5f52d)
  • Optimize log parsing performance by using unsafe package (#13223) (9f31b25)
  • parameterise the MaximumEventAgeInSeconds, LogGroupName, and IAMRoleName for lambda-promtail CloudFormation template (#12728) (8892dc8)
  • promtail: Support of RFC3164 aka BSD Syslog (#12810) (be41525)
  • Querier: Split gRPC client into two. (#12726) (7b6f057)
  • reporting: Report cpu usage (#12970) (87288d3)
  • split detected fields queries (#12491) (6c33809)
  • Support negative numbers in LogQL (#13091) (6df81db)
  • Tune Patterns query drain instance (#13137) (30df31e)
  • Update getting started demo to Loki 3.0 (#12723) (282e385)
  • update helm chart to support distributed mode and 3.0 (#12067) (79b876b)
  • Update Loki monitoring docs to new meta monitoring helm (#13176) (b4d44f8)
  • Updated best practises for labels (#12749) (6ebfbe6)
  • Updated SS and microservices deployment docs (#13083) (1b80458)
  • Use prefixed WAL storage path in Object Storage (#13377) (973aa2d)
  • wal: Add sizing information to writer and reader. (#13267) (41fbacd)
  • wal: Benchmark and improve WAL writes using Reset. (#13272) (debb5f2)

Bug Fixes

  • codec not initialized in downstream roundtripper (#12873) (b6049f6)
  • Add a missing continue in fuse which may cause incorrect bloom test result (#12650) (0d1ebeb)
  • Add copyString function to symbolizer to avoid retaining memory (#13146) (86b119a)
  • add detected_level info when the info word appears on log message (#13218) (c9bfa3e)
  • Add missing Helm helper loki.hpa.apiVersion (#12755) (3070ea7)
  • Add missing OTLP endpoint to nginx config (#12709) (8096748)
  • add missing parentheses in meta monitoring dashboards (#12802) (151d0a5)
  • add retry middleware to the "limited" query roundtripper (#13161) (bb864b3)
  • allow cluster label override in bloom dashboards (#13012) (987e551)
  • blooms: bloomshipper no longer returns empty metas on fetch (#13130) (ad279e5)
  • blooms: Clean block directories recursively on startup (#12895) (7b77e31)
  • blooms: Correctly return unfiltered chunks for series that are not mapped to any block (#12774) (c36b114)
  • blooms: Deduplicate filtered series and chunks (#12791) (3bf2d1f)
  • blooms: Delete outdated metas during planning (#13363) (11e1976)
  • blooms: Disable metas cache on bloom gateway (#12959) (00bdd2f)
  • blooms: Do not fail requests when fetching metas from cache fails (#12838) (667076d)
  • blooms: dont break iterator conventions (#12808) (1665e85)
  • blooms: ensure tokenizer cache is reset between series (#13370) (04bc3a4)
  • blooms: Fix partitionSeriesByDay function (#12900) (738c274)
  • blooms: Fix a regression introduced with #12774 (#12776) (ecefb49)
  • blooms: Fix findGaps when ownership goes to MaxUInt64 and that is covered by existing meta (#12558) (0ee2a61)
  • blooms: Fix panic in bloom gateway (#13303) (66f97b2)
  • blooms: Fully deduplicate chunks from FilterChunkRef responses (#12807) (a0f358f)
  • blooms: Handle not found metas gracefully (#12853) (37c8822)
  • blooms: ignores bloom filtering errors in bounded shard query planning (#13285) (ede6941)
  • blooms: improves mempool metrics (#13283) (d36e1d5)
  • blooms: Minor fixes and improvements for testing in dev (#13341) (d0f56ee)
  • blooms: Remove unused arg (#13343) (fcb9b28)
  • blooms: Reset error on LazyBloomIter.Seek (#12806) (76ba24e)
  • blooms: Suppress error from resolving server addresses for blocks (#13385) (3ac2317)
  • change log level since this is a known case (#13029) (ca030a5)
  • close res body (#12444) (616977a)
  • Correctly encode step when translating proto to http internally (#13171) (740551b)
  • crrect initialization of a few slices (#12674) (0eba448)
  • Defer closing blocks iter after checking error from loadWorkForGap (#12934) (cb1f5d9)
  • Do not filter out chunks for store when From==Through and From==start (#13117) (d9cc513)
  • docs: broken link in getting started readme (#12736) (425a2d6)
  • docs: Move promtail configuration to the correct doc (#12737) (1161846)
  • Ensure Drain patterns are valid for LogQL pattern match filter (#12815) (fd2301f)
  • errors reported by the race detector (#13174) (2b19dac), closes #8586
  • Fix bloom deleter PR after merge (#13167) (c996349)
  • Fix compactor matcher in the loki-deletion dashboard (#12790) (a03846b)
  • Fix duplicate enqueue item problem in bloom download queue when do sync download (#13114) (f98ff7f)
  • Fix for how the loop sync is done (#12941) (5cd850e)
  • Fix incorrect sorting of chunks in bloom-filtered response since ChunkRef.Cmp method is used in reverse (#12999) (670cd89)
  • Fix indentation of query range values in helm (#12577) (9823f20)
  • Fix log level detection (#12651) (6904a65)
  • Fix panic on requesting out-of-order Pattern samples (#13010) (2171f64)
  • fix parsing of default per tenant otlp config (#12836) (7cc9a93)
  • fix setting of info log level when trying to detect level from log lines (#12635) (0831802)
  • Fix the lokitool imports (#12673) (6dce988)
  • Fixes read & backend replicas settings (#12828) (d751134)
  • helm: Set compactor addr for distributed mode. (#12748) (521d40a)
  • helm: fix extraObjects (#13107) (b7fcf2b)
  • helm: Fix GEL image tag, bucket name and proxy URLs (#12878) (67ed2f7)
  • helm: fix query-frontend and ruler targetPort 'http-metrics' in Service template (#13024) (1ab9d27)
  • helm: fix queryScheduler servicemonitor (#12753) (8101e21)
  • helm: fixed ingress paths mapping (#12932) (5ada92b)
  • helm: only default bucket names when using minio (#12548) (2e32ec5)
  • helm: Removed duplicate bucketNames from documentation and fixed key name deploymentMode (#12641) (0d8ff9e)
  • incorrect compactor matcher in loki-deletion dashboard mixin (#12567) (006f88c)
  • indexstats: do not collect stats from "IndexStats" lookups for other query types (#12978) (1f5291a)
  • Ingester zoneAwareReplication (#12659) (9edb0ce)
  • Init internal server log along with loki's server instance (#13221) (66b8c9b)
  • Introduce feature flag for [last|first]_over_time sharding. (#13067) (6e45550)
  • Invalidate caches when pipeline wrappers are disabled (#12903) (a772ed7)
  • ksonnet: Do not generate rbac for consul if you are using memberlist (#12688) (2d62fca)
  • lambda-promtail, update s3 filename regex to allow finding of log files from AWS GovCloud regions (#12482) (7a81d26)
  • Lint issues after merge to main (#13326) (7e19cc7)
  • loki version prefix in Makefile (#12514) (dff72d2)
  • loki-operational.libsonnet (#12789) (51a841f)
  • make detected fields work for both json and proto (#12682) (f68d1f7)
  • make the tsdb filenames correctly reproducible from the identifier (#12536) (ec888ec)
  • Missing password for Loki-Canary when loki.auth_enabled is true (#12411) (68b23dc)
  • mixin generation when cluster label is changed (#12613) (1ba7a30)
  • mixin: dashboards $__auto fix (#12707) (91ef72f)
  • Mixins - Add missing log datasource on loki-deletion (#13011) (1948899)
  • mixins: Align loki-writes mixins with loki-reads (#13022) (757b776)
  • mixin: various latency panels in operational dashboard should have ms unit type instead of seconds (#13260) (f5a9905)
  • nix: lambda-promtail vendor hash (#12763) (ae180d6)
  • not owned stream count (#13030) (4901a5c)
  • operator: add alertmanager client config to ruler template (#13182) (6148c37)
  • operator: Bump golang builder to 1.21.9 (#12503) (f680ee0)
  • operator: Configure Loki to use virtual-host-style URLs for S3 AWS endpoints (#12469) (0084262)
  • operator: Improve API documentation for schema version (#13122) (3a9f50f)
  • operator: Use a minimum value for replay memory ceiling (#13066) (4f3ed77)
  • operator: Watch for CredentialsRequests on CCOAuthEnv only (#13299) (7fc926e)
  • Optimize regular initialization (#12926) (a46d14f)
  • orFilters: fix multiple or filters would get wrong filtertype (#13169) (9981e9e)
  • otel: Map 500 errors to 503 (#13173) (b31e04e)
  • packaging: Require online network in systemd unit file for Loki and Promtail (#12741) (57f78b5)
  • panics when ingester response is nil (#12946) (3cc28aa)
  • promtail race fixes (#12656) (4e04d07)
  • promtail; clean up metrics generated from logs after a config reload. (#11882) (39a7181)
  • promtail: Fix bug with Promtail config reloading getting stuck indefinitely (#12795) (4d761ac)
  • promtail: Fix UDP receiver on syslog transport (#10708) (a00f1f1)
  • promtail: Handle docker logs when a log is split in multiple frames (#12374) (c0113db)
  • properly return http status codes from ingester to querier for RPC function calls (#13134) (691b174)
  • querier address in SingleBinary mode (#13297) (29f1ea9)
  • query sharding: Generalize avg -> sum/count sharding using existing binop mapper (#12599) (11e7687)
  • Redo ingester profile tagging (#13239) (32097c8)
  • regression: reverts grafana/loki#13039 to prevent use-after-free corruptions (#13162) (41c5ee2)
  • Remove Hardcoded Bucket Name from EventBridge Example CloudFormation Template (#12609) (8c18463)
  • Remove query size limit for detected fields (#13423) (1fa5127)
  • remove tenant label tagging from profiles to reduce cardinality (#13270) (f897758)
  • remove unneccessary disk panels for ssd read path (#13014) (8d9fb68)
  • remove unused parameter causing lint error (#12801) (33e82ec)
  • retry: fix retries when using protobuf encoding (#13316) (a457c5d)
  • separates directory creation from permission checks (#13248) (1086783)
  • sharding: use without() grouping when merging avg_over_time shard results (#12176) (eb8a363)
  • spans: corrects early-close for a few spans (#12887) (93aaf29)
  • stream ownership check (#13314) (5ae5b31)
  • support multi-zone ingesters when converting global to local limits for streams in limiter.go (#13321) (e28c15f)
  • temporarily moving from alloy -> alloy dev (#13062) (7ffe0fb)
  • Track bytes discarded by ingester. (#12981) (88c6711)
  • Update expected patterns when pruning (#13079) (2923a7d)
  • update fixed limit once streams ownership re-checked (#13231) (7ac19f0)
  • update to build image 0.33.2, fixes bug with promtail windows DNS resolution (#12732) (759f42d)
  • updated all dockerfiles go1.22 (#12708) (71a8f2c)
  • Updated Loki Otlp Ingest Configuration (#12648) (ff88f3c)
  • upgrade old plugin for the loki-operational dashboard. (#13016) (d3c9cec)
  • Use an intermediate env variable in GH workflow (#12905) (772616c)
  • Use to the proper config names in warning messages (#12114) (4a05964)
  • workflows: don't run metric collector on forks (#12687) (7253444)

Performance Improvements

  • blooms: always return bloom pages to allocator (#13288) (0cb3ff1)
  • blooms: mempool no longer zeroes out buffers unnecessarily (#13282) (eb1cd4c)
  • blooms: Resolve bloom blocks on index gateway and shard by block address (#12720) (5540c92)
  • Gather aggregate per-line and per-tenant metrics for Drain patterns (#13368) (bf1d6e3)
  • Improve Detected labels API (#12816) (e7fdeb9)
  • Introduce fixed size memory pool for bloom querier (#13039) (fc26431)
  • Limit tokens per pattern to 128 (#13376) (a1efafd)
  • mempool: Replace sync.Mutex with sync.Once (#13293) (61a9854)
  • Prune unused pattern branches (#13329) (5ef18cf)
  • Re-introduce fixed size memory pool for bloom querier (#13172) (4117b6c)
  • Replace channel check with atomic bool in tailer.send() (#12976) (4a5edf1)
  • TSDB: Add fast-path to inversePostingsForMatcher (#12679) (402d1d7)

Merging this PR will release the artifacts of 1834065

@loki-gh-app loki-gh-app bot requested a review from a team as a code owner July 8, 2024 01:35
@loki-gh-app loki-gh-app bot added autorelease: pending backport main Tag a PR with this label to create a PR which cherry pics it into the main branch product-approved labels Jul 8, 2024
@grafanabot
Copy link
Collaborator

This PR must be merged before a backport PR will be created.

1 similar comment
@grafanabot
Copy link
Collaborator

This PR must be merged before a backport PR will be created.

@sandeepsukhani sandeepsukhani deleted the branch k210 July 8, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autorelease: pending backport main Tag a PR with this label to create a PR which cherry pics it into the main branch product-approved size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants