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)
20
private ILogger Logger => _telemetryRepository.
_otlpContext
.Logger;
Otlp\Storage\TelemetryRepository.cs (12)
75
_logs = new(
_otlpContext
.Options.MaxLogCount);
76
_traces = new(
_otlpContext
.Options.MaxTraceCount);
222
return new OtlpApplication(key.Name, key.InstanceId!,
_otlpContext
);
296
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
316
scopeRef ??= (scope != null) ? new OtlpScope(scope,
_otlpContext
) : OtlpScope.Empty;
322
_otlpContext
.Logger.LogInformation(ex, "Error adding scope.");
346
var 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.");
936
var newSpan = CreateSpan(applicationView, span, trace, scope,
_otlpContext
);
1026
_otlpContext
.Logger.LogInformation(ex, "Error adding span.");