TracekitTracekit
Rust

Rocket Observability with TraceKit

TraceKit works with any OpenTelemetry-compatible application -- including Rocket. Point your Rust OTel SDK at TraceKit's OTLP endpoint and get distributed tracing, session replay, and alerts for your type-safe Rust web application.

Why Rocket Needs Better Observability

Common debugging challenges that traditional monitoring tools miss.

Fairing Chain Debugging

Rocket fairings execute in attach order during launch, request, and response phases. When a fairing fails or adds unexpected latency, debugging the chain requires stepping through each fairing manually. TraceKit traces fairing execution so you can see exactly which fairing is slow or failing.

Request Guard Composition

Rocket's request guards provide type-safe request validation, but when guards are composed (guard chains), a failure in any guard short-circuits the chain with a generic error. TraceKit traces guard evaluation so you can see which guard rejected the request and why.

Managed State Access Patterns

Rocket's State<T> provides shared state across handlers, but accessing managed state in async handlers can create contention patterns that are invisible without tracing. TraceKit shows state access timing so you can detect lock contention and optimize concurrent access.

Get Started in Minutes

Add TraceKit to your Rocket project with a few lines of code.

rocket-setup.rsrust
// Cargo.toml
// opentelemetry = "0.22"
// opentelemetry-otlp = "0.15"
// tracing-opentelemetry = "0.23"

use opentelemetry_otlp::WithExportConfig;
use rocket::{launch, routes, get};

let exporter = opentelemetry_otlp::new_exporter()
    .tonic()
    .with_endpoint("https://otel.tracekit.dev:4317");

// Attach as a Rocket fairing for automatic
// request/response tracing
#[launch]
fn rocket() -> _ {
    rocket::build()
        .attach(TracingFairing::new(exporter))
        .mount("/", routes![index])
}

What You Get with TraceKit

Everything you need to monitor Rocket in production.

Distributed Tracing

Trace requests through Rocket fairings, request guards, and handler chains. Full visibility into your type-safe Rust web application via OpenTelemetry.

Live Code Monitoring

Monitor your Rocket application in real time. Track request routing, guard evaluation, and response times with TraceKit's dashboard -- no Rust-specific SDK required.

Simple Pricing

$29/month flat for your entire Rust application. No per-instance fees, no per-route charges -- one price for complete observability of your Rocket service.

Ready to debug Rocket in production?

Start free and see distributed traces, live breakpoints, and error tracking in minutes -- no credit card required.