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