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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,17 @@ The following emojis are used to highlight certain changes:
15
15
16
16
### Added
17
17
18
+
- Added exporting of routing http client metrics: the endpoint will now include `someguy_routing_http_client_*` metrics when delegated routing clients are used:
19
+
- Histogram: the latency of operations by the routing HTTP client:
By default, a prometheus endpoint is exposed by someguy at `http://127.0.0.1:8190/debug/metrics/prometheus`.
4
+
5
+
It includes default [Prometheus Glient metrics](https://prometheus.io/docs/guides/go-application/) + someguy-specific listed below.
6
+
7
+
### Delegated HTTP Routing (`/routing/v1`) server
8
+
9
+
Metric from `boxo/routing/http/server` (used for `/routing/v1` handler) are exposed with `delegated_routing_server_` prefix:
10
+
11
+
-`delegated_routing_server_http_request_duration_seconds_[bucket|sum|count]{code,handler,method}` - histogram: the latency of the HTTP requests
12
+
-`delegated_routing_server_http_response_size_bytes_[bucket|sum|count]{code,handler,method}` - histogram: the size of the HTTP responses
13
+
14
+
### Delegated HTTP Routing (`/routing/v1`) client
15
+
16
+
If someguy is set up as an aggregating proxy for multiple other `/routing/v1` endpoints,
17
+
metrics from `boxo/routing/http/client` are exposed with `someguy_` prefix:
18
+
19
+
-`someguy_routing_http_client_latency_[bucket|sum|count]{code,error,host,operation}` - Histogram: the latency of operations by the routing HTTP client:
20
+
-`someguy_routing_http_client_length_[bucket|sum|count]{host,operation}` - Histogram: the number of elements in a response collection
21
+
22
+
### Someguy Caches
23
+
24
+
-`someguy_cached_addr_book_probe_duration_seconds_[bucket|sum|count]` - Histogram: duration of peer probing operations in seconds
25
+
-`someguy_cached_router_peer_addr_lookups{cache,origin}` - Counter: number of peer addr info lookups per origin and cache state
26
+
-`someguy_cached_addr_book_peer_state_size` - Gauge: number of peers object currently in the peer state
0 commit comments