forked from mirror/client_golang
48a686a603
* Add timeout parameter for queries Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> * Update api/prometheus/v1/api.go Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com> Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> * Update api/prometheus/v1/api.go Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com> Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> * Pass timeout as stringified time.Duration instead of millisecond value Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> * Update QueryRange API to support timeouts Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> * Add timeout to test request params Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com> Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com> |
||
---|---|---|
.. | ||
prometheus/v1 | ||
client.go | ||
client_test.go |