mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +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. |
||
|---|---|---|
| .. | ||
| metrics | ||
| api.go | ||
| helpers.go | ||
| interfaces.go | ||
| types.go | ||