Skip to content

Commit

Permalink
add module doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmith3197 committed Jun 22, 2023
1 parent b6154ff commit 18b208b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/sinks/clickhouse/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//! The Clickhouse [`vector_core::sink::VectorSink`]
//!
//! This module contains the [`vector_core::sink::VectorSink`] instance that is responsible for
//! taking a stream of [`vector_core::event::Event`] instances and forwarding them to Clickhouse.
//!
//! Events are sent to Clickhouse using the HTTP interface with a query of the following structure:
//! `INSERT INTO my_db.my_table FORMAT JSONEachRow`. The event payload is encoded as new-line
//! delimited JSON.
//!
//! This sink only supports logs for now but could support metrics and traces as well in the future.
mod config;
#[cfg(all(test, feature = "clickhouse-integration-tests"))]
mod integration_tests;
Expand Down

0 comments on commit 18b208b

Please sign in to comment.