Crate cratepulse

Crate cratepulse 

Source
Expand description

§cratepulse

Rust SDK for libpulse - devtools monitoring and observability platform.

§Features

  • Lightweight metric collection
  • Performance monitoring
  • Custom event tracking
  • Async/sync support

§Quick Start

use cratepulse::{Client, Event, EventType};

let client = Client::new("your-project-id");
 
let event = Event::new(EventType::Custom("build_completed".to_string()))
    .with_metadata("duration_ms", "1234")
    .with_metadata("status", "success");

// Sync usage
client.track(event);

Modules§

async_client
Async client implementation

Structs§

Client
Main client for interacting with libpulse backend
Event
An event to be tracked

Enums§

EventType
Event types that can be tracked