prometheus/retrieval
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
..
discovery Kubernetes SD: Refactor to handle missing Kubernetes events 2016-01-19 20:49:58 +00:00
testdata Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
helpers_test.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
relabel.go Add missing license headers 2015-08-24 19:19:21 +02:00
relabel_test.go Change config regexes to full-string matches. 2015-09-01 15:46:41 +02:00
target.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
target_test.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
targetmanager.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
targetmanager_test.go Add in default port after relabelling. 2015-11-08 11:42:18 +00:00