예제 #1
0
 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);
 }
예제 #2
0
 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);
 }