1 write to Scope
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
77Scope = scope;
23 references to Scope
Aspire.Dashboard (11)
Components\Controls\StructuredLogDetails.razor.cs (1)
104new TelemetryPropertyViewModel { Name = "Category", Key = KnownStructuredLogFields.CategoryField, Value = _viewModel.LogEntry.Scope.Name }
Components_Pages_StructuredLogs_razor.g.cs (2)
1072$"{eventName} ({context!.LogEntry.Scope.Name})" 1093__builder3.AddContent(105, context!.LogEntry.Scope.Name
Components_Pages_TraceDetail_razor.g.cs (3)
1095subtitle = logEntryVm.LogEntry.Scope.Name; 2313!htmlTooltip ? $"{eventName} - {item.LogEntry.Scope.Name}" : string.Empty 2450__builder7.AddContent(288, item.LogEntry.Scope.Name
Model\Assistant\AIHelpers.cs (1)
351["source"] = l.Scope.Name
Model\TelemetryExportService.cs (3)
201.GroupBy(l => l.Scope) 326Scope = ConvertScope(logEntry.Scope), 407.GroupBy(l => l.Scope)
Otlp\Model\OtlpLogEntry.cs (1)
133KnownStructuredLogFields.CategoryField => log.Scope.Name,
Aspire.Dashboard.Tests (12)
Integration\OtlpHttpJsonTests.cs (3)
507Assert.Equal("my.library", log.Scope.Name); 508Assert.Equal("1.0.0", log.Scope.Version); 581Assert.Equal("my.library", log.Scope.Name);
TelemetryRepositoryTests\LogTests.cs (9)
79Assert.Equal("TestLogger", resource.Scope.Name); 183Assert.Same(OtlpScope.Empty, l.Scope); 938Assert.Equal("TestLogger", resource.Scope.Name); 961Assert.Equal("TestLogger", resource.Scope.Name); 1034Assert.Equal("TestLogger", resource.Scope.Name); 1045Assert.Equal("TestLogger", resource.Scope.Name); 1190Assert.Equal("TestLogger", resource.Scope.Name); 1195Assert.Equal("TestLogger", resource.Scope.Name); 1262Assert.Equal("TestLogger", log.Scope.Name);