Metrics collection and aggregation for ExUtcp operations.
Provides utilities for collecting, storing, and reporting metrics.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets metrics for a specific metric name.
Gets all collected metrics.
Gets metrics summary for reporting.
Increments a counter metric.
Records a histogram observation.
Records a summary observation.
Resets all metrics.
Sets a gauge metric value.
Starts the metrics collector.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Gets metrics for a specific metric name.
@spec get_metrics() :: map()
Gets all collected metrics.
@spec get_metrics_summary() :: map()
Gets metrics summary for reporting.
Increments a counter metric.
Records a histogram observation.
Records a summary observation.
@spec reset_metrics() :: :ok
Resets all metrics.
Sets a gauge metric value.
Starts the metrics collector.