Skip to main content

Module connection

Module connection 

Source
Expand description

Connection lifecycle observability.

Provides a Tower layer that tracks TCP/HTTP2 connection events — new connections, disconnections, and errors — giving operators visibility into client connectivity issues.

Structs§

ConnectionGuard
A guard that decrements active connections when dropped.
ConnectionMetrics
Shared connection metrics.
ConnectionTrackerLayer
A Tower layer that wraps a MakeService (or any per-connection service) to track and log connection lifecycle events.
ConnectionTrackerService
A Tower service that tracks connection lifecycle events.