8 references to ToKeyValuePairs
Aspire.Dashboard (6)
Otlp\Model\MetricValues\DimensionScope.cs (1)
145
Attributes = exemplar.FilteredAttributes.
ToKeyValuePairs
(context),
Otlp\Model\OtlpMeter.cs (1)
21
Attributes = scope.Attributes.
ToKeyValuePairs
(context);
Otlp\Model\OtlpScope.cs (1)
31
Attributes = scope.Attributes.
ToKeyValuePairs
(context);
Otlp\Storage\TelemetryRepository.cs (3)
996
Attributes = e.Attributes.
ToKeyValuePairs
(context)
1010
Attributes = span.Attributes.
ToKeyValuePairs
(context),
1024
Attributes = e.Attributes.
ToKeyValuePairs
(context)
Aspire.Dashboard.Tests (2)
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
387
var results = attributes.
ToKeyValuePairs
(TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 2 }));
423
var results = attributes.
ToKeyValuePairs
(context);