Documentation
¶
Overview ¶
Package query groups the storage library's read seam and its language adapters.
Sub-packages:
- fetch: the dual-shape Request/Fetcher/Iterator contract — the language-agnostic seam every embedder query engine drives and every backend implements. This is the library's query surface (exposed via Storage.Fetcher); the storage library does not implement query languages.
- promql: an OPTIONAL adapter bridging the fetch contract to the Prometheus storage.Queryable, for embedders that drive the Prometheus PromQL engine. It is the only package importing github.com/prometheus/prometheus.
See ARCHITECTURE.md for the query layer's current state.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fetch is the storage seam: the contract every query language compiles to and every data source (head, parts, cluster fan-out) implements.
|
Package fetch is the storage seam: the contract every query language compiles to and every data source (head, parts, cluster fan-out) implements. |
|
Package promql is an optional adapter that bridges the storage fetch contract (query/fetch) to the Prometheus storage.Queryable interface.
|
Package promql is an optional adapter that bridges the storage fetch contract (query/fetch) to the Prometheus storage.Queryable interface. |
Click to show internal directories.
Click to hide internal directories.