1 write to Parent
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MetricsEventSource.cs (1)
298
Parent
= parent;
30 references to Parent
System.Diagnostics.DiagnosticSource (30)
System\Diagnostics\Metrics\MetricsEventSource.cs (30)
322
Parent
.Error("", "System.Diagnostics.Metrics EventSource not supported on browser");
344
Parent
.Message($"Previous session with id {_sessionId} is stopped");
383
Parent
.MultipleSessionsConfiguredIncorrectlyError(clientId!, _aggregationManager.MaxHistograms.ToString(), maxHistograms.ToString(), _aggregationManager.MaxTimeSeries.ToString(), maxTimeSeries.ToString(), _aggregationManager.CollectionPeriod.TotalSeconds.ToString(), refreshInterval.ToString());
402
Parent
.MultipleSessionsNotSupportedError(_sessionId);
407
Parent
.Message($"Previous session with id {_sessionId} is stopped");
438
(startIntervalTime, endIntervalTime) =>
Parent
.CollectionStart(sessionId, startIntervalTime, endIntervalTime),
439
(startIntervalTime, endIntervalTime) =>
Parent
.CollectionStop(sessionId, startIntervalTime, endIntervalTime),
440
i =>
Parent
.BeginInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
442
i =>
Parent
.EndInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
444
i =>
Parent
.InstrumentPublished(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description,
446
() =>
Parent
.InitialInstrumentEnumerationComplete(sessionId),
447
e =>
Parent
.Error(sessionId, e.ToString()),
448
() =>
Parent
.TimeSeriesLimitReached(sessionId),
449
() =>
Parent
.HistogramLimitReached(sessionId),
450
e =>
Parent
.ObservableInstrumentCallbackError(sessionId, e.ToString()));
472
|| !
Parent
.IsEnabled());
479
Parent
.Message($"Metrics argument received: {metricsSpecs}");
483
Parent
.Message("No Metrics argument received");
490
Parent
.Message($"{ClientIdKey} not provided; session will remain active indefinitely.");
542
Parent
.Message($"{argumentsKey} argument received: {maxString}");
545
Parent
.Message($"Failed to parse {argumentsKey}. Using {valueDescriptor} {defaultValue}");
557
Parent
.Message($"No {argumentsKey} argument received. Using {valueDescriptor} {defaultValue}");
569
Parent
.Message($"{RefreshIntervalKey} too small. Using minimum interval {minValue} seconds.");
589
Parent
.Message($"{RefreshIntervalKey} argument received: {refreshInterval}");
592
Parent
.Message($"Failed to parse {RefreshIntervalKey}. Using {valueDescriptor} {defaultValue}s.");
599
Parent
.Message($"No {RefreshIntervalKey} argument received. Using {valueDescriptor} {defaultValue}s.");
611
Parent
.Message($"SessionId argument received: {id!}");
620
Parent
.Message($"New session started. SessionId auto-generated: {sessionId}");
628
Parent
.Error(_sessionId, e.ToString());
648
Parent
.Message($"Parsed metric: {spec}");