9 references to Instruments
Aspire.Dashboard (7)
Components\Controls\Chart\LiveSparklinesBase.cs (5)
96
var parameters = (ResourceKey, Duration, string.Join('\n',
Instruments
.Select(i => $"{GetResourceKey(i)}\t{i.Parent.Name}\t{i.Name}")));
132
var visible =
Instruments
138
var toRefresh =
Instruments
.Where(i => _staleInstruments.Contains((GetResourceKey(i), i.GetKey()))).Where(i => visible.Contains((GetResourceKey(i), i.GetKey()))).ToList();
197
return RefreshInstrumentsAsync(
Instruments
, replaceAll: true, cancellationToken);
201
foreach (var instrument in
Instruments
)
Components\Controls\Chart\MeterOverview.razor.cs (2)
39
/// Gets or sets how cards are ordered. Null keeps the order of <see cref="LiveSparklinesBase.
Instruments
"/>.
107
var ordered =
Instruments
.OrderBy(i => GetSparkline(i).LatestValue is null);
Aspire.Dashboard.Components.Tests (2)
Pages\MetricsTests.cs (2)
1480
builder.Add(c => c.
Instruments
, instruments);
1512
builder.Add(c => c.
Instruments
, telemetryRepository.GetInstrumentSummaries(resource.ResourceKey));