You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let proxy_requests = Family::<ProxyRequestLabels,Counter>::default();
72
87
let proxy_requests_by_method = Family::<ProxyRequestByMethodLabels,Counter>::default();
73
88
let proxy_response_latency = Family::<ResponseLabels,Histogram>::new_with_constructor(|| Histogram::new(exponential_buckets(50.0,2.0,6)));
89
+
let proxy_upstream_response_latency = Family::<UpstreamResponseLabels,Histogram>::new_with_constructor(|| Histogram::new(exponential_buckets(50.0,2.0,6)));
90
+
let proxy_retries = Family::<RetryLabels,Counter>::default();
74
91
let node_host_current = Family::<HostCurrentStateLabels,Gauge>::default();
75
92
let cache_hits = Family::<CacheLabels,Counter>::default();
76
93
let cache_misses = Family::<CacheLabels,Counter>::default();
@@ -87,11 +104,13 @@ impl Metrics {
87
104
"Proxy requests by host and method (HTTP path or RPC method)",
88
105
proxy_requests_by_method.clone(),
89
106
);
107
+
registry.register("proxy_response_latency","Proxy responses by chain and status", proxy_response_latency.clone());
90
108
registry.register(
91
-
"proxy_response_latency",
92
-
"Proxy responses by host, path, method, and status",
93
-
proxy_response_latency.clone(),
109
+
"proxy_upstream_response_latency",
110
+
"Upstream proxy responses by host, path, method, and status",
111
+
proxy_upstream_response_latency.clone(),
94
112
);
113
+
registry.register("proxy_retries","Proxy retries by chain, upstream host, and reason", proxy_retries.clone());
95
114
registry.register("node_host_current","Node current host url", node_host_current.clone());
96
115
registry.register("cache_hits","Cache hits by host and path", cache_hits.clone());
97
116
registry.register("cache_misses","Cache misses by host and path", cache_misses.clone());
0 commit comments