Go to file
Dustin 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
src burp: error: impl Display and Error 2022-02-12 15:15:29 -06:00
.gitattributes Initial commit 2022-02-06 12:56:24 -06:00
.gitignore Initial commit 2022-02-06 12:56:24 -06:00
Cargo.lock metrics: Add Prometheus metrics for BURP stats 2022-02-12 15:15:29 -06:00
Cargo.toml metrics: Add Prometheus metrics for BURP stats 2022-02-12 15:15:29 -06:00
LICENSE-Apache-2.0.txt Initial commit 2022-02-06 12:56:24 -06:00
LICENSE-MIT.txt Initial commit 2022-02-06 12:56:24 -06:00
README.md Initial commit 2022-02-06 12:56:24 -06:00
rustfmt.toml Initial commit 2022-02-06 12:56:24 -06:00

README.md

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.