ch-rollup

module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0

README

ch-rollup Go Reference Test Lint

What is ch-rollup? It is a library that roll up (continuously aggregates) data in ClickHouse. The essence is that when storing time series data with a one-minute interval, we can analyze these data well, but after some time, we no longer need such high precision and would like to reduce this precision to store less data. For example, after storing data for a month, we might want to aggregate it to an hourly level. This means taking sixty points per hour, finding the average RPS/RT/etc, and recording it.

Documentation

Learn how to use ch-rollup.

Known limitations

Roadmap

The features we want to do are described in the issues.

License

Apache License Version 2.0

Copyright 2025 LLC "Ozon Technologies"

Directories

Path Synopsis
Package main contains example of ch-rollup usage.
Package main contains example of ch-rollup usage.
internal
utils/database
Package database implements utils for database.
Package database implements utils for database.
utils/slice
Package slice is a utils for working with slice.
Package slice is a utils for working with slice.
utils/sql
Package sql implements utils for sql database.
Package sql implements utils for sql database.
utils/time
Package time is a utils for working with time.
Package time is a utils for working with time.
pkg
database
Package database declaring ClickHouse Cluster and Shard interface.
Package database declaring ClickHouse Cluster and Shard interface.
database/error_wrappers/clickhouse_go
Package clickhouse_go implements error wrapper for 'clickhouse-go'.
Package clickhouse_go implements error wrapper for 'clickhouse-go'.
database/error_wrappers/common
Package common implements common error wrapper, that can be used by others.
Package common implements common error wrapper, that can be used by others.
database/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
database/static
Package static implements connect to static Clickhouse node or cluster.
Package static implements connect to static Clickhouse node or cluster.
rollup
Package rollup implements rollup logic.
Package rollup implements rollup logic.
scheduler
Package scheduler implements ch-rollup scheduler.
Package scheduler implements ch-rollup scheduler.
scheduler/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
types
Package types is a general models for ch-rollup.
Package types is a general models for ch-rollup.

Jump to

Keyboard shortcuts

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