streaming_metrics v2.1.7 StreamingMetrics.AwsMetricCollector View Source

A module for collecting metrics and sending them to AWS Cloudwatch.

Link to this section Summary

Functions

Create the metrics that will later be sent to AWS Cloudwatch

Callback implementation for StreamingMetrics.MetricCollector.init/0

Persist metrics to AWS Cloudwatch

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 sent to AWS Cloudwatch.

Callback implementation for StreamingMetrics.MetricCollector.init/0.

Link to this function

record_metrics(metrics, namespace) View Source

Persist metrics to AWS Cloudwatch