prover-telemetry 1.0.0

prover-telemetry offers telemetry information for prover-engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("Unable to bind metrics server: {0}")]
    UnableToBindMetricsServer(#[from] std::io::Error),
}

#[derive(Debug, thiserror::Error)]
pub(crate) enum MetricsError {
    #[error("Error gathering metrics: {0}")]
    GatheringMetrics(#[from] prometheus::Error),

    #[error("Error formatting metrics: {0}")]
    FormattingMetrics(#[from] std::string::FromUtf8Error),
}