[Feature] Agent Prometheus Endpoint #645
Replies: 8 comments 9 replies
-
Some initial thoughts, some of these will likely be easier to implement than others. I may have missed some but these are what come to mind on a first pass
|
Beta Was this translation helpful? Give feedback.
-
Prometheus Crate: https://docs.rs/prometheus/0.12.0/prometheus/ Helpful Links/Examples: |
Beta Was this translation helpful? Give feedback.
-
here's the implementation sketch
|
Beta Was this translation helpful? Give feedback.
-
Metric numbers are uint64 or f64, according to the protobuf spec, wallet addresses are OOB. |
Beta Was this translation helpful? Give feedback.
-
metric namingUsing prometheus terminology, metrics have a standard format of |
Beta Was this translation helpful? Give feedback.
-
datatype compatibilityprometheus only supports double and uint64, excluding in full generality wallet balance from being a metric datapoint. should we truncate to 64 bits? convert to float? |
Beta Was this translation helpful? Give feedback.
-
@prestwich could you elaborate how you see the wallet_balance gauge working? Specifically speccing out what parts of ethers we'd use to get this functionality. This is the major feature I am looking forward to currently. |
Beta Was this translation helpful? Give feedback.
-
New Metrics:
|
Beta Was this translation helpful? Give feedback.
-
There has been a request that we implement a Prometheus endpoint in the Agents, this is a thread to enumerate the metrics we should include as well as implementation details like crate dependencies.
Beta Was this translation helpful? Give feedback.
All reactions