We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e12942 commit eef55e5Copy full SHA for eef55e5
stacks-signer/src/monitoring/mod.rs
@@ -50,13 +50,9 @@ pub mod actions {
50
}
51
52
/// Increment the block responses sent counter
53
- #[allow(unused_variables)]
54
pub fn increment_block_responses_sent(accepted: bool) {
55
- #[cfg(feature = "monitoring_prom")]
56
- {
57
- let label_value = if accepted { "accepted" } else { "rejected" };
58
- BLOCK_RESPONSES_SENT.with_label_values(&[label_value]).inc();
59
- }
+ let label_value = if accepted { "accepted" } else { "rejected" };
+ BLOCK_RESPONSES_SENT.with_label_values(&[label_value]).inc();
60
61
62
/// Increment the number of block proposals received
0 commit comments