prometheus-adapter/pkg
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
..
client Extract timeout from context in Prom client 2017-06-27 20:13:16 -04:00
custom-provider Have provider constructor take a stop channel 2017-06-27 20:11:02 -04:00