6 references to InstrumentKey
Aspire.Dashboard (3)
Components\Controls\Chart\MetricPinButton.razor.cs (3)
62_isPinned = PinStore.IsPinned(InstrumentKey, ResourceNames); 75switch (await PinStore.SetPinnedAsync(InstrumentKey, ResourceNames, !_isPinned)) 95_isPinned = PinStore.IsPinned(InstrumentKey, ResourceNames);
Aspire.Dashboard.Components.Tests (3)
Pages\MetricsTests.cs (3)
395.Add(button => button.InstrumentKey, new OtlpInstrumentKey("test-meter", "requests")) 1976var pinButton = cut.FindComponents<MetricPinButton>().Single(b => b.Instance.InstrumentKey.InstrumentName == "test-instrument-b"); 2001cut.FindComponents<MetricPinButton>().Single(b => b.Instance.InstrumentKey.InstrumentName == "test-instrument-b").Find("fluent-button").Click();