Table of Contents

Interface IAwsMetricsCollector

Namespace
Excalibur.Dispatch.Transport.Aws
Assembly
Excalibur.Dispatch.Transport.AwsSqs.dll

Interface for AWS metrics collector.

public interface IAwsMetricsCollector
Extension Methods

Methods

Clear()

Clears the collected metrics.

void Clear()

GetMetrics()

Gets the collected metrics.

IReadOnlyList<MetricData> GetMetrics()

Returns

IReadOnlyList<MetricData>

RecordMetric(string, double, MetricUnit)

Records a metric.

void RecordMetric(string name, double value, MetricUnit unit = MetricUnit.None)

Parameters

name string
value double
unit MetricUnit

RecordMetric(string, double, MetricUnit, Dictionary<string, string>)

Records a metric with dimensions.

void RecordMetric(string name, double value, MetricUnit unit, Dictionary<string, string> dimensions)

Parameters

name string
value double
unit MetricUnit
dimensions Dictionary<string, string>