prometheus/storage/local
beorn7 f193f2b8ef Add a command to promtool that dumps metadata of heads.db
I needed this today for debugging. It can certainly be improved, but
it's already quite helpful.

I refactored the reading of heads.db files out of persistence, which
is an improvement, too.

I made minor changes to the cli package to allow outputting via the
io.Writer interface.
2016-03-07 16:21:57 +01: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 Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00
chunk.go Separate iterators by offset 2016-03-02 16:01:03 +01:00
crashrecovery.go Switch to common/log 2015-10-03 10:21:43 +02:00
delta.go Streamline series iterator creation 2016-02-19 16:24:38 +01:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
doubledelta.go Streamline series iterator creation 2016-02-19 16:24:38 +01:00
heads.go Add a command to promtool that dumps metadata of heads.db 2016-03-07 16:21:57 +01:00
instrumentation.go Add a series ops metric "purge_on_request" 2016-01-11 17:22:16 +01:00
interface.go Separate iterators by offset 2016-03-02 16:01:03 +01:00
locker.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
locker_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
mapper.go Switch to common/log 2015-10-03 10:21:43 +02:00
mapper_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
persistence.go Add a command to promtool that dumps metadata of heads.db 2016-03-07 16:21:57 +01:00
persistence_test.go Populate chunkDesc.chunkLastTime during checkpoint loading, too 2016-02-24 13:58:34 +01:00
preload.go Separate iterators by offset 2016-03-02 16:01:03 +01:00
series.go Streamline series iterator creation 2016-02-19 16:24:38 +01:00
storage.go Merge remote-tracking branch 'origin/master' into beorn7/storage 2016-02-24 14:02:27 +01:00
storage_test.go Streamline series iterator creation 2016-02-19 16:24:38 +01:00
test_helpers.go Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00