prometheus/storage/remote
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
..
graphite Use '.' instead of '=' to separate labels from their values in Graphite 2016-01-11 13:57:14 +01:00
influxdb Switch to common/log 2015-10-03 10:21:43 +02:00
opentsdb Switch to common/log 2015-10-03 10:21:43 +02:00
queue_manager.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00
queue_manager_test.go Fix "go vet" errors. 2015-08-26 02:05:04 +02:00
remote.go Rework the way to communicate backpressure (AKA suspended ingestion) 2016-02-01 14:45:44 +01:00