8 instantiations of OtlpScope
Aspire.Dashboard (2)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (5)
19 references to OtlpScope
Aspire.Dashboard (12)
Otlp\Storage\TelemetryRepository.cs (9)
37private readonly Dictionary<string, OtlpScope> _logScopes = new();
44private readonly Dictionary<string, OtlpScope> _traceScopes = new();
290private bool TryAddScope(Dictionary<string, OtlpScope> scopes, InstrumentationScope? scope, [NotNullWhen(true)] out OtlpScope? s)
298ref var scopeRef = ref CollectionsMarshal.GetValueRefOrAddDefault(scopes, name, out _);
300scopeRef ??= (scope != null) ? new OtlpScope(scope, _otlpContext) : OtlpScope.Empty;
320if (!TryAddScope(_logScopes, sl.Scope, out var scope))
780if (!TryAddScope(_traceScopes, scopeSpan.Scope, out var scope))
976private static OtlpSpan CreateSpan(OtlpApplicationView applicationView, Span span, OtlpTrace trace, OtlpScope scope, OtlpContext context)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (6)