MetricManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A metric manager coordinates metrics aggregation at a specific scope. It keeps track of the known metrics and is ultimataly respnsibe for correctly initializeing 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.
public sealed class MetricManager
type MetricManager = class
Public NotInheritable Class MetricManager
- Inheritance
-
MetricManager
Constructors
MetricManager(IMetricTelemetryPipeline) |
Initializes a new metric manager. |
Properties
Metrics |
Gets the collection of metrics available the this manager's scope. |
Methods
CreateNewSeries(MetricIdentifier, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration) |
Creates and initilizes a new metric data time series. |
CreateNewSeries(String, String, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration) |
Creates and initilizes a new metric data time series. |
CreateNewSeries(String, String, IMetricSeriesConfiguration) |
Creates and initilizes a new metric data time series. |
Finalize() |
Finalizes an instance of the MetricManager class. |
Flush() |
Flushes cached metric data. The default aggregation cycle will be completed/restarted if required. |