Skip to content

Commit

Permalink
feat(metrics)
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs committed Jun 5, 2024
1 parent 3e9ce3c commit 50818c1
Show file tree
Hide file tree
Showing 9 changed files with 831 additions and 2 deletions.
89 changes: 89 additions & 0 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [ "crates/chainio/clients/avsregistry/",
"crates/metrics/collectors/rpc_calls/",
"crates/services/avsregistry/",
"crates/services/bls_aggregation/",
"crates/metrics/metrics-derive",
"crates/services/operatorsinfo/",
"crates/types/",
"crates/metrics/",
Expand Down Expand Up @@ -44,6 +45,10 @@ rustdoc.all = "warn"
ethers = "2.0.14"
ark-ff = "0.4.0"
eyre = "0.6.12"
syn = "2.0"
quote = "1.0"
metrics = "0.21.1"
once_cell = "1.17"
reth = {git = "https://github.com/paradigmxyz/reth"}
prometheus-client = "0.22.2"
bn254 = {git = "https://github.com/sedaprotocol/bn254"}
Expand All @@ -64,6 +69,7 @@ eigen-metrics-collectors-rpc-calls = {path = "crates/metrics/collectors/rpc_call
eigen-services-avsregistry = {path = "crates/services/avsregistry"}
eigen-services-bls_aggregation = {path = "crates/services/bls_aggregation"}
eigen-services-operatorsinfo = {path = "crates/services/operatorsinfo"}
eigen-metrics-derive = {path = "crates/metrics/metrics-derive"}
info-operator-service = {path = "examples/info-operator-service"}
tokio = {version = "1.37.0" , features = ["test-util", "full","sync"] }
futures-util = "0.3.30"
Expand Down
7 changes: 6 additions & 1 deletion crates/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ repository.workspace = true
ark-bn254 = "0.4.0"
ark-ff.workspace = true
eigen-crypto-bls.workspace = true
eigen-crypto-bn254.workspace = true
eigen-crypto-bn254.workspace = true
eigen-metrics-derive.workspace = true
metrics.workspace = true

#prometheus
prometheus = "0.13.4"
26 changes: 26 additions & 0 deletions crates/metrics/metrics-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "eigen-metrics-derive"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true


[lib]
proc-macro = true

[dependencies]

#prometheus
prometheus = "0.13.4"

proc-macro2 = "1.0"

syn = { workspace = true, features = ["extra-traits"] }
quote.workspace = true
regex = "1.6.0"
once_cell.workspace = true

[dev-dependencies]
metrics.workspace = true
trybuild = "1.0"
Loading

0 comments on commit 50818c1

Please sign in to comment.