示例#1
0
        public void OnMetricsAggregated(AggregatedMetric aggregatedMetrics)
        {
            if (aggregatedMetrics == null || !aggregatedMetrics.HasMetrics)
            {
                return;
            }

            dataPoints.OnNext(new DataPointEvent(Bucket, aggregatedMetrics.ToDataPoint()));

            ++NumPublishedDataPoints;
        }