cognee-telemetry 0.1.3

Opt-in product-analytics telemetry for the cognee AI-memory pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Noop (`feature = "telemetry"` off) implementation of
//! `send_telemetry`. Compiled when the `telemetry` cargo feature is
//! disabled.
//!
//! The entry point becomes a no-op that emits a single
//! `tracing::debug!` line. The caller in `lib.rs` discards the
//! arguments before invoking us, so this function takes none —
//! avoiding any reference to `serde_json::Value` (which is gated on
//! the `telemetry` feature). Identity helpers in [`crate::ids`]
//! return empty strings.

pub(crate) fn send_telemetry_impl() {
    tracing::debug!(
        target: "cognee.telemetry",
        "send_telemetry called but telemetry feature disabled at compile time"
    );
}