9 references to ToKeyValuePairs
Aspire.Dashboard (5)
Otlp\Model\MetricValues\DimensionScope.cs (1)
152
Attributes = exemplar.FilteredAttributes.
ToKeyValuePairs
(context),
Otlp\Model\OtlpHelpers.cs (1)
461
? new OtlpScope(scope.Name, scope.Version, scope.Attributes.
ToKeyValuePairs
(context))
Otlp\Storage\TelemetryRepository.cs (3)
1188
Attributes = e.Attributes.
ToKeyValuePairs
(context)
1202
Attributes = span.Attributes.
ToKeyValuePairs
(context),
1216
Attributes = e.Attributes.
ToKeyValuePairs
(context)
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
50
return new OtlpScope(scope.Name, scope.Version, scope.Attributes.
ToKeyValuePairs
(context));
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
400
var results = attributes.
ToKeyValuePairs
(TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 2 }));
436
var results = attributes.
ToKeyValuePairs
(context);
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
50
return new OtlpScope(scope.Name, scope.Version, scope.Attributes.
ToKeyValuePairs
(context));