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

stacks-network / stacks-core / 23943270448

03 Apr 2026 10:32AM UTC coverage: 77.559% (-8.2%) from 85.712%
23943270448

Pull #7077

github

52f01d
web-flow
Merge fa3f939ed into c529ad924
Pull Request #7077: feat: add burnchain DB copy and validation

3654 of 4220 new or added lines in 18 files covered. (86.59%)

19324 existing lines in 182 files now uncovered.

171991 of 221755 relevant lines covered (77.56%)

7658447.9 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