1 write to _otlpContext
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
63_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)
69_logs = new(_otlpContext.Options.MaxLogCount); 70_traces = new(_otlpContext.Options.MaxTraceCount); 216return new OtlpApplication(key.Name, key.InstanceId!, _otlpContext); 284_otlpContext.Logger.LogInformation(ex, "Error adding application."); 304scopeRef ??= (scope != null) ? new OtlpScope(scope, _otlpContext) : OtlpScope.Empty; 310_otlpContext.Logger.LogInformation(ex, "Error adding scope."); 334var logEntry = new OtlpLogEntry(record, applicationView, scope, _otlpContext); 374_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 817_otlpContext.Logger.LogInformation(ex, "Error adding application."); 839_otlpContext.Logger.LogInformation(ex, "Error adding application."); 910var newSpan = CreateSpan(applicationView, span, trace, scope, _otlpContext); 997_otlpContext.Logger.LogInformation(ex, "Error adding span.");