1 write to _otlpContext
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
68_otlpContext = new OtlpContext
13 references to _otlpContext
Aspire.Dashboard (13)
Otlp\Storage\Subscription.cs (1)
20private ILogger Logger => _telemetryRepository._otlpContext.Logger;
Otlp\Storage\TelemetryRepository.cs (12)
75_logs = new(_otlpContext.Options.MaxLogCount); 76_traces = new(_otlpContext.Options.MaxTraceCount); 222return new OtlpApplication(key.Name, key.InstanceId!, _otlpContext); 296_otlpContext.Logger.LogInformation(ex, "Error adding application."); 316scopeRef ??= (scope != null) ? new OtlpScope(scope, _otlpContext) : OtlpScope.Empty; 322_otlpContext.Logger.LogInformation(ex, "Error adding scope."); 346var logEntry = new OtlpLogEntry(record, applicationView, scope, _otlpContext); 386_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 837_otlpContext.Logger.LogInformation(ex, "Error adding application."); 865_otlpContext.Logger.LogInformation(ex, "Error adding application."); 936var newSpan = CreateSpan(applicationView, span, trace, scope, _otlpContext); 1026_otlpContext.Logger.LogInformation(ex, "Error adding span.");