Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

926 B
Raw Blame
//! ClickHouse layer: scan planning, row decoding, query attribution, the streaming scanners
//! (behavioral events and person rows), and the client builder. Depends only on `domain` and
//! `config` (plus the `clickhouse` crate); never on `store` or `kafka`.

pub mod client;
pub mod credential;
pub mod log_comment;
pub mod materialized;
pub mod person_scanner;
pub mod person_sql;
pub mod resource;
pub mod row;
pub mod scan_volume;
pub mod scanner;
pub mod sql;

pub use client::{
    build_client, ClickHouseClient, ClickHouseClientError, ClickHouseEndpoint,
    ClickHouseJoinAlgorithm,
};
pub use credential::ClickHouseCredential;
pub use log_comment::{ScanLogComment, LOG_COMMENT_OPTION};
pub use person_scanner::{PersonRow, PersonScanError, PersonScanner};
pub use person_sql::PersonScanSpec;
pub use resource::ResourceError;
pub use scan_volume::ScanKind;
pub use scanner::{ChunkScanner, ScanError, ScanSkipReason};