1 write to _otlpContext
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
69
_otlpContext
= new OtlpContext
13 references to _otlpContext
Aspire.Dashboard (13)
Otlp\Storage\Subscription.cs (1)
28
_callbackThrottler = new CallbackThrottler(name, telemetryRepository.
_otlpContext
.Logger, telemetryRepository._subscriptionMinExecuteInterval, callback, executionContext);
Otlp\Storage\TelemetryRepository.cs (12)
76
_logs = new(
_otlpContext
.Options.MaxLogCount);
77
_traces = new(
_otlpContext
.Options.MaxTraceCount);
240
return new OtlpApplication(key.Name, key.InstanceId!, uninstrumentedPeer,
_otlpContext
);
321
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
339
if (!OtlpHelpers.TryGetOrAddScope(_logScopes, sl.Scope,
_otlpContext
, TelemetryType.Logs, out var scope))
349
var logEntry = new OtlpLogEntry(record, applicationView, scope,
_otlpContext
);
390
_otlpContext
.Logger.LogInformation(ex, "Error adding log entry.");
848
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
876
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
921
if (!OtlpHelpers.TryGetOrAddScope(_traceScopes, scopeSpan.Scope,
_otlpContext
, TelemetryType.Traces, out var scope))
946
var newSpan = CreateSpan(applicationView, span, trace, scope,
_otlpContext
);
1037
_otlpContext
.Logger.LogInformation(ex, "Error adding span.");