Prometheus-style metrics collection using ETS counters.
Attaches to telemetry events and exposes metrics in Prometheus text format
via the format_metrics/0 function.
Summary
Functions
Format all collected metrics in Prometheus text exposition format.
Initialize metrics tables and attach telemetry handlers. Call this during application startup.