http: add metrics for connection count, requests and responses

This commit is contained in:
Joakim Frostegård 2023-01-18 20:48:59 +01:00
parent 3a6661afd7
commit 5c04245cbe
3 changed files with 88 additions and 15 deletions

2
Cargo.lock generated
View file

@ -111,6 +111,8 @@ dependencies = [
"libc",
"log",
"memchr",
"metrics",
"metrics-exporter-prometheus",
"mimalloc",
"once_cell",
"privdrop",