Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3570bd2
feat(templated_uri): add PathAndQuery::is_templated
evgenyfedorov2 Nov 23, 2026
91cb7d6
fix(http_extensions)!: return no template label for a plain path
evgenyfedorov2 Nov 23, 2026
76dcaba
feat(http_telemetry): add HTTP client telemetry
evgenyfedorov2 Nov 23, 2026
f7972cb
feat(fetch)!: require an observed sink in the client deps
evgenyfedorov2 Nov 23, 2026
1b74191
feat(observed): add bucket boundaries to histograms
evgenyfedorov2 Nov 24, 2026
a214e03
feat(http_telemetry): declare bucket boundaries for request durations
evgenyfedorov2 Nov 24, 2026
5d42e4a
feat(fetch)!: emit request telemetry through http_telemetry
evgenyfedorov2 Nov 24, 2026
8434bf7
feat(http_telemetry): add header fields to client telemetry
evgenyfedorov2 Nov 24, 2026
d745357
feat(http_extensions): implement Default for HttpBody
evgenyfedorov2 Nov 25, 2026
ff9d9e0
feat(http_telemetry): add body logging to client telemetry
evgenyfedorov2 Nov 25, 2026
8698883
feat(fetch_hyper)!: emit connection telemetry as observed events
evgenyfedorov2 Nov 25, 2026
266e5fb
docs(fetch): describe the connection events of the Tokio transport
evgenyfedorov2 Nov 25, 2026
877b3cd
feat(fetch_hyper): add the client attributes to the connection events
evgenyfedorov2 Nov 27, 2026
0ffa8c2
test(http_telemetry): benchmark seven more request paths
evgenyfedorov2 Nov 27, 2026
58833f2
docs(http_telemetry): describe excluded paths, fetch pipelines and pr…
evgenyfedorov2 Nov 27, 2026
eb4a2ac
docs(fetch): list the messages of the connection events
evgenyfedorov2 Nov 27, 2026
b127ea3
feat(fetch)!: replace the meter API with CustomContext::sink
evgenyfedorov2 Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ observed_utils = { path = "crates/observed_utils", default-features = false, ver
ohno = { default-features = false, version = "0.5.4" }
once_cell = { version = "1.21.3", default-features = false }
opentelemetry = { version = "0.33.0", default-features = false }
opentelemetry-semantic-conventions = { version = "0.33.0", default-features = false }
opentelemetry_sdk = { version = "0.33.0", default-features = false }
opool = { version = "0.2.0", default-features = false }
parking_lot = { version = "0.13.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ These are the primary crates built out of this repo:
- [`http_extensions`](./crates/http_extensions/README.md) - Shared HTTP types and extension traits for clients and servers.
- [`http_headers`](./crates/http_headers/README.md) - Fast, ergonomic typed HTTP headers with borrowed views.
- [`http_path_template`](./crates/http_path_template/README.md) - Parser for the google.api.http path-template grammar.
- [`http_telemetry`](./crates/http_telemetry/README.md) - Automatic telemetry collection for incoming HTTP requests.
- [`http_telemetry`](./crates/http_telemetry/README.md) - Automatic telemetry collection for incoming and outgoing HTTP requests.
- [`internity`](./crates/internity/README.md) - Blazingly fast string interning with compact handles, compact storage, and concurrent fill support.
- [`layered`](./crates/layered/README.md) - A foundational service abstraction for building composable, middleware-driven systems.
- [`metabench`](./crates/metabench/README.md) - Run Criterion, Gungraun, Linux perf, Intel VTune, and allocation benchmarks together and combine their reports.
Expand Down
35 changes: 15 additions & 20 deletions crates/fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,20 @@ allowed_external_types = [
"bytesbuf::mem::opaque_memory::OpaqueMemory",
"bytesbuf::mem::has_memory::HasMemory",
"bytesbuf::mem::memory::Memory",
"data_privacy::redaction_engine::RedactionEngine",
"fetch_options::*",
"fetch_tls::*",
"http::*",
"http_extensions::*",
"http_telemetry::*",
"seatbelt_http::*",
"templated_uri::*",
"layered::intercept::InterceptLayer",
"layered::service::Service",
"opentelemetry::common::KeyValue",
"opentelemetry::metrics::meter::Meter",
"opentelemetry::metrics::meter::MeterProvider",
"observed::sink::core::Sink",
"recoverable::Recovery",
"recoverable::RecoveryInfo",
"thread_aware_core::thread_aware::ThreadAware",
"tick::clock::Clock",
"tick::simple_clock::SimpleClock",
"tower_layer::Layer",
]

Expand Down Expand Up @@ -103,14 +100,14 @@ http_compression = { workspace = true, optional = true }
# external
bytes = { workspace = true }
bytesbuf = { workspace = true, features = ["std"] }
data_privacy = { workspace = true }
fetch_hyper = { workspace = true, optional = true }
fetch_options = { workspace = true }
fetch_tls = { workspace = true }
fundle = { workspace = true }
futures = { workspace = true, features = ["std"] }
http = { workspace = true }
http_extensions = { workspace = true }
http_telemetry = { workspace = true }

# tokio runtime transport
hyper-util = { workspace = true, optional = true, features = ["client-legacy"] }
Expand All @@ -121,27 +118,22 @@ layered = { workspace = true, features = [

# TLS related crates
native-tls = { workspace = true, features = ["alpn"], optional = true }
observed = { workspace = true }
ohno.workspace = true
opentelemetry = { workspace = true, features = ["futures", "metrics"] }
opentelemetry-semantic-conventions = { workspace = true, features = [
"semconv_experimental",
] }
performables = { workspace = true }
rustls = { workspace = true, features = [
"tls12",
"std",
], default-features = false, optional = true }
rustls-platform-verifier = { workspace = true, optional = true }
seatbelt = { workspace = true, features = ["timeout", "retry", "breaker", "hedging", "logs", "metrics"] }
seatbelt = { workspace = true, features = ["timeout", "retry", "breaker", "hedging", "logs"] }
seatbelt_http = { workspace = true, features = ["timeout", "retry", "breaker", "hedging"] }
smallvec = { workspace = true }
templated_uri = { workspace = true, features = ["uuid"] }
thread_aware = { workspace = true, features = ["derive", "std"] }
tick = { workspace = true }
tokio = { workspace = true, features = ["rt", "net"], optional = true }
# `hyper-util`'s `HttpConnector` is a `tower` service, so driving it needs the trait.
tower-service = { workspace = true, optional = true }
tracing = { workspace = true }

[dev-dependencies]

Expand Down Expand Up @@ -170,13 +162,8 @@ http_extensions = { path = "../http_extensions", features = ["test-util", "json"
hyper-util = { workspace = true, features = ["tokio", "http1", "http2", "client-legacy"] }
insta = { workspace = true }
native-tls = { workspace = true, features = ["alpn"] }
observed_destination_core = { workspace = true }
observed_destination_stdout = { workspace = true }
observed_testing = { path = "../observed_testing" }
ohno = { workspace = true, features = ["test-util", "app-err"] }
opentelemetry_sdk = { workspace = true, features = [
"metrics",
"testing",
], default-features = false }
rustls = { workspace = true, features = [
"tls12",
"std",
Expand Down Expand Up @@ -304,7 +291,7 @@ name = "requests"
required-features = ["tokio", "rustls", "test-util"]

[[test]]
name = "telemetry_scope"
name = "connection_telemetry"
required-features = ["tokio", "rustls", "test-util"]

[[test]]
Expand All @@ -331,6 +318,14 @@ required-features = ["test-util"]
name = "decompression"
required-features = ["test-util", "compression-all"]

[[test]]
name = "sink"
required-features = ["test-util"]

[[test]]
name = "request_telemetry"
required-features = ["test-util"]

# >>> anvil-managed: anvil-lints
[lints]
workspace = true
Expand Down
Loading
Loading