5 writes to Scope
Aspire.Dashboard (4)
Model\TelemetryExportService.cs (3)
248Scope = ConvertScope(scopeGroup.Key), 380Scope = ConvertScope(logEntry.Scope), 470Scope = ConvertScope(scopeGroup.Key),
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (1)
59Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpScopeLogsJson)obj).Scope = value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
447Scope = new OtlpInstrumentationScopeJson { Name = "TestScope" },
9 references to Scope
Aspire.Dashboard (5)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
272if (json.Scope is not null) 274scopeLogs.Scope = ToProtobuf(json.Scope);
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (2)
58Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpScopeLogsJson)obj).Scope, 126global::Aspire.Otlp.Serialization.OtlpInstrumentationScopeJson __value_Scope = ((global::Aspire.Otlp.Serialization.OtlpScopeLogsJson)value).Scope;
src\Shared\ConsoleLogs\SharedAIHelpers.cs (1)
445var scopeName = scopeLogs.Scope?.Name;
Aspire.Dashboard.Tests (4)
Model\TelemetryExportServiceTests.cs (4)
77Assert.NotNull(scopeLogs.Scope); 78Assert.Equal("TestLogger", scopeLogs.Scope.Name); 179var logger1Scope = resourceLogs.ScopeLogs.FirstOrDefault(s => s.Scope?.Name == "Logger1"); 184var logger2Scope = resourceLogs.ScopeLogs.FirstOrDefault(s => s.Scope?.Name == "Logger2");