From 140434cf660d03ba3f41eeec11a4e8b74e0b2fbd Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Wed, 27 Jul 2022 17:31:28 -0500 Subject: [PATCH] :construction: wip: placeholder metrics page --- crates/ptth_relay/src/scraper_api.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/crates/ptth_relay/src/scraper_api.rs b/crates/ptth_relay/src/scraper_api.rs index ddb2e93..f448410 100644 --- a/crates/ptth_relay/src/scraper_api.rs +++ b/crates/ptth_relay/src/scraper_api.rs @@ -205,6 +205,22 @@ async fn api_v1 ( } } +#[instrument (level = "trace", skip (req, state))] +async fn metrics ( + req: Request
, + state: &Relay, +) +-> Result