9 writes to ResourceView
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (1)
683ResourceView = resource.ViewsById[record.ResourceViewId].View
Aspire.Dashboard.Components.Tests (5)
Controls\PlotlyChartTests.cs (5)
43ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>()) 135ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>()) 198ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>()) 252ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>()) 304ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>())
Aspire.Dashboard.Tests (3)
ChartDataCalculatorTests.cs (1)
1007ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>())
Model\DefaultInstrumentUnitResolverTests.cs (1)
38ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>())
Model\MetricPinStoreTests.cs (1)
133ResourceView = new OtlpResourceView(resource, Array.Empty<KeyValuePair<string, string>>())
4 references to ResourceView
Aspire.Dashboard (3)
Components\Controls\Chart\LiveSparklinesBase.cs (1)
114protected ResourceKey GetResourceKey(OtlpInstrumentSummary instrument) => ResourceKey ?? instrument.ResourceView.ResourceKey;
Components\Pages\Metrics.razor.cs (1)
380OtlpHelpers.GetResourceName(instrument.ResourceView.Resource, _resources);
Model\TelemetryExportService.cs (1)
475.GroupBy(instrument => instrument.Summary.ResourceView)
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (1)
305Assert.Same(views[1], instrument.ResourceView);