mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Use content negotiation to return a stream of Arrow records from the query and query_range endpoints in the case where a matrix is returned. This provides vastly superior CPU performance both on the server and on the client when transferring significant amounts of data. goos: darwin goarch: arm64 pkg: github.com/prometheus/prometheus/web/api/v1 BenchmarkRespond-8 2326 475496 ns/op 213687 B/op 8 allocs/op BenchmarkRespondArrow-8 16176 74459 ns/op 452520 B/op 83 allocs/op Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com> |
||
---|---|---|
.. | ||
v1 |