mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
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. |
||
|---|---|---|
| .. | ||
| client | ||
| custom-provider | ||