Rust Framework

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.

Rocket observability challenges

Common problems that Rocket developers face in production -- and how TraceKit solves them.

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 OpenTelemetry instrumentation to your Rocket app with a few lines of code.

// 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])
}

See the full Rust integration guide

What you get with TraceKit

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 add observability to Rocket?

Get started with TraceKit in under 5 minutes. $29/month flat -- no per-host fees, no surprises.