prometheus/storage/local
Julius Volz b24e5d63bc Add noop local storage engine.
This adds a flag -storage.local.engine which allows turning off local
storage in Prometheus. Instead of adding if-conditions and nil checks to
all parts of Prometheus that deal with Prometheus's local storage
(including the web interface), disabling local storage simply means
replacing the normal local storage with a noop version that throws
samples away and returns empty query results. We also don't add the noop
storage to the fanout appender to decrease internal overhead.

Instead of returning empty results, an alternate behavior could be to
return errors on any query that point out that the local storage is
disabled. Not sure which one is more preferable, so I went with the
empty result option for now.
2016-09-14 13:18:05 +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 Catch errors when unmarshalling delta/doubleDelta encoded chunks 2016-08-30 07:57:39 -04:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
delta_test.go Add field names to table-driven test fixtures 2016-08-30 07:57:39 -04:00
doubledelta.go Fix double-delta unmarshaling to respect actual min header size 2016-08-30 07:57:39 -04: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
noop_storage.go Add noop local storage engine. 2016-09-14 13:18:05 +02:00
persistence.go Storage: Add crash recovery metric 'started_dirty' 2016-08-27 21:41:06 +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 fix typo 2016-09-08 19:01:32 +09: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