prometheus/web/api/v1
Julius Volz c187308366 storage: Contextify storage interfaces.
This is based on https://github.com/prometheus/prometheus/pull/1997.

This adds contexts to the relevant Storage methods and already passes
PromQL's new per-query context into the storage's query methods.
The immediate motivation supporting multi-tenancy in Frankenstein, but
this could also be used by Prometheus's normal local storage to support
cancellations and timeouts at some point.
2016-09-19 16:29:07 +02:00
..
api.go storage: Contextify storage interfaces. 2016-09-19 16:29:07 +02:00
api_test.go storage: Contextify storage interfaces. 2016-09-19 16:29:07 +02:00