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