query

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL