Crate telemetry_kit

Crate telemetry_kit 

Source
Expand description

§telemetry-kit

Privacy-first, batteries-included telemetry for Rust applications.

§Quick Start

use telemetry_kit::prelude::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Initialize telemetry with sensible defaults
    let _guard = telemetry_kit::init()
        .service_name("my-app")
        .init()?;
     
    // Your application code here
     
    Ok(())
}

§Features

  • Zero-config: Sensible defaults, minimal boilerplate
  • Privacy-first: Built-in anonymization and GDPR compliance
  • CLI-optimized: Perfect for command-line applications
  • Self-hostable: Simple collection server included

§Current Status

⚠️ This is version 0.0.1 - a placeholder release for crate reservation.

The actual implementation is under development. See the GitHub repository for progress.

First usable release (v0.1.0) is planned for Q1 2025.

Modules§

prelude
Prelude module for convenient imports Commonly used imports for telemetry-kit

Structs§

TelemetryBuilder
Builder for configuring telemetry
TelemetryGuard
Guard that ensures telemetry is properly shut down

Enums§

TelemetryError
Errors that can occur during telemetry operations

Functions§

init
Initialize telemetry for your application