tracing

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

tracing

Log é span + campos, não println!. Timeouts, health e JSON-on-prod de processo: rust-axum-production. Aqui: API tracing, subscriber, correlação. HTTP layers: tower-http TraceLayer no axum.

Regras inegociáveis

  • info! / warn! / error! / debug! com campos (user_id = %id), não format!("user {}", id) como mensagem única.
  • Spans em fronteiras (request, job, query). #[instrument] em serviços async.
  • Filter por RUST_LOG / EnvFilter. Sem trace de crate barulhento em prod (hyper=info).
  • Sem PII/secrets (authorization, body de login, CPF). production-readiness.
  • Um subscriber no main. Não fmt::init de novo no handler.

Subscriber

Installs
1
First Seen
Sep 8, 2026
tracing — danieldxd/myapp-skills