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