prometheus/storage/local
beorn7 ec08c9a391 Rework the way to communicate backpressure (AKA suspended ingestion)
This gives up on the idea to communicate throuh the Append() call (by
either not returning as it is now or returning an error as
suggested/explored elsewhere). Here I have added a Throttled() call,
which has the advantage that it can be called before a whole _batch_
of Append()'s. Scrapes will happen completely or not at all. Same for
rule group evaluations. That's a highly desired behavior (as discussed
elsewhere). The code is even simpler now as the whole ingestion buffer
could be removed.

Logging of throttled mode has been streamlined and will create at most
one message per minute.
2016-02-01 14:45:44 +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 Streamline chunk writing 2016-01-25 16:36:36 +01:00
crashrecovery.go Switch to common/log 2015-10-03 10:21:43 +02:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
delta.go Streamline chunk writing 2016-01-25 16:36:36 +01:00
doubledelta.go Streamline chunk writing 2016-01-25 16:36:36 +01:00
instrumentation.go Add a series ops metric "purge_on_request" 2016-01-11 17:22:16 +01:00
interface.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
locker_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
locker.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
mapper_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
persistence_test.go Improve handling of series file truncation 2016-01-11 16:42:10 +01:00
persistence.go Fix calculation of chunks to persist after restart 2016-01-25 19:33:51 +01:00
preload.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
series.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
storage_test.go Remove a race condition from TestRetentionCutoff 2016-01-25 16:36:14 +01:00
storage.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
test_helpers.go Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00