Skip to content

Commit cd9684c

Browse files
authored
feat: add a feature to activate otlp telemetry (#31)
1 parent 7e24aba commit cd9684c

File tree

4 files changed

+206
-38
lines changed

4 files changed

+206
-38
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ incremental = false
4343
reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
4444
reth-chain-state = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
4545
reth-cli = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
46+
reth-cli-commands = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
4647
reth-cli-util = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
4748
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
4849
reth-db-common = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
@@ -77,6 +78,7 @@ reth-network-peers = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.
7778
reth-testing-utils = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
7879
reth-node-builder = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
7980
reth-rpc-eth-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
81+
reth-tracing-otlp = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }
8082

8183
# reth optimism
8284
reth-optimism-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.7" }

crates/op-rbuilder/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ reth-optimism-consensus.workspace = true
1818
reth-optimism-primitives.workspace = true
1919
reth-optimism-txpool.workspace = true
2020
reth-cli.workspace = true
21+
reth-cli-commands.workspace = true
2122
reth-cli-util.workspace = true
23+
reth-db.workspace = true
2224
reth-payload-primitives.workspace = true
2325
reth-evm.workspace = true
2426
reth-exex.workspace = true
@@ -45,6 +47,7 @@ reth-optimism-forks.workspace = true
4547
reth-node-builder.workspace = true
4648
reth-rpc-eth-types.workspace = true
4749
reth-optimism-rpc.workspace = true
50+
reth-tracing-otlp = { workspace = true, optional = true }
4851

4952
alloy-primitives.workspace = true
5053
alloy-consensus.workspace = true
@@ -143,6 +146,8 @@ testing = []
143146

144147
interop = []
145148

149+
telemetry = ["reth-tracing-otlp"]
150+
146151
[[bin]]
147152
name = "op-rbuilder"
148153
path = "src/main.rs"

0 commit comments

Comments
 (0)