Expand description
Bounded observability infrastructure for the Shape VM.
Provides VmMetrics — a lightweight, zero-overhead-when-disabled metrics
collector with fixed-size ring buffers for tier/GC events and a log-linear
histogram for GC pause latencies.
Structs§
- GcPause
Event - A garbage-collection pause event.
- Histogram
- Log-linear histogram for recording latency values in microseconds.
- Metrics
Summary - A point-in-time summary of VM metrics.
- Ring
Buffer - Fixed-size circular buffer that overwrites the oldest element when full.
- Ring
Buffer Iter - Iterator over a
RingBufferfrom oldest to newest. - Tier
Event - A tier transition event for a single function.
- VmMetrics
- Aggregated VM metrics with bounded memory usage.