Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 23 additions & 1 deletion Cargo.lock

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

3 changes: 2 additions & 1 deletion THIRD-PARTY-LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies (tests, benchmarks) are excluded because they are not shipped.
| License | Crates |
| --- | --- |
| `Apache-2.0` | 336 |
| `MIT` | 71 |
| `MIT` | 72 |
| `Unicode-3.0` | 19 |
| `BSD-3-Clause` | 8 |
| `ISC` | 4 |
Expand Down Expand Up @@ -8506,6 +8506,7 @@ Used by:

- `tracing-attributes` 0.1.31 — <https://github.com/tokio-rs/tracing>
- `tracing-core` 0.1.36 — <https://github.com/tokio-rs/tracing>
- `tracing-opentelemetry` 0.33.0 — <https://github.com/tokio-rs/tracing-opentelemetry>
- `tracing-subscriber` 0.3.23 — <https://github.com/tokio-rs/tracing>
- `tracing` 0.1.44 — <https://github.com/tokio-rs/tracing>

Expand Down
25 changes: 15 additions & 10 deletions crates/ourios-telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,26 @@ path = "src/lib.rs"
# The OTel metrics API. Library crates depend only on this (via
# `global::meter`); this crate is the one place the heavy SDK +
# exporter live (RFC 0001 §6.8 "Export architecture").
opentelemetry = { version = "0.32", default-features = false, features = ["metrics"] }
# The SDK: MeterProvider + periodic reader (metrics) and LoggerProvider +
opentelemetry = { version = "0.32", default-features = false, features = ["metrics", "trace"] }
# The SDK: MeterProvider + periodic reader (metrics), LoggerProvider +
# batch processor (logs — the CLAUDE.md §6.3 dogfooding path: Ourios's
# own logs ship as the OTel Logs signal). `rt-tokio` drives the periodic
# export on the tokio runtime the server already runs.
opentelemetry_sdk = { version = "0.32", default-features = false, features = ["metrics", "logs", "rt-tokio"] }
# The OTLP push exporter over gRPC (tonic), both signals. This is the
# own logs ship as the OTel Logs signal), and TracerProvider + batch span
# processor (traces — RFC 0038, request-scoped self-tracing). `rt-tokio`
# drives the periodic/batch export on the tokio runtime the server runs.
opentelemetry_sdk = { version = "0.32", default-features = false, features = ["metrics", "logs", "trace", "rt-tokio"] }
# The OTLP push exporter over gRPC (tonic), all three signals. This is the
# export path pinned by the §6.8 amendment — push over OTLP, not a
# scrape endpoint (and for logs, not plain stderr).
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["metrics", "logs", "grpc-tonic"] }
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["metrics", "logs", "trace", "grpc-tonic"] }
# The OTel-recommended Rust logging bridge: `tracing` events become OTel
# log records through this appender (Rust has no end-user OTel logging
# API; `tracing` is the front-end).
opentelemetry-appender-tracing = { version = "0.32", default-features = false }
# The subscriber stack the bridge plugs into: `registry` composes layers,
# The OTel-recommended Rust *tracing* bridge (RFC 0038): `tracing` spans
# become OTel spans through this layer, and the appender above then stamps
# the active span's trace/span ids onto every log record it emits.
tracing-opentelemetry = { version = "0.33", default-features = false }
# The subscriber stack the bridges plug into: `registry` composes layers,
# `env-filter` gives RUST_LOG-style filtering (and the loop guard muting
# the exporter's own tonic/hyper internals), `fmt` is the human-readable
# stderr copy.
Expand All @@ -43,9 +48,9 @@ tracing-subscriber = { version = "0.3", default-features = false, features = ["r
testing = ["opentelemetry_sdk/testing"]

[dev-dependencies]
opentelemetry_sdk = { version = "=0.32.1", default-features = false, features = ["metrics", "testing"] }
opentelemetry_sdk = { version = "=0.32.1", default-features = false, features = ["metrics", "logs", "trace", "testing"] }
tokio = { version = "=1.53.0", default-features = false, features = ["rt", "rt-multi-thread", "macros"] }
# Emit `tracing` events in the bridge test.
# Emit `tracing` events + spans in the bridge / correlation tests.
tracing = { version = "=0.1.44", default-features = false, features = ["std"] }

[lints]
Expand Down
Loading