Microsoft.ApplicationInsights.Metrics.MetricManager
A metric manager coordinates metrics aggregation at a specific scope.
It keeps track of the known metrics and is ultimately responsibe for correctly
initializing metric data time series.
Note that a metric manager deals with zero dimensional time series.
Metric objects are multidimensional collections of such series and the manager
merely holds a collection of such containers for its scope.
namespace Microsoft.ApplicationInsights.Metrics
{
public sealed class MetricManager
{
public MetricsCollection Metrics { get; }
public MetricManager(IMetricTelemetryPipeline telemetryPipeline);
public MetricSeries CreateNewSeries(string metricNamespace, string metricId, IMetricSeriesConfiguration config);
public MetricSeries CreateNewSeries(string metricNamespace, string metricId, IEnumerable<KeyValuePair<string, string>> dimensionNamesAndValues, IMetricSeriesConfiguration config);
public MetricSeries CreateNewSeries(MetricIdentifier metricIdentifier, IEnumerable<KeyValuePair<string, string>> dimensionNamesAndValues, IMetricSeriesConfiguration config);
public void Flush();
}
}