System.Diagnostics.Metrics.AggregationManager
namespace System.Diagnostics.Metrics
{
internal sealed class AggregationManager
{
public TimeSpan CollectionPeriod { get; }
public int MaxTimeSeries { get; }
public int MaxHistograms { get; }
public AggregationManager(int maxTimeSeries, int maxHistograms, Action<Instrument, LabeledAggregationStatistics, InstrumentState> collectMeasurement, Action<DateTime, DateTime> beginCollection, Action<DateTime, DateTime> endCollection, Action<Instrument, InstrumentState> beginInstrumentMeasurements, Action<Instrument, InstrumentState> endInstrumentMeasurements, Action<Instrument, InstrumentState> instrumentPublished, Action initialInstrumentEnumerationComplete, Action<Exception> collectionError, Action timeSeriesLimitReached, Action histogramLimitReached, Action<Exception> observableInstrumentCallbackError);
public void Include(string meterName);
public void IncludeAll();
public void IncludePrefix(string meterNamePrefix);
public void Include(string meterName, string instrumentName);
public void SetHistogramAggregation(Func<Aggregator> histogramAggregatorFactory);
public AggregationManager SetCollectionPeriod(TimeSpan collectionPeriod);
public void Start();
public void Update();
public void Dispose();
}
}