This is not currently considered part of the stable API and is subject to change even between non-major version releases of Prometheus.
This API provides data read functionality from Prometheus. This interface expects snappy compression. The API definition is located here.
Request are made to the following endpoint.
/api/v1/read
This returns a message that includes a list of raw samples matching the requested query.
These streamed chunks utilize an XOR algorithm inspired by the Gorilla compression to encode the chunks. However, it provides resolution to the millisecond instead of to the second.
This documentation is open-source. Please help improve it by filing issues or pull requests.