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