Skip to content

Commit d160e24

Browse files
authored
chore: release 0.3.1 (#254)
1 parent a6b4d1f commit d160e24

9 files changed

Lines changed: 42 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.1](https://github.com/dial9-rs/dial9-tokio-telemetry/compare/dial9-tokio-telemetry-v0.3.0...dial9-tokio-telemetry-v0.3.1) - 2026-04-19
11+
12+
### Added
13+
14+
- **Tracing layer** ([#252](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/252)): `Dial9TokioLayer` records `tracing` span enter/exit events, including field values, into the trace, showing what happened inside each poll. Enable with the `tracing-layer` feature flag.
15+
16+
The viewer (`dial9-viewer serve`) shows spans in a dedicated panel with filtering, percentile ranking, and click-to-highlight. The agent analysis toolkit (`dial9-viewer agents`) includes span correlation recipes and automated span checks in the red-flags scan.
17+
18+
```rust,ignore
19+
use dial9_tokio_telemetry::tracing_layer::Dial9TokioLayer;
20+
use tracing_subscriber::prelude::*;
21+
22+
tracing_subscriber::registry()
23+
.with(Dial9TokioLayer::new().with_filter(
24+
tracing_subscriber::filter::Targets::new()
25+
.with_target("my_app", tracing::Level::TRACE)
26+
.with_default(tracing::Level::ERROR),
27+
))
28+
.init();
29+
```
30+
31+
Tracing support means you can attach a request ID or other context to spans via `#[instrument(fields(request_id = %id))]` and then search for specific requests in the trace. You can also see what's happening inside long polls: if a single poll contains many small operations without yielding, the span breakdown shows exactly where the time went.
32+
33+
Standard `tracing-subscriber` filtering rules apply. Without a filter, libraries like the AWS SDK will flood the trace with internal spans. The preceding captures only spans from `my_app`.
34+
1035
## [0.3.0](https://github.com/dial9-rs/dial9-tokio-telemetry/compare/dial9-tokio-telemetry-v0.2.0...dial9-tokio-telemetry-v0.3.0) - 2026-04-17
1136

1237
Big release. The setup story is much better, there's support for tracing multiple runtimes, you can emit your own events into the trace, and the viewer is its own crate now.

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ repository = "https://github.com/dial9-rs/dial9-tokio-telemetry"
2020

2121
[workspace.dependencies]
2222
libc = "0.2"
23-
dial9-perf-self-profile = { version = "0.3.0", path = "perf-self-profile" }
24-
dial9-trace-format = { version = "0.3.0", path = "dial9-trace-format" }
25-
dial9-trace-format-derive = { version = "0.3.0", path = "dial9-trace-format-derive" }
26-
dial9-macro = { version = "0.3.0", path = "dial9-macro" }
23+
dial9-perf-self-profile = { version = "0.3.1", path = "perf-self-profile" }
24+
dial9-trace-format = { version = "0.3.1", path = "dial9-trace-format" }
25+
dial9-trace-format-derive = { version = "0.3.1", path = "dial9-trace-format-derive" }
26+
dial9-macro = { version = "0.3.1", path = "dial9-macro" }
2727
assert2 = "0.4"
2828

2929
[profile.release]

dial9-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-macro"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

dial9-tokio-telemetry/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-tokio-telemetry"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
@@ -127,4 +127,4 @@ harness = false
127127
[[bench]]
128128
name = "tracing_layer_bench"
129129
harness = false
130-
required-features = ["tracing-layer"]
130+
required-features = ["tracing-layer"]

dial9-trace-format-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-trace-format-derive"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

dial9-trace-format/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-trace-format"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

dial9-viewer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-viewer"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

perf-self-profile/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-perf-self-profile"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition.workspace = true
55
repository.workspace = true
66
description = "Minimal self-profiling via Linux perf_event_open with frame-pointer-based stack traces"

0 commit comments

Comments
 (0)