2 writes to Dimensions
Aspire.Dashboard (2)
Otlp\Storage\TelemetryRepository.cs (2)
1300
Dimensions
= instrument.Dimensions.Values.ToList(),
1334
Dimensions
= allDimensions,
15 references to Dimensions
Aspire.Dashboard (3)
Components\Controls\Chart\ChartContainer.razor.cs (3)
102
if (_instrument.
Dimensions
.Count > _renderedDimensionsCount)
105
_renderedDimensionsCount = _instrument.
Dimensions
.Count;
127
var matchedDimensions = instrument.
Dimensions
.Where(MatchDimension).ToList();
Aspire.Dashboard.Tests (12)
TelemetryRepositoryTests\MetricsTests.cs (12)
187
var dimensionAttributes = instrument.
Dimensions
.Single().Attributes;
283
var dimensionAttributes = instrument.
Dimensions
.Single().Attributes;
392
Assert.Equal(5, instrumentData.
Dimensions
.Count);
394
var dimension = instrumentData.
Dimensions
.Single(d => d.Attributes.Length == 0);
487
var dimension = Assert.Single(instrument.
Dimensions
);
602
Assert.Collection(instrument.
Dimensions
.OrderBy(d => d.Name),
789
var resource1Test1Dimensions = Assert.Single(resource1Test1Instrument.
Dimensions
);
842
var resource2Test1Dimensions = Assert.Single(resource2Test1Instrument.
Dimensions
);
857
var resource2Test3Dimensions = Assert.Single(resource2Test3Instrument.
Dimensions
);
982
var resource2Test1Dimensions = Assert.Single(resource2Test1Instrument.
Dimensions
);
997
var resource2Test3Dimensions = Assert.Single(resource2Test3Instrument.
Dimensions
);
1128
var dimension = Assert.Single(instrument.
Dimensions
);