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
);
317
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
335
if (!OtlpHelpers.TryAddScope(_logScopes, sl.Scope,
_otlpContext
, out var scope))
345
var logEntry = new OtlpLogEntry(record, applicationView, scope,
_otlpContext
);
385
_otlpContext
.Logger.LogInformation(ex, "Error adding log entry.");
843
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
871
_otlpContext
.Logger.LogInformation(ex, "Error adding application.");
916
if (!OtlpHelpers.TryAddScope(_traceScopes, scopeSpan.Scope,
_otlpContext
, out var scope))
941
var newSpan = CreateSpan(applicationView, span, trace, scope,
_otlpContext
);
1031
_otlpContext
.Logger.LogInformation(ex, "Error adding span.");