-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
77 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
use metrics::Counter; | ||
use metrics_derive::Metrics; | ||
|
||
#[derive(Metrics)] | ||
#[metrics(scope = "metrics_custom")] | ||
pub struct ServerMetrics { | ||
#[metric(describe = "Count of fork_choice_updated_v3 calls proxied to the builder")] | ||
pub fcu_count: Counter, | ||
|
||
#[metric(describe = "Count of new_payload_v3 calls proxied to the builder")] | ||
pub new_payload_count: Counter, | ||
|
||
#[metric(describe = "Count of get_payload_v3 calls proxied to the builder")] | ||
pub get_payload_count: Counter, | ||
|
||
#[metric(describe = "Count of send_raw_transaction calls proxied to the builder")] | ||
pub send_raw_tx_count: Counter, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters