1 write to _otlpContext
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
59_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)
65_logs = new(_otlpContext.Options.MaxLogCount); 66_traces = new(_otlpContext.Options.MaxTraceCount); 212return new OtlpApplication(key.Name, key.InstanceId!, _otlpContext); 280_otlpContext.Logger.LogInformation(ex, "Error adding application."); 300scopeRef ??= (scope != null) ? new OtlpScope(scope, _otlpContext) : OtlpScope.Empty; 306_otlpContext.Logger.LogInformation(ex, "Error adding scope."); 330var logEntry = new OtlpLogEntry(record, applicationView, scope, _otlpContext); 370_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 713_otlpContext.Logger.LogInformation(ex, "Error adding application."); 735_otlpContext.Logger.LogInformation(ex, "Error adding application."); 806var newSpan = CreateSpan(applicationView, span, trace, scope, _otlpContext); 893_otlpContext.Logger.LogInformation(ex, "Error adding span.");