Dustin C. Hatch dc0c987358 burp: error: impl Display and Error
The `burp::error::Error` struct needs to implement the
`std::error::Error` trait (which requires that it also implement
`std::fmt::Display`) so that it can be used in dynamic dispatch
situations.  Notably, the `prometheus_exporter_base::render_prometheus`
function requires a closure that returns `Result<String, Box<dyn
std::error::Error>>`, so in order to use the `?` (early return)
operator on on the `metrics::get_metrics` function call, our error must
implement that trait.
2022-02-12 15:15:29 -06:00
2022-02-12 15:15:29 -06:00
2022-02-06 12:56:24 -06:00
2022-02-06 12:56:24 -06:00
2022-02-06 12:56:24 -06:00
2022-02-06 12:56:24 -06:00
2022-02-06 12:56:24 -06:00
2022-02-06 12:56:24 -06:00

Prometheus Exporter for BURP

burp_exporter is a Prometheus exporter for BURP - BackUp and Restore Program. It uses the Status Monitor interface to retrieve information about BURP clients and backups.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
No description provided
Readme 78 KiB
Languages
Rust 100%