streaming_metrics v2.1.7 StreamingMetrics.ConsoleMetricCollector View Source

A module for collecting metrics and logging to the console.

Link to this section Summary

Functions

Create the metrics that will later be logged to the console

Callback implementation for StreamingMetrics.MetricCollector.init/0

Simply log the metrics to the console

Link to this section Functions

Link to this function

count_metric(count, name, dimensions \\ [], timestamp \\ DateTime.utc_now()) View Source

Create the metrics that will later be logged to the console

Callback implementation for StreamingMetrics.MetricCollector.init/0.

Link to this function

record_metrics(metrics, namespace) View Source

Simply log the metrics to the console