22 instantiations of TelemetryLimitOptions
Aspire.Dashboard (1)
Configuration\DashboardOptions.cs (1)
18public TelemetryLimitOptions TelemetryLimits { get; set; } = new();
Aspire.Dashboard.Components.Tests (4)
Controls\PlotlyChartTests.cs (1)
55var options = new TelemetryLimitOptions();
Controls\StructuredLogDetailsTests.cs (1)
26var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
230var options = new TelemetryLimitOptions(); 285Options = options ?? new TelemetryLimitOptions(),
Aspire.Dashboard.Tests (17)
Model\SpanWaterfallViewModelTests.cs (1)
18var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
Model\TraceHelpersTests.cs (4)
18var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 39var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 66var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 93var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
TelemetryRepositoryTests\OtlpHelpersTests.cs (9)
172TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 202TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 246TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 285TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 321TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 364TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }), 400var results = attributes.ToKeyValuePairs(TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 2 })); 435var context = TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 2 }, logger: factory.CreateLogger<OtlpHelpersTests>()); 480var context = TelemetryTestHelpers.CreateContext(options: new TelemetryLimitOptions { MaxAttributeCount = 3 }, logger: factory.CreateLogger<OtlpHelpersTests>());
TelemetryRepositoryTests\OtlpSpanTests.cs (1)
20var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
230var options = new TelemetryLimitOptions(); 285Options = options ?? new TelemetryLimitOptions(),
6 references to TelemetryLimitOptions
Aspire.Dashboard (1)
Configuration\DashboardOptions.cs (1)
18public TelemetryLimitOptions TelemetryLimits { get; set; } = new();
Aspire.Dashboard.Components.Tests (3)
Controls\PlotlyChartTests.cs (1)
55var options = new TelemetryLimitOptions();
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
230var options = new TelemetryLimitOptions(); 281public static OtlpContext CreateContext(TelemetryLimitOptions? options = null, ILogger? logger = null)
Aspire.Dashboard.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
230var options = new TelemetryLimitOptions(); 281public static OtlpContext CreateContext(TelemetryLimitOptions? options = null, ILogger? logger = null)