Classified error counters keyed by error metric key.
Duration of the snapshot interval in fractional seconds.
Exposed as Number (not BigInt) so plain JS arithmetic works.
Operational counters and gauges (authorization, cache, JWT, data, lock).
Per-policy evaluation counts (policy_id, policy_id.allow, policy_id.deny).
A WASM wrapper for the Rust
cedarling::MetricsSnapshotstruct. Represents a snapshot of the collected telemetry metrics for the current interval. Destructive read: taking a snapshot resets the collected metrics, so use a single consumer.