prometheus/storage
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
..
local Add noop local storage engine. 2016-09-14 13:18:05 +02:00
metric storage: improve index lookups 2016-07-20 17:35:53 +02:00
remote Update for new generic remote storage. 2016-08-30 17:43:29 +02:00
storage.go Fix deadlock, structure target logging 2016-02-03 10:39:34 +01:00