prometheus/storage/local
Brian Brazil 93b70ee4ea Evict chunk descs of all unloaded chunks during maintenance. (#2297)
Keeping these around has two problems:
1) Each desc takes 64 bytes, 10 of them is 640B. This is a lot of
overhead on a 1024 byte chunk.
2) It can take well over a week to reach a point where this and thus
Prometheus memory usage as a whole enters steady state. This makes RAM
estimation very hard for users, and makes it difficult to investigate
things like memory fragmentation.

Instead we'll wipe them during each memory series maintenance cycle, and
if a query pulls them in they'll hang around as cache until the next
cycle.
2016-12-22 13:49:03 +00:00
..
chunk storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +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 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
crashrecovery.go Fix possible memory leak by defer inside loop 2016-11-14 14:08:08 +09:00
heads.go Review fixups. 2016-09-28 23:42:44 +02:00
instrumentation.go storage: separate chunk package, publish more names 2016-09-26 13:25:11 +02:00
interface.go storage: enhance Querier interface usage 2016-10-16 10:39:29 +02:00
locker_test.go Add missing license headers 2016-04-13 16:08:22 +02:00
locker.go Avoid having contended mutexes on same cacheline 2016-09-18 23:32:55 +01:00
mapper_test.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
mapper.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
noop_storage.go storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +01:00
persistence_test.go Check error before defer closing 2016-11-13 18:16:02 +01:00
persistence.go ignore dotfiles in data directory 2016-12-15 11:48:23 +00:00
series_test.go Unpublish accidentally published series methods 2016-10-03 00:04:56 +02:00
series.go Evict chunk descs of all unloaded chunks during maintenance. (#2297) 2016-12-22 13:49:03 +00:00
storage_test.go storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +01:00
storage.go storage: Sanity-check number of loaded chunk descs 2016-12-13 23:19:39 +01:00
test_helpers.go Merge pull request #2005 from redbaron/microoptimise-matching 2016-10-05 17:26:56 +02:00