Files
reth/crates/tracing-otlp/Cargo.toml
Kamil Szczygieł 1fbd5a95f8 feat: Support for sending logs through OTLP (#21039)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2026-01-14 21:29:00 +00:00

47 lines
1.1 KiB
TOML

[package]
name = "reth-tracing-otlp"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[dependencies]
# obs
opentelemetry_sdk = { workspace = true, optional = true }
opentelemetry = { workspace = true, optional = true }
opentelemetry-otlp = { workspace = true, optional = true, features = ["grpc-tonic"] }
opentelemetry-semantic-conventions = { workspace = true, optional = true }
opentelemetry-appender-tracing = { workspace = true, optional = true }
tracing-opentelemetry = { workspace = true, optional = true }
tracing-subscriber.workspace = true
tracing.workspace = true
# misc
clap = { workspace = true, features = ["derive"] }
eyre.workspace = true
url.workspace = true
[lints]
workspace = true
[features]
default = ["otlp"]
otlp = [
"opentelemetry",
"opentelemetry_sdk",
"opentelemetry-otlp",
"opentelemetry-semantic-conventions",
"tracing-opentelemetry",
]
otlp-logs = [
"otlp",
"opentelemetry-appender-tracing",
"opentelemetry-otlp/logs",
"opentelemetry_sdk/logs",
]