refactor: more API metric coverage

pull/24376/head
Edd Robinson 2021-04-22 18:43:12 +01:00 committed by kodiakhq[bot]
parent 59282bce6e
commit 7a3f536232
1 changed files with 0 additions and 3 deletions

View File

@ -423,9 +423,6 @@ where
let path = req.uri().path().to_string();
let server = Arc::clone(&req.data::<Arc<AppServer<M>>>().expect("server state"));
// TODO - metrics. Implement a macro/something that will catch all the
// early returns.
// TODO(edd): figure out best way of catching all errors in this observation.
let obs = server.metrics.http_requests.observation(); // instrument request