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)
20
private ILogger Logger => _telemetryRepository.
_otlpContext
.Logger;
Otlp\Storage\TelemetryRepository.cs (12)
69
_logs = new(
_otlpContext
.Options.MaxLogCount);
70
_traces = new(
_otlpContext
.Options.MaxTraceCount);
216
return new OtlpApplication(key.Name, key.InstanceId!,
_otlpContext
);
284
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
304
scopeRef ??= (scope != null) ? new OtlpScope(scope,
_otlpContext
) : OtlpScope.Empty;
310
_otlpContext
.Logger.LogInformation(ex, "Error adding scope.");
334
var 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.");
910
var newSpan = CreateSpan(applicationView, span, trace, scope,
_otlpContext
);
997
_otlpContext
.Logger.LogInformation(ex, "Error adding span.");