prometheus-adapter/pkg/client
Solly Ross 01755d5acb Extract timeout from context in Prom client
For vector and range queries, the Prometheus HTTP API takes a timeout
parameter.  Previously, we ignored this parameter.  Now, we check to see
if the context passed to the query contains a deadline, and if so,
compare that to the current time to calculate an appropriate timeout for
query evaulation.
2017-06-27 20:13:16 -04:00
..
metrics gofmt all files 2017-06-27 19:01:39 -04:00
api.go Extract timeout from context in Prom client 2017-06-27 20:13:16 -04:00
helpers.go Initial Functionality 2017-05-10 00:05:32 -04:00
interfaces.go Extract timeout from context in Prom client 2017-06-27 20:13:16 -04:00
types.go gofmt all files 2017-06-27 19:01:39 -04:00