Skip to content

Commit

Permalink
feat: metrics exporter (#33)
Browse files Browse the repository at this point in the history
* upgrade zktrie

* noisy log

* fix typo

* add chunk mode

* add chunk mode to binary tool

* disable key cache

* fix unwrap

* build once

* clippy

* add tracker

* add tracker

* fix some order

* fix clippy

* add metrics exporter

* some adjustment

* some adjustment

* typo

* adjust range based on super2

* fix

* fix

* fix

* update Cargo.lock

* fix clippy

* add new traces

* remove aggregator unit test

* fix

* suppress measure log

* refactor
  • Loading branch information
lightsing authored Aug 30, 2024
1 parent b105f96 commit b7c15f4
Show file tree
Hide file tree
Showing 17 changed files with 2,081 additions and 296 deletions.
717 changes: 557 additions & 160 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ url = { version = "2.5", optional = true }
# optional dependencies
csv = { version = "1.3", optional = true }
ctor = { version = "0.2", optional = true }
hyper = { version = "1.4", features = ["server", "http1"], optional = true }
hyper-util = { version = "0.1", features = ["tokio"], optional = true }
http-body-util = { version = "0.1", optional = true }
once_cell = { version = "1.19", optional = true }
prometheus-client = { version = "0.22", optional = true }
pprof = { version = "0.13", features = ["flamegraph"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = true }
Expand All @@ -61,6 +66,8 @@ features = [
]

[dev-dependencies]
rand = "0.8"
reqwest = "0.12"
serde = { version = "1.0" }
serde_json = { version = "1.0" }

Expand Down Expand Up @@ -93,6 +100,7 @@ profiling = ["pprof"]
debug-account = ["csv", "revm/serde"]
debug-storage = ["csv", "revm/serde"]
dev = ["ctor", "tracing", "tracing-subscriber"]
metrics = ["hyper", "hyper-util", "http-body-util", "once_cell", "prometheus-client", "tokio", "tokio/macros", "tokio/signal"]

# sp1 related
sp1 = []
Expand Down
Loading

0 comments on commit b7c15f4

Please sign in to comment.