You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/apollo_consensus_orchestrator/src/metrics.rs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,12 @@ define_metrics!(
32
32
LabeledMetricCounter{CONSENSUS_BUILD_PROPOSAL_FAILURE,"consensus_build_proposal_failure","Number of failures while building a proposal", init = 0, labels = BUILD_PROPOSAL_FAILURE_REASON},
33
33
// Proposal validation failure metrics
34
34
LabeledMetricCounter{CONSENSUS_VALIDATE_PROPOSAL_FAILURE,"consensus_validate_proposal_failure","Number of failures while validating a proposal", init = 0, labels = VALIDATE_PROPOSAL_FAILURE_REASON},
35
+
36
+
// SNIP-35 dynamic gas pricing metrics
37
+
MetricGauge{SNIP35_FEE_ACTUAL,"snip35_fee_actual","The current fee_actual (median of recent fee_proposals sliding window)"},
38
+
MetricGauge{SNIP35_FEE_PROPOSAL,"snip35_fee_proposal","The fee_proposal this node published in the latest block"},
39
+
MetricGauge{SNIP35_FEE_TARGET,"snip35_fee_target","The fee_target computed from the STRK/USD oracle"},
40
+
MetricGauge{SNIP35_STRK_USD_RATE,"snip35_strk_usd_rate","The STRK/USD rate from the oracle"},
0 commit comments