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); 317_otlpContext.Logger.LogInformation(ex, "Error adding application."); 335if (!OtlpHelpers.TryAddScope(_logScopes, sl.Scope, _otlpContext, out var scope)) 345var logEntry = new OtlpLogEntry(record, applicationView, scope, _otlpContext); 385_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 843_otlpContext.Logger.LogInformation(ex, "Error adding application."); 871_otlpContext.Logger.LogInformation(ex, "Error adding application."); 916if (!OtlpHelpers.TryAddScope(_traceScopes, scopeSpan.Scope, _otlpContext, out var scope)) 941var newSpan = CreateSpan(applicationView, span, trace, scope, _otlpContext); 1031_otlpContext.Logger.LogInformation(ex, "Error adding span.");