1 write to Attributes
Aspire.Dashboard (1)
Otlp\Model\MetricValues\DimensionScope.cs (1)
26
Attributes
= attributes;
10 references to Attributes
Aspire.Dashboard (3)
Components\Controls\Chart\ChartContainer.razor.cs (1)
120
if (!MatchFilter(dimension.
Attributes
, dimensionFilter))
Otlp\Model\MetricValues\DimensionScope.cs (2)
27
var name =
Attributes
.ConcatProperties();
155
var newDimensionScope = new DimensionScope(value.Capacity, value.
Attributes
);
Aspire.Dashboard.Tests (7)
TelemetryRepositoryTests\MetricsTests.cs (7)
179
var dimensionAttributes = instrument.Dimensions.Single().
Attributes
;
275
var dimensionAttributes = instrument.Dimensions.Single().
Attributes
;
386
var dimension = instrumentData.Dimensions.Single(d => d.
Attributes
.Length == 0);
597
Assert.Equal(KeyValuePair.Create("key-1", "value-1"), d.
Attributes
.Single());
602
Assert.Equal(KeyValuePair.Create("key-1", "value-2"), d.
Attributes
.Single());
607
Assert.Equal(KeyValuePair.Create("key-1", "value-3"), d.
Attributes
.Single());
623
Assert.True(Enumerable.SequenceEqual(MemoryMarshal.ToEnumerable(key), scope.
Attributes
), "Key and attributes don't match.");