<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="7.0.2" />

AggregationManager

sealed class AggregationManager
public const double MinCollectionTimeSecs = 0.1

public AggregationManager(int maxTimeSeries, int maxHistograms, Action<Instrument, LabeledAggregationStatistics> collectMeasurement, Action<DateTime, DateTime> beginCollection, Action<DateTime, DateTime> endCollection, Action<Instrument> beginInstrumentMeasurements, Action<Instrument> endInstrumentMeasurements, Action<Instrument> instrumentPublished, Action initialInstrumentEnumerationComplete, Action<Exception> collectionError, Action timeSeriesLimitReached, Action histogramLimitReached, Action<Exception> observableInstrumentCallbackError)

public void Dispose()

public void Include(string meterName)

public void Include(string meterName, string instrumentName)

public void Start()