Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
requestscoped
Package requestscoped implements features that rely on HTTP request headers, like applying tenant limitation, per-request limit of evaluated points/series, ...
|
Package requestscoped implements features that rely on HTTP request headers, like applying tenant limitation, per-request limit of evaluated points/series, ... |
|
appendable
|
|
|
Package batch will group points in batch to send multiple consecutive points of the same metrics to TSDB.
|
Package batch will group points in batch to send multiple consecutive points of the same metrics to TSDB. |
|
cassandra
|
|
|
mutable
Package mutable provides the Cassandra-backed implementation of the mutable label store (mutable.Store).
|
Package mutable provides the Cassandra-backed implementation of the mutable label store (mutable.Store). |
|
telemetrystore
Package telemetrystore implements the telemetry.Store backed by a types.State (for the values) and distributed locks (for ownership).
|
Package telemetrystore implements the telemetry.Store backed by a types.State (for the values) and distributed locks (for ownership). |
|
clickhouse
|
|
|
backend
Package backend owns the single ClickHouse connection shared by every ClickHouse-backed store (TSDB, mutable labels, telemetry), mirroring cassandra/backend.
|
Package backend owns the single ClickHouse connection shared by every ClickHouse-backed store (TSDB, mutable labels, telemetry), mirroring cassandra/backend. |
|
ddl
Package ddl helps the ClickHouse stores produce cluster-aware DDL from a single template, so the same schema works on a single node and on a cluster.
|
Package ddl helps the ClickHouse stores produce cluster-aware DDL from a single template, so the same schema works on a single node and on a cluster. |
|
mutable
Package mutable provides the ClickHouse-backed implementation of the mutable label store (mutable.Store).
|
Package mutable provides the ClickHouse-backed implementation of the mutable label store (mutable.Store). |
|
routing
Package routing provides a clickhouse-go driver.Conn that owns one underlying connection per host and routes every call to a healthy host.
|
Package routing provides a clickhouse-go driver.Conn that owns one underlying connection per host and routes every call to a healthy host. |
|
state
Package state provides a small, generic key/value store backed by ClickHouse.
|
Package state provides a small, generic key/value store backed by ClickHouse. |
|
telemetrystore
Package telemetrystore implements the ClickHouse-backed telemetry.Store: the shared cluster ID and a pool of per-node IDs with a crash-tolerant ownership lease.
|
Package telemetrystore implements the ClickHouse-backed telemetry.Store: the shared cluster ID and a pool of per-node IDs with a crash-tolerant ownership lease. |
|
tsdb
Package tsdb implements a SquirrelDB TSDB backend backed by ClickHouse.
|
Package tsdb implements a SquirrelDB TSDB backend backed by ClickHouse. |
|
cmd
|
|
|
import-data
command
|
|
|
prom-remote-storage-to-parquet
command
|
|
|
squirreldb-debug-tools
command
|
|
|
sstable-data-content
command
|
|
|
Package core is the storage glue of SquirrelDB: from the configured backends it composes the data-plane accessors (read, write, dual-write) that the API, the migration tool and the tests consume.
|
Package core is the storage glue of SquirrelDB: from the configured backends it composes the data-plane accessors (read, write, dual-write) that the API, the migration tool and the tests consume. |
|
processsetup
Package processsetup contains utility function to initialize & setup a SquirrelDB process
|
Package processsetup contains utility function to initialize & setup a SquirrelDB process |
|
version
Package version is just here to old few globals set during build
|
Package version is just here to old few globals set during build |
|
Package daemon contains startup function of SquirrelDB
|
Package daemon contains startup function of SquirrelDB |
|
backend
Package backend implements the "dummy" storage backend: it discards every write and serves empty reads, with no external dependency.
|
Package backend implements the "dummy" storage backend: it discards every write and serves empty reads, with no external dependency. |
|
Package export defines a backend-agnostic way to stream a TSDB's raw data out, one series-chunk at a time, with a resumable position.
|
Package export defines a backend-agnostic way to stream a TSDB's raw data out, one series-chunk at a time, with a resumable position. |
|
Package migration copies raw time series data out of one SquirrelDB backend (the source, Config.Backend) into another (the target, Config.ExtraWriteBackend) — the Cassandra→ClickHouse migration.
|
Package migration copies raw time series data out of one SquirrelDB backend (the source, Config.Backend) into another (the target, Config.ExtraWriteBackend) — the Cassandra→ClickHouse migration. |
|
Package mutable handles mutable labels.
|
Package mutable handles mutable labels. |
|
queryable
|
|
|
redis
|
|
|
tests
|
|
|
common/testcases
Package testcases provides shared test cases for backends implementations (Appender, Queryable, ...).
|
Package testcases provides shared test cases for backends implementations (Appender, Queryable, ...). |
|
remote-storage-bench
command
This produce a remote write generator.
|
This produce a remote write generator. |
|
remote-storage-test
command
|
|
|
remote-storage-test2
command
|
|
|
run-test-cases
command
|
|
|
squirreldb-cassandra-index-bench
command
|
|
|
squirreldb-cassandra-index-bench2
command
This benchmark is mostly used to test shard transition issue: * Our postings are shared by time, with each shard being 7 days long.
|
This benchmark is mostly used to test shard transition issue: * Our postings are shared by time, with each shard being 7 days long. |
|
squirreldb-cassandra-lock-bench
command
|
|
|
squirreldb-cluster-redis
command
|
|
|
squirreldb-promql-aggregate
command
|
|
|
squirreldb-promql-bench
command
|
|
|
squirreldb-telemetry
command
Command squirreldb-telemetry exercises backend.TelemetryStore() end-to-end, against whichever backend is configured (Cassandra or ClickHouse; it skips on the dummy backend).
|
Command squirreldb-telemetry exercises backend.TelemetryStore() end-to-end, against whichever backend is configured (Cassandra or ClickHouse; it skips on the dummy backend). |
|
wait-stores
command
|
|
Click to show internal directories.
Click to hide internal directories.