Skip to content

Develop update#137

Merged
Polliog merged 7 commits intodevelopfrom
main
Feb 15, 2026
Merged

Develop update#137
Polliog merged 7 commits intodevelopfrom
main

Conversation

@Polliog
Copy link
Collaborator

@Polliog Polliog commented Feb 15, 2026

No description provided.

Polliog and others added 7 commits February 14, 2026 23:31
* fix: optimize slow queries on large datasets

remove COUNT(*), use aggregates, reduce time windows, add caching

* test: add comprehensive tests for platform timeline and active issues endpoints

* add @logtide/reservoir, integrate in ingestion and query

* Clickhouse engine, still to migrate most of the api

* migrate all log queries to reservoir abstraction

- add topValues, fromExclusive/toExclusive, getEngineType to reservoir
- migrate query, alerts, dashboard, admin, retention, baseline, ingestion
- conditional engine branching for continuous aggregates and drop_chunks
- keep TimescaleDB aggregate fast paths, ClickHouse falls back to raw

* fix getLogContext upper bound, add reservoir tests

fix after query using new Date() as upper bound which excluded
future-timestamped logs. add topValues and exclusive bounds tests
for both clickhouse and timescale engines.

* optimize reservoir engines, remove clickhouse-fdw

- timescale: UNNEST insert, pg_trgm index, pool error handler, span_id index
- clickhouse: PREWHERE, async_insert, ngrambf_v1, span_id index, IS NOT NULL parity
- both: empty array validation, fromExclusive/toExclusive in count/distinct/topValues
- remove redundant idx_project_time, remove LowCardinality on project_id

* add Clickhouse support and update reservoir initialization logic

* refactor query handling to use DateTime64 and improve token validation

* refactor query handling to use DateTime64 and improve token validation

* add span and trace operations to ClickHouse and Timescale tests

* bump version to 0.6.1 and update CHANGELOG for ClickHouse support and performance improvements

* refactor baseline-calculator to add type annotations for timeseries bucket processing

* add reservoir tests to CI configuration and build steps

* refactor test setup to ensure database existence before running tests

* refactor ClickHouse integration tests to probe availability and skip if not ready

* add reservoir package to Dockerfile and implement initial tests for reservoir functionality
@Polliog Polliog merged commit 7529d34 into develop Feb 15, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant