Skip to main content

Module metrics

Module metrics 

Source
Expand description

L1 cache hit-rate metrics for CachekitIO request headers.

Structs§

L1Stats
Snapshot of L1/L2 cache hit statistics.

Functions§

metrics_headers
Build X-CacheKit-* HTTP headers from the current L1 stats provider.

Type Aliases§

MetricsProvider
Thread-safe closure that produces an optional L1Stats snapshot.