Add a reusable GrpcMetricsLayer that can be applied to any tonic server via Server::builder().layer() to automatically emit three Prometheus metric families for every gRPC handler: started_total, handled_total (with status code), and handling_seconds histogram. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
275 KiB
275 KiB