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

stacks-network / stacks-core / 23912811588

02 Apr 2026 05:17PM UTC coverage: 77.536% (-8.2%) from 85.712%
23912811588

Pull #7067

github

bec888
web-flow
Merge a84d52b05 into 461c7b5d9
Pull Request #7067: feat: common "snapshotting" code to copy canonical side-table data + `index` and `SPV`copy

3393 of 3952 new or added lines in 17 files covered. (85.86%)

19322 existing lines in 182 files now uncovered.

171732 of 221487 relevant lines covered (77.54%)

7680184.02 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