Observability wrappers for photon-ring channels.
Provides framework-agnostic metric snapshots from photon-ring's built-in
counters (total_received, total_lagged, receive_ratio,
published, pending).
Example
use SubscriberMetrics;
let = ;
let mut sub = subs.subscribe;
let metrics = new;
pub_.publish;
sub.try_recv.unwrap;
let snapshot = metrics.snapshot;
assert_eq!;
assert_eq!;