15 references to MetricsUrl
Aspire.Dashboard (6)
Components\Dialogs\ManageDataDialog.razor.cs (1)
269AspireDataType.Metrics => new TelemetryDataRow { DataType = AspireDataType.Metrics, Icon = new Icons.Regular.Size16.ChartMultiple(), Url = DashboardUrls.MetricsUrl(resource: resourceName) },
Components\Layout\MainLayout.razor.cs (1)
540NavigationManager.NavigateTo(DashboardUrls.MetricsUrl());
Components\Layout\MobileNavMenu.razor.cs (2)
179() => NavigateToAsync(DashboardUrls.MetricsUrl()), 182LinkMatchRegex: GetNonIndexPageRegex(DashboardUrls.MetricsUrl())
Components\Pages\Metrics.razor.cs (1)
311var url = DashboardUrls.MetricsUrl(
Model\ResourceMenuBuilder.cs (1)
277_navigationManager.NavigateTo(DashboardUrls.MetricsUrl(resource: ResourceViewModel.GetResourceName(resource, resourceByName)));
Aspire.Dashboard.Components.Tests (8)
Layout\MainLayoutResourceTerminalsTests.cs (2)
147await cut.InvokeAsync(() => navigationManager.NavigateTo(DashboardUrls.MetricsUrl())); 150navigationManager.ToAbsoluteUri(expected ? DashboardUrls.TerminalsUrl() : DashboardUrls.MetricsUrl()).AbsoluteUri,
Pages\MetricsTests.cs (6)
663navigationManager.NavigateTo(DashboardUrls.MetricsUrl()); 731navigationManager.NavigateTo(DashboardUrls.MetricsUrl( 811navigationManager.NavigateTo(DashboardUrls.MetricsUrl(resource: "TestApp", meter: "test-meter", instrument: "test-instrument")); 972DashboardUrls.MetricsUrl(resource: "TestApp", meter: "test-meter", instrument: "test-instrument", duration: 5, view: MetricViewKind.Graph.ToString())); 997navigationManager.NavigateTo(DashboardUrls.MetricsUrl(resource: "TestApp", meter: "test-meter", instrument: app1InstrumentName, duration: 720, view: MetricViewKind.Table.ToString())); 1043var expectedUrl = DashboardUrls.MetricsUrl(resource: "TestApp2", meter: expectedMeterNameAfterChange, instrument: expectedInstrumentNameAfterChange, duration: 720, view: "Table");
Aspire.Dashboard.Tests (1)
DashboardUrlsTests.cs (1)
78var url = DashboardUrls.MetricsUrl(