1 write to _otlpContext
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
69_otlpContext = new OtlpContext
13 references to _otlpContext
Aspire.Dashboard (13)
Otlp\Storage\Subscription.cs (1)
28_callbackThrottler = new CallbackThrottler(name, telemetryRepository._otlpContext.Logger, telemetryRepository._subscriptionMinExecuteInterval, callback, executionContext);
Otlp\Storage\TelemetryRepository.cs (12)
76_logs = new(_otlpContext.Options.MaxLogCount); 77_traces = new(_otlpContext.Options.MaxTraceCount); 240return new OtlpApplication(key.Name, key.InstanceId!, uninstrumentedPeer, _otlpContext); 321_otlpContext.Logger.LogInformation(ex, "Error adding application."); 339if (!OtlpHelpers.TryGetOrAddScope(_logScopes, sl.Scope, _otlpContext, TelemetryType.Logs, out var scope)) 349var logEntry = new OtlpLogEntry(record, applicationView, scope, _otlpContext); 390_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 848_otlpContext.Logger.LogInformation(ex, "Error adding application."); 876_otlpContext.Logger.LogInformation(ex, "Error adding application."); 921if (!OtlpHelpers.TryGetOrAddScope(_traceScopes, scopeSpan.Scope, _otlpContext, TelemetryType.Traces, out var scope)) 946var newSpan = CreateSpan(applicationView, span, trace, scope, _otlpContext); 1037_otlpContext.Logger.LogInformation(ex, "Error adding span.");