Do not start another logger in prometheus (#2599)

This commit is contained in:
cube0x8 2024-10-09 18:15:56 +03:00 committed by GitHub
parent c1ddcb2eed
commit 2b05e0a1fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -305,8 +305,6 @@ pub(crate) async fn serve_metrics(
clients_count: Family<Labels, Gauge>,
custom_stat: Family<Labels, Gauge<f64, AtomicU64>>,
) -> Result<(), std::io::Error> {
tide::log::start();
let mut registry = Registry::default();
registry.register("corpus_count", "Number of test cases in the corpus", corpus);