prometheus/model
Matt T. Proud b3e34c6658 Implement batch database sample curator.
This commit introduces to Prometheus a batch database sample curator,
which corroborates the high watermarks for sample series against the
curation watermark table to see whether a curator of a given type
needs to be run.

The curator is an abstract executor, which runs various curation
strategies across the database.  It remarks the progress for each
type of curation processor that runs for a given sample series.

A curation procesor is responsible for effectuating the underlying
batch changes that are request.  In this commit, we introduce the
CompactionProcessor, which takes several bits of runtime metadata and
combine sparse sample entries in the database together to form larger
groups.  For instance, for a given series it would be possible to
have the curator effectuate the following grouping:

- Samples Older than Two Weeks: Grouped into Bunches of 10000
- Samples Older than One Week: Grouped into Bunches of 1000
- Samples Older than One Day: Grouped into Bunches of 100
- Samples Older than One Hour: Grouped into Bunches of 10

The benefits hereof of such a compaction are 1. a smaller search
space in the database keyspace, 2. better employment of compression
for repetious values, and 3. reduced seek times.
2013-04-27 17:38:18 +02:00
..
generated Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
curation.go Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
data.proto Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
dto.go Extract finding unindexed metrics. 2013-03-21 18:08:48 +01:00
fingerprinting_test.go Fix logic bug in fingerprint Less() comparison. 2013-04-09 11:43:12 +02:00
fingerprinting.go Make LevelDB sample keys fixed-length to ensure correct sort-order. 2013-04-11 18:17:44 +02:00
labelname_test.go Checkpoint. 2013-03-21 18:06:51 +01:00
labelname.go Track alerts over time and write out alert timeseries. 2013-04-26 14:35:21 +02:00
labelpair_test.go Checkpoint. 2013-03-21 18:06:51 +01:00
labelpair.go checkpoint. 2013-03-21 18:08:46 +01:00
labelvalue_test.go Checkpoint. 2013-03-21 18:06:51 +01:00
labelvalue.go Checkpoint. 2013-03-21 18:06:51 +01:00
Makefile Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
metric_test.go WIP - Truncate irrelevant chunk values. 2013-04-24 11:07:22 +02:00
metric.go Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
sample.go Add instance label to health (up) timeseries. 2013-04-24 21:50:49 +02:00
samplekey.go Implement batch database sample curator. 2013-04-27 17:38:18 +02:00
watermark.go Convert time readers to represent time in UTC. 2013-04-24 12:19:41 +02:00