public MetricScope AddCloudWatchMetrics(string @namespace, HashSet <MetricValue> metrics, HashSet <Dimension> dimensions, HashSet <string[]> dimensionGroups) { CloudWatchMetrics.Add(new CloudWatchMetric(this, @namespace).AddDimension(dimensions, dimensionGroups).AddMetrics(metrics)); return(this); }
public MetricScope AddCloudWatchMetric(string @namespace, string metricName, double metricValue, string unit, HashSet <Dimension> dimensions, HashSet <string[]> dimensionGroups) { CloudWatchMetrics.Add(new CloudWatchMetric(this, @namespace).AddMetric(metricName, metricValue, unit).AddDimension(dimensions, dimensionGroups)); return(this); }