rust-tracing

Instrument Rust applications with tracing spans and structured logging for observability.

1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/gar-ai/mallorn --skill rust-tracing-gar-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-tracing
Source: https://github.com/gar-ai/mallorn/tree/main/.claude/skills/rust-observability-tracing
Command: npx skills add https://github.com/gar-ai/mallorn --skill rust-tracing-gar-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Instrument Rust applications with tracing spans and structured logging to improve observability.

Core Features & Use Cases

  • Tracing spans for function boundaries and async tasks
  • Structured logging with fields and metadata
  • Easy integration with the tracing ecosystem (subscriber, instrumentation)

Quick Start

Initialize a global tracer and start emitting spans in your application to enable observability.

Frequently Asked Questions about rust-tracing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument Rust applications with tracing spans for observability?

Instrument Rust applications with tracing spans by initializing a global tracer and emitting spans across function boundaries and async tasks. This provides runtime visibility and structured telemetry for synchronous and asynchronous tasks.

How do I configure subscribers and env filters for Rust structured logging?

Configure subscribers and env filters to enable structured logging with fields and metadata in Rust. This setup allows you to control log levels and capture contextual data across the tracing ecosystem.

Can I use tracing instrumentation for async tasks in Rust?

Tracing instrumentation supports async tasks in Rust by attaching spans to asynchronous function boundaries. This allows you to trace execution flow and measure performance across concurrent operations.

What is the best way to add structured telemetry to a Rust codebase?

The best way to add structured telemetry is integrating the tracing ecosystem to emit spans and structured logs. This approach captures metadata and fields for runtime visibility and performance analysis.

Does Rust tracing work with synchronous code or only async tasks?

Rust tracing works with both synchronous code and asynchronous tasks. It instruments function boundaries across both execution models to provide comprehensive runtime visibility and performance analysis.