thanos icon indicating copy to clipboard operation
thanos copied to clipboard

UI: use prometheus post api

Open MichaHoffmann opened this issue 1 year ago • 2 comments

Downstream Requests to the query API will fail for long queries if there is a proxy in the middle that fails on too long URIs.

  • [ ] I added CHANGELOG entry for this change.
  • [ ] Change is not relevant to the end user.

Changes

Make the UI use POST requests to the query api.

Verification

MichaHoffmann avatar May 21 '24 14:05 MichaHoffmann

cc @kevindweb

MichaHoffmann avatar May 21 '24 14:05 MichaHoffmann

For context the use case is dynamically injecting label filters into client metrics. When the query has 10+ series, each with a large set of generated filters, using a POST succeeds on the backend, but our clients cannot visualize the query in the UI due to size constraints.

kevindweb avatar May 21 '24 14:05 kevindweb