Skip to content

Commit 1146460

Browse files
greged93frisitano
andauthored
feat: database metrics (#379)
* feat: update retry mechanism using tower::Service * feat: add retry metrics * fix: lints * feat: hide abstractions and use concrete type * chore: cleaning docs + test-utils * fix: benchmark * fix: switch to walltime mode * feat: answer comments * fix: revert codspeed * feat: get_n_l2_block_data_hint * fix:get_n_l2_block_data_hint sql query * feat: database metrics * fix: incorrect function call * fix: tests * fix: doc lints * feat: add update_skipped_l1_messages --------- Co-authored-by: frisitano <[email protected]>
1 parent 24582e4 commit 1146460

File tree

6 files changed

+361
-101
lines changed

6 files changed

+361
-101
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ reqwest = "0.12"
228228
serde = { version = "1.0" }
229229
serde_json = { version = "1.0" }
230230
sea-orm = { version = "1.1.0" }
231+
strum = "0.27.1"
231232
thiserror = "2.0"
232233
tokio = { version = "1.39", default-features = false }
233234
tokio-stream = { version = "0.1", default-features = false }

crates/chain-orchestrator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ futures.workspace = true
5454
metrics.workspace = true
5555
metrics-derive.workspace = true
5656
serde = { workspace = true, optional = true, features = ["derive"] }
57-
strum = "0.27.1"
57+
strum.workspace = true
5858
thiserror.workspace = true
5959
tokio = { workspace = true, features = ["full"] }
6060
tokio-stream.workspace = true

crates/database/db/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metrics-derive.workspace = true
3030
sea-orm = { workspace = true, features = ["sqlx-sqlite", "runtime-tokio-native-tls", "macros"] }
3131
serde.workspace = true
3232
serde_json.workspace = true
33+
strum.workspace = true
3334
tempfile = { version = "3.20.0", optional = true }
3435
thiserror.workspace = true
3536
tokio = { workspace = true, features = ["macros", "sync"] }

0 commit comments

Comments
 (0)