Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update query API to support timeouts #1014

Merged
merged 6 commits into from Apr 21, 2022

Commits on Apr 16, 2022

  1. Add timeout parameter for queries

    Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com>
    josephwoodward committed Apr 16, 2022
    Copy the full SHA
    fcd1cad View commit details
    Browse the repository at this point in the history
  2. 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>
    josephwoodward and kakkoyun committed Apr 16, 2022
    Copy the full SHA
    ce3858b View commit details
    Browse the repository at this point in the history
  3. 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>
    josephwoodward and kakkoyun committed Apr 16, 2022
    Copy the full SHA
    bc99c4b View commit details
    Browse the repository at this point in the history
  4. Pass timeout as stringified time.Duration instead of millisecond value

    Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com>
    josephwoodward committed Apr 16, 2022
    Copy the full SHA
    e2f36d2 View commit details
    Browse the repository at this point in the history
  5. Update QueryRange API to support timeouts

    Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com>
    josephwoodward committed Apr 16, 2022
    Copy the full SHA
    93ecf8f View commit details
    Browse the repository at this point in the history
  6. Add timeout to test request params

    Signed-off-by: Joseph Woodward <joseph.woodward@xeuse.com>
    josephwoodward committed Apr 16, 2022
    Copy the full SHA
    f2f5b48 View commit details
    Browse the repository at this point in the history