Skip to content

Commit

Permalink
Make metrics work
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Feb 5, 2021
1 parent 1eaee3f commit 2ad5c20
Show file tree
Hide file tree
Showing 9 changed files with 133 additions and 171 deletions.
284 changes: 122 additions & 162 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/bin/zksync_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ reqwest = { version = "0.10", features = ["blocking", "json"] }
tiny-keccak = "1.4.2"
async-trait = "0.1"
jsonwebtoken = "7"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
lru-cache = "0.1.2"
once_cell = "1.4"
regex = "1"
Expand Down
2 changes: 1 addition & 1 deletion core/bin/zksync_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ethabi = "12.0.0"
web3 = "0.13.0"
serde = "1.0.90"
serde_json = "1.0.0"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
itertools = "0.9.0"

vlog = { path = "../../lib/vlog", version = "1.0" }
Expand Down
2 changes: 1 addition & 1 deletion core/bin/zksync_eth_sender/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ethabi = "12.0.0"
web3 = "0.13.0"
serde = "1.0.90"
serde_json = "1.0.0"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
vlog = { path = "../../lib/vlog", version = "1.0" }

tokio = { version = "0.2", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion core/bin/zksync_witness_generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tracing = "0.1.22"

serde = "1.0.90"
serde_json = "1.0.0"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
tokio = { version = "0.2", features = ["full"] }
futures = "0.3"
actix-rt = "1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion core/lib/eth_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ hex = "0.4"

anyhow = "1.0"
tokio = { version = "0.2", features = ["full"] }
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
6 changes: 4 additions & 2 deletions core/lib/prometheus_exporter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ futures = "0.3"
ctrlc = { version = "3.1", features = ["termination"] }
anyhow = "1.0"

metrics = "0.13"
metrics-exporter-prometheus = "0.1"
metrics = "=0.13.0-alpha.8"
metrics-exporter-prometheus = "=0.1.0-alpha.7"
metrics-macros = "=0.1.0-alpha.5"
metrics-util = "=0.4.0-alpha.6"
2 changes: 1 addition & 1 deletion core/lib/state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zksync_types = { path = "../types", version = "1.0" }
num = { version = "0.3.1", features = ["serde"] }
vlog = { path = "../../lib/vlog", version = "1.0" }
anyhow = "1.0"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
serde_json = "1.0"


Expand Down
2 changes: 1 addition & 1 deletion core/lib/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ anyhow = "1.0"
lazy_static = "1.4.0"
itertools = "0.8"
hex = "0.4"
metrics = "=0.13.0"
metrics = "=0.13.0-alpha.8"
parity-crypto = { version = "0.6.2", features = ["publickey"] }

vlog = { path = "../../lib/vlog", version = "1.0" }
Expand Down

0 comments on commit 2ad5c20

Please sign in to comment.