Skip to content

Commit 0edf0b4

Browse files
committed
feat: add an OpenTelemetry layer
1 parent dfecfbf commit 0edf0b4

File tree

4 files changed

+166
-32
lines changed

4 files changed

+166
-32
lines changed

Cargo.lock

+130-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ incremental = false
4242
[workspace.dependencies]
4343
reth = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4444
reth-chain-state = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
45+
reth-cli-commands = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4546
reth-cli-util = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4647
reth-db = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4748
reth-db-common = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4849
reth-errors = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
4950
reth-payload-builder = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
5051
reth-node-api = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
5152
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
53+
reth-tracing = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
5254
reth-trie = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
5355
reth-trie-parallel = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }
5456
reth-basic-payload-builder = { git = "https://github.com/paradigmxyz/reth", rev = "bc9722d9e2b880bda36eba367a05e6abc7f8cc9e" }

crates/op-rbuilder/Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ reth-optimism-evm.workspace = true
1717
reth-optimism-consensus.workspace = true
1818
reth-optimism-primitives.workspace = true
1919
reth-optimism-txpool.workspace = true
20+
reth-cli-commands.workspace = true
2021
reth-cli-util.workspace = true
2122
reth-payload-primitives.workspace = true
2223
reth-evm.workspace = true
@@ -33,6 +34,7 @@ reth-execution-types.workspace = true
3334
reth-metrics.workspace = true
3435
reth-provider.workspace = true
3536
reth-revm.workspace = true
37+
reth-tracing.workspace = true
3638
reth-trie.workspace = true
3739
reth-rpc-layer.workspace = true
3840
reth-payload-builder-primitives.workspace = true
@@ -91,6 +93,10 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
9193

9294
# `flashblocks` branch
9395
rollup-boost = { git = "http://github.com/flashbots/rollup-boost", rev = "269f2b1da7dd8e00a7ee8944a3e7516b4232dfed" }
96+
opentelemetry_sdk = "0.29.0"
97+
tracing-opentelemetry = "0.30.0"
98+
opentelemetry = "0.29.1"
99+
opentelemetry-otlp = { version = "0.29.0", features = ["grpc-tonic"] }
94100

95101
[target.'cfg(unix)'.dependencies]
96102
tikv-jemallocator = { version = "0.6", optional = true }

0 commit comments

Comments
 (0)