11 writes to MaxAttributeCount
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
237
options.
MaxAttributeCount
= maxAttributeCount.Value;
Aspire.Dashboard.Tests (10)
TelemetryRepositoryTests\OtlpHelpersTests.cs (9)
172
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
202
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
246
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
285
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
321
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
364
TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }),
400
var results = attributes.ToKeyValuePairs(TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 2 }));
435
var context = TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 2 }, logger: factory.CreateLogger<OtlpHelpersTests>());
480
var context = TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions {
MaxAttributeCount
= 3 }, logger: factory.CreateLogger<OtlpHelpersTests>());
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
237
options.
MaxAttributeCount
= maxAttributeCount.Value;