1 write to Parent
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MetricsEventSource.cs (1)
323
Parent
= parent;
30 references to Parent
System.Diagnostics.DiagnosticSource (30)
System\Diagnostics\Metrics\MetricsEventSource.cs (30)
347
Parent
.Error("", "System.Diagnostics.Metrics EventSource not supported on browser and wasi");
369
Parent
.Message($"Previous session with id {_sessionId} is stopped");
408
Parent
.MultipleSessionsConfiguredIncorrectlyError(clientId!, _aggregationManager.MaxHistograms.ToString(), maxHistograms.ToString(), _aggregationManager.MaxTimeSeries.ToString(), maxTimeSeries.ToString(), _aggregationManager.CollectionPeriod.TotalSeconds.ToString(), refreshInterval.ToString());
427
Parent
.MultipleSessionsNotSupportedError(_sessionId);
432
Parent
.Message($"Previous session with id {_sessionId} is stopped");
463
beginCollection: (startIntervalTime, endIntervalTime) =>
Parent
.CollectionStart(sessionId, startIntervalTime, endIntervalTime),
464
endCollection: (startIntervalTime, endIntervalTime) =>
Parent
.CollectionStop(sessionId, startIntervalTime, endIntervalTime),
465
beginInstrumentMeasurements: (i, state) =>
Parent
.BeginInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
467
endInstrumentMeasurements: (i, state) =>
Parent
.EndInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
469
instrumentPublished: (i, state) =>
Parent
.InstrumentPublished(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
471
initialInstrumentEnumerationComplete: () =>
Parent
.InitialInstrumentEnumerationComplete(sessionId),
472
collectionError: e =>
Parent
.Error(sessionId, e.ToString()),
473
timeSeriesLimitReached: () =>
Parent
.TimeSeriesLimitReached(sessionId),
474
histogramLimitReached: () =>
Parent
.HistogramLimitReached(sessionId),
475
observableInstrumentCallbackError: e =>
Parent
.ObservableInstrumentCallbackError(sessionId, e.ToString()));
497
|| !
Parent
.IsEnabled());
504
Parent
.Message($"Metrics argument received: {metricsSpecs}");
508
Parent
.Message("No Metrics argument received");
515
Parent
.Message($"{ClientIdKey} not provided; session will remain active indefinitely.");
567
Parent
.Message($"{argumentsKey} argument received: {maxString}");
570
Parent
.Message($"Failed to parse {argumentsKey}. Using {valueDescriptor} {defaultValue}");
582
Parent
.Message($"No {argumentsKey} argument received. Using {valueDescriptor} {defaultValue}");
594
Parent
.Message($"{RefreshIntervalKey} too small. Using minimum interval {minValue} seconds.");
614
Parent
.Message($"{RefreshIntervalKey} argument received: {refreshInterval}");
617
Parent
.Message($"Failed to parse {RefreshIntervalKey}. Using {valueDescriptor} {defaultValue}s.");
624
Parent
.Message($"No {RefreshIntervalKey} argument received. Using {valueDescriptor} {defaultValue}s.");
636
Parent
.Message($"SessionId argument received: {id!}");
645
Parent
.Message($"New session started. SessionId auto-generated: {sessionId}");
653
Parent
.Error(_sessionId, e.ToString());
673
Parent
.Message($"Parsed metric: {spec}");