feat(metrics): add per-domain HTTP request rate metrics

This commit is contained in:
2026-04-14 12:43:59 +00:00
parent 490a310b54
commit 46155ab12c
10 changed files with 485 additions and 9 deletions
@@ -644,6 +644,7 @@ impl HttpProxyService {
let ip_str = ip_string; // reuse from above (avoid redundant to_string())
self.metrics.record_http_request();
if let Some(ref h) = host {
self.metrics.record_http_domain_request(h);
self.metrics.record_ip_domain_request(&ip_str, h);
}