Chris Marchbanks 7c7dafc321
Do not snappy encode if record is too large (#8790)
Snappy cannot encode records larger than ~3.7 GB and will panic if an
encoding is attempted. Check to make sure that the record is smaller
than this before encoding.

In the future, we could improve this behavior to still compress large
records (or break them up into smaller records), but this avoids the
panic for users with very large single scrape targets.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2021-05-06 12:56:45 -06:00
..
2020-10-29 09:43:23 +00:00
2019-12-16 15:30:49 +00:00
2020-07-21 10:08:06 +02:00
2020-10-29 09:43:23 +00:00
2020-10-29 09:43:23 +00:00
2021-02-17 11:02:43 +05:30
2021-02-22 20:28:02 +01:00
2021-02-18 23:56:27 +01:00
2021-04-27 00:43:22 +02:00
2020-10-29 09:43:23 +00:00
2021-02-04 08:53:33 -06:00

TSDB

GoDoc

This directory contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.

A series of blog posts explaining different components of TSDB: