Raxol.Terminal.Metrics.MetricsServer (Raxol v2.0.1)

View Source

Unified metrics collection and export module.

This module provides centralized metrics collection, storage, and export functionality for terminal operations.

Summary

Functions

cleanup_metrics(filters, name)

Cleans up old metrics.

export_metrics(opts, name)

Exports metrics in the specified format.

get_error_stats(labels, store_name)

Gets error statistics.

get_metric(name, labels, store_name)

Gets a metric value.

record_error(message, labels, store_name)

Records an error.

record_metric(name, value, labels)

record_metric(name, value, labels, store_name)

Records a metric value.