• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacks-network / stacks-core / 23913007532

02 Apr 2026 05:21PM UTC coverage: 77.577% (-8.1%) from 85.712%
23913007532

Pull #7075

github

965cc1
web-flow
Merge 64c7ce33b into 461c7b5d9
Pull Request #7075: feat: block preservation for epoch2, microblocks, and Nakamoto

3839 of 4417 new or added lines in 19 files covered. (86.91%)

19316 existing lines in 181 files now uncovered.

172175 of 221942 relevant lines covered (77.58%)

7645264.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/stacks-node/src/monitoring/mod.rs
1
#![allow(unused_variables)]
2

3
pub use stacks::monitoring::{increment_errors_emitted_counter, increment_warning_emitted_counter};
4

5
#[cfg(feature = "monitoring_prom")]
6
mod prometheus;
7

8
#[derive(Debug)]
9
pub enum MonitoringError {
10
    AlreadyBound,
11
    UnableToGetAddress,
12
}
13

14
#[cfg(feature = "monitoring_prom")]
UNCOV
15
pub fn start_serving_monitoring_metrics(bind_address: String) -> Result<(), MonitoringError> {
×
UNCOV
16
    prometheus::start_serving_prometheus_metrics(bind_address)
×
UNCOV
17
}
×
18

19
#[cfg(not(feature = "monitoring_prom"))]
20
pub fn start_serving_monitoring_metrics(bind_address: String) -> Result<(), MonitoringError> {
21
    warn!("Attempted to start monitoring service at bind_address = {bind_address}, but stacks-node was built without `monitoring_prom` feature.");
22
    Ok(())
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc