3 writes to Scope
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
211
Scope
= ConvertScope(scopeGroup.Key),
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (1)
59
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)obj).
Scope
= value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
423
Scope
= new OtlpInstrumentationScopeJson { Name = "TestScope" },
8 references to Scope
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
271
if (json.
Scope
is not null)
273
scopeLogs.Scope = ToProtobuf(json.
Scope
);
OtlpJsonSerializerContext.OtlpScopeLogsJson.g.cs (2)
58
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)obj).
Scope
,
126
global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpInstrumentationScopeJson __value_Scope = ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpScopeLogsJson)value).
Scope
;
Aspire.Dashboard.Tests (4)
Model\TelemetryExportServiceTests.cs (4)
72
Assert.NotNull(scopeLogs.
Scope
);
73
Assert.Equal("TestLogger", scopeLogs.
Scope
.Name);
142
var logger1Scope = resourceLogs.ScopeLogs.FirstOrDefault(s => s.
Scope
?.Name == "Logger1");
147
var logger2Scope = resourceLogs.ScopeLogs.FirstOrDefault(s => s.
Scope
?.Name == "Logger2");