2 writes to ScopeName
Aspire.Dashboard (2)
Otlp\Model\OtlpScope.cs (2)
22
ScopeName
= string.Empty;
29
ScopeName
= scope.Name;
11 references to ScopeName
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
103
KnownStructuredLogFields.CategoryField => log.Scope.
ScopeName
,
Aspire.Dashboard.Tests (10)
TelemetryRepositoryTests\LogTests.cs (6)
80
Assert.Equal("TestLogger", app.Scope.
ScopeName
);
184
Assert.Equal("", l.Scope.
ScopeName
);
892
Assert.Equal("TestLogger", app.Scope.
ScopeName
);
915
Assert.Equal("TestLogger", app.Scope.
ScopeName
);
988
Assert.Equal("TestLogger", app.Scope.
ScopeName
);
999
Assert.Equal("TestLogger", app.Scope.
ScopeName
);
TelemetryRepositoryTests\TraceTests.cs (4)
334
span => Assert.Equal("scope1", span.Scope.
ScopeName
),
335
span => Assert.Equal("scope2", span.Scope.
ScopeName
));
449
Assert.Equal("", trace.FirstSpan.Scope.
ScopeName
);
456
Assert.Equal("", trace.FirstSpan.Scope.
ScopeName
);