12 references to ToKeyValuePairs
Aspire.Dashboard (7)
Otlp\Model\MetricValues\DimensionScope.cs (1)
140
Attributes = exemplar.FilteredAttributes.
ToKeyValuePairs
(context),
Otlp\Model\OtlpHelpers.cs (1)
559
? new OtlpScope(scope.Name, scope.Version, scope.Attributes.
ToKeyValuePairs
(context))
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (1)
192
instrumentationScope.Attributes.
ToKeyValuePairs
(_otlpContext));
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (2)
500
var attributes = pointAttributes.
ToKeyValuePairs
(_otlpContext);
768
Attributes = exemplar.FilteredAttributes.
ToKeyValuePairs
(_otlpContext)
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (2)
950
Attributes = spanEvent.Attributes.
ToKeyValuePairs
(_otlpContext)
963
Attributes = link.Attributes.
ToKeyValuePairs
(_otlpContext)
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.Playwright.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));