From 9b1d7c544d45f88db55cc9ac118a8f60e8ef84b9 Mon Sep 17 00:00:00 2001 From: James Yang <26634873@qq.com> Date: Mon, 2 Sep 2024 17:11:22 +0800 Subject: [PATCH] fix(proxy): typo in example --- pingora-proxy/examples/gateway.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pingora-proxy/examples/gateway.rs b/pingora-proxy/examples/gateway.rs index 0bd53306..78f4aae9 100644 --- a/pingora-proxy/examples/gateway.rs +++ b/pingora-proxy/examples/gateway.rs @@ -121,7 +121,7 @@ fn main() { let mut my_proxy = pingora_proxy::http_proxy_service( &my_server.configuration, MyGateway { - req_metric: register_int_counter!("reg_counter", "Number of requests").unwrap(), + req_metric: register_int_counter!("req_counter", "Number of requests").unwrap(), }, ); my_proxy.add_tcp("0.0.0.0:6191");