Skip to content

Commit

Permalink
Query prometheus metrics from benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-ds committed Mar 5, 2025
1 parent 99e35bc commit e14cf17
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 19 deletions.
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ oneshot = "0.1.6"
port-selector = "0.1.6"
prettyplease = "0.2.16"
prometheus = "0.13.3"
prometheus-parse = "0.2.5"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0"
proptest = { version = "1.6.0", default-features = false, features = ["alloc"] }
Expand Down
6 changes: 6 additions & 0 deletions linera-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ benchmark = [
"dep:tokio-util",
"dep:crossbeam-channel",
"dep:num-format",
"dep:reqwest",
"dep:anyhow",
"dep:prometheus-parse",
]
wasmer = [
"linera-core/wasmer",
Expand Down Expand Up @@ -56,6 +59,7 @@ indexed-db = ["web", "indexed_db_futures", "serde-wasm-bindgen", "gloo-utils"]
web-default = ["web", "wasmer", "indexed-db"]

[dependencies]
anyhow = { workspace = true, optional = true }
async-trait.workspace = true
bcs.workspace = true
cfg-if.workspace = true
Expand All @@ -76,7 +80,9 @@ linera-storage-service = { workspace = true, optional = true }
linera-version.workspace = true
linera-views.workspace = true
num-format = { workspace = true, optional = true }
prometheus-parse = { workspace = true, optional = true }
rand.workspace = true
reqwest = { workspace = true, optional = true }
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
Expand Down
Loading

0 comments on commit e14cf17

Please sign in to comment.