Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/chunkenc
cui fliter 4b53909ccf
all: remove repetitive the (#9823)
2 years ago
..
testdata Improve metric queries by computing samples at the edges. (#2293) 5 years ago
README.md Updates chunkenc doc for V3 (#2956) 5 years ago
dumb_chunk.go Upgrade `golangci-lint` and fix linting errors (#9601) 2 years ago
encoding_helpers.go Improve checkpoint series iterator. (#3193) 4 years ago
facade.go deletion: fix log deletion with line filters (#8151) 2 years ago
hash_test.go Improve lz4 compression (#2614) 5 years ago
interface.go Improve error message when max error message is hit (#6834) 3 years ago
interface_test.go Improve error message when max error message is hit (#6834) 3 years ago
memchunk.go all: remove repetitive the (#9823) 2 years ago
memchunk_test.go Use 0.28.1 build image and update go and alpine versions (#8583) 2 years ago
pool.go Upgrade `golangci-lint` and fix linting errors (#9601) 2 years ago
pool_test.go chunks: decode varints directly from byte buffer; stop panicing on some corrupt inputs (#7264) 3 years ago
unordered.go Revert "Augment statistics.." PR 9400. (#9430) 2 years ago
unordered_test.go Loki: Do not store exact log line duplicates (now including unordered inserts) (#6642) 3 years ago
util_test.go Speed up `EntrySortIterator` by 20%. (#5318) 3 years ago

README.md

Chunk format

  |                 |             |
  | MagicNumber(4b) | version(1b) |
  |                 |             |
  --------------------------------------------------
  |         block-1 bytes         |  checksum (4b) |
  --------------------------------------------------
  |         block-2 bytes         |  checksum (4b) |
  --------------------------------------------------
  |         block-n bytes         |  checksum (4b) |
  --------------------------------------------------
  |         #blocks (uvarint)                      |
  --------------------------------------------------
  | #entries(uvarint) | mint, maxt (varint) | offset, len (uvarint) | uncompressedSize (uvarint) |
  ------------------------------------------------------------------------------------------------
  | #entries(uvarint) | mint, maxt (varint) | offset, len (uvarint) | uncompressedSize (uvarint) |
  ------------------------------------------------------------------------------------------------
  | #entries(uvarint) | mint, maxt (varint) | offset, len (uvarint) | uncompressedSize (uvarint) |
  ------------------------------------------------------------------------------------------------
  | #entries(uvarint) | mint, maxt (varint) | offset, len (uvarint) | uncompressedSize (uvarint) |
  ------------------------------------------------------------------------------------------------
  |                      checksum(from #blocks)                     |
  -------------------------------------------------------------------
  | metasOffset - offset to the point with #blocks |
  --------------------------------------------------