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)
20
private ILogger Logger => _telemetryRepository.
_otlpContext
.Logger;
Otlp\Storage\TelemetryRepository.cs (12)
65
_logs = new(
_otlpContext
.Options.MaxLogCount);
66
_traces = new(
_otlpContext
.Options.MaxTraceCount);
212
return new OtlpApplication(key.Name, key.InstanceId!,
_otlpContext
);
280
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
300
scopeRef ??= (scope != null) ? new OtlpScope(scope,
_otlpContext
) : OtlpScope.Empty;
306
_otlpContext
.Logger.LogInformation(ex, "Error adding scope.");
330
var 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.");
806
var newSpan = CreateSpan(applicationView, span, trace, scope,
_otlpContext
);
893
_otlpContext
.Logger.LogInformation(ex, "Error adding span.");