runtime_metrics library

A library exposing metrics of the Dart runtime.

Classes

RuntimeCollector
Collector for runtime metrics. Exposes the dart_info, process_start_time_seconds, and process_resident_memory_bytes metric.

Functions

register([CollectorRegistry? registry]) → void
Register default metrics for the Dart runtime. If no registry is provided, the CollectorRegistry.defaultRegistry is used.