prometheus/storage/local
beorn7 2fad91d25a Avoid blocking in the logThrottling loop
The timer semantics is really hard. The simple pattern as given in the
godoc for the time package assumes we are not elsewhere consuming from
the timer's channel. However, exactly that can happen here with the
right sequence of events. Thus, we have to drain the channel only if
it has something to drain.
2017-10-06 14:19:30 +02:00
..
chunk Merge branch 'release-1.7' 2017-07-21 19:40:30 +02:00
codable storage: Check for negative values from varint decoding 2017-04-04 19:14:52 +02:00
fixtures/b0 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
index storage: Recover from corrupted indices for archived series 2017-04-06 19:26:39 +02:00
storagetool Make version informations consistent between prometheus components 2016-05-05 22:33:18 +02:00
crashrecovery.go storage: Guard against a corner case of data corruption 2017-04-06 19:50:32 +02:00
heads.go storage: Check for negative values from varint decoding 2017-04-04 19:14:52 +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.go Avoid having contended mutexes on same cacheline 2016-09-18 23:32:55 +01:00
locker_test.go Add missing license headers 2016-04-13 16:08:22 +02:00
mapper.go storage: Fix use of counter (Set -> Add) 2017-04-11 12:58:24 +02:00
mapper_test.go Fix staticcheck issues. 2017-08-28 17:29:01 +02:00
noop_storage.go storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +01:00
persistence.go Fix staticcheck issues. 2017-08-28 17:29:01 +02:00
persistence_test.go Fix staticcheck issues. 2017-08-28 17:29:01 +02:00
series.go should use time.Since instead of time.Now().Sub 2017-09-07 18:00:45 +08:00
series_test.go Unpublish accidentally published series methods 2016-10-03 00:04:56 +02:00
storage.go Avoid blocking in the logThrottling loop 2017-10-06 14:19:30 +02:00
storage_test.go Fix staticcheck issues. 2017-08-28 17:29:01 +02:00
test_helpers.go storage: Evict chunks and calculate persistence pressure based on target heap size 2017-03-27 14:33:50 +02:00