prometheus/web/api
Chris Marchbanks 692eb7e722
Encode PromQL Matricies with Arrow
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>
2023-01-13 11:17:14 -07:00
..
v1 Encode PromQL Matricies with Arrow 2023-01-13 11:17:14 -07:00