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, andprocess_resident_memory_bytesmetric.
Functions
-
register(
[CollectorRegistry? registry]) → void -
Register default metrics for the Dart runtime. If no
registryis provided, the CollectorRegistry.defaultRegistry is used.