hyperlane-plugin-tracing 22.13.0

A lock-free W3C Trace Context (traceparent/tracestate), X-Request-Id, Server-Timing, and pluggable SpanExporter distributed tracing plugin for the Hyperlane framework.
Documentation
<div align="center">

# hyperlane-plugin-tracing

**Distributed Trace Context & Request-ID Plugin**

[![crates.io](https://flat.badgen.net/crates/v/hyperlane-plugin-tracing)](https://crates.io/crates/hyperlane-plugin-tracing)
[![docs.rs](https://img.shields.io/docsrs/hyperlane-plugin-tracing?style=flat-square)](https://docs.rs/hyperlane-plugin-tracing)
[![Rust 2024](https://img.shields.io/badge/edition-2024-orange.svg?style=flat-square)](https://www.rust-lang.org)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](../../LICENSE)

[Workspace Overview](../../README.md) · [API Docs](https://docs.rs/hyperlane-plugin-tracing/latest/) · [Agent Engineering Rules](../../AGENTS.md)

</div>

---

## Overview

Opt-in W3C `traceparent` propagation, correlation request-ID generation, and per-request span lifecycle hooks.

This crate is a member of the [`hyperlane`](../../README.md) unified Rust 2024 workspace. All plugin crates are opt-in and transparent (`Status::Continue`) when unconfigured.

## Responsibilities & Module Layout

- `struct` / `trait` / `impl` — W3C trace parser/injector and `TracingHook`

## Installation

```sh
cargo add hyperlane-plugin-tracing
```

## Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

```sh
cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-tracing --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-tracing --all-features
```

## Documentation & Governance

- Update this `README.md` alongside any public API, plugin contract, or module-boundary change per [`../../AGENTS.md`]../../AGENTS.md.
- Project standards and release workflows live in [`../../.agents/skills/hyperlane/SKILL.md`]../../.agents/skills/hyperlane/SKILL.md.

## License

This project is licensed under the MIT License. See the [LICENSE](../../LICENSE) file for details.

## Contact

For inquiries, please contact the author at [root@devhub.vip](mailto:root@devhub.vip).