prometheus/storage/local
Julius Volz 3bfec97d46 Make the storage interface higher-level.
See discussion in
https://groups.google.com/forum/#!topic/prometheus-developers/bkuGbVlvQ9g

The main idea is that the user of a storage shouldn't have to deal with
fingerprints anymore, and should not need to do an individual preload
call for each metric. The storage interface needs to be made more
high-level to not expose these details.

This also makes it easier to reuse the same storage interface for remote
storages later, as fewer roundtrips are required and the fingerprint
concept doesn't work well across the network.

NOTE: this deliberately gets rid of a small optimization in the old
query Analyzer, where we dedupe instants and ranges for the same series.
This should have a minor impact, as most queries do not have multiple
selectors loading the same series (and at the same offset).
2016-07-25 13:59:22 +02:00
..
codable Replace metric.LabelPair with model.LabelPair 2015-08-22 13:32:13 +02:00
fixtures/b0 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
index Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
storagetool Make version informations consistent between prometheus components 2016-05-05 22:33:18 +02:00
chunk.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
crashrecovery.go Crash recovery: Fix an edge case. 2016-07-07 16:17:38 +02:00
delta.go Implement Gorilla-inspired chunk encoding 2016-03-17 14:47:08 +01:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
doubledelta.go Implement Gorilla-inspired chunk encoding 2016-03-17 14:47:08 +01:00
heads.go Merge branch 'master' into beorn7/storage4 2016-03-08 00:14:00 +01:00
instrumentation.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
interface.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
locker.go Update doc comments 2016-06-03 12:34:01 +02:00
locker_test.go Add missing license headers 2016-04-13 16:08:22 +02:00
mapper.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
mapper_test.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
persistence.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
persistence_test.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
series.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
series_test.go Never drop a still open head chunk. 2016-04-15 19:18:40 +02:00
storage.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
storage_test.go Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
test_helpers.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
varbit.go Work around compiler bug 2016-03-29 17:05:28 +02:00
varbit_helpers.go Rename Gorilla into varbit 2016-03-23 16:30:41 +01:00
varbit_test.go Rename Gorilla into varbit 2016-03-23 16:30:41 +01:00