2 writes to Attributes
Aspire.Dashboard (2)
Otlp\Model\MetricValues\DimensionScope.cs (1)
160Attributes = exemplar.FilteredAttributes.ToKeyValuePairs(context),
Otlp\Storage\SqliteTelemetryRepository.Metrics.Reads.cs (1)
463Attributes = attributes[item.Record.ExemplarId].Select(attribute => KeyValuePair.Create(attribute.AttributeKey, attribute.AttributeValue)).ToArray()
6 references to Attributes
Aspire.Dashboard (1)
Model\TelemetryExportService.cs (1)
599FilteredAttributes = ConvertAttributes(e.Attributes)
Aspire.Dashboard.Tests (5)
TelemetryRepositoryTests\MetricsTests.cs (5)
412Assert.Equal("key1", exemplar.Attributes[0].Key); 413Assert.Equal("value1", exemplar.Attributes[0].Value); 1707Assert.Empty(exemplar.Attributes); 2309exemplar => Assert.Equal("first", Assert.Single(exemplar.Attributes).Key), 2310exemplar => Assert.Equal("second", Assert.Single(exemplar.Attributes).Key));