Interface IAwsMetricsCollector
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
RecordMetric(string, double, MetricUnit)
Records a metric.
void RecordMetric(string name, double value, MetricUnit unit = MetricUnit.None)
Parameters
namestringvaluedoubleunitMetricUnit
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
namestringvaluedoubleunitMetricUnitdimensionsDictionary<string, string>