7 references to MaxScopeCount
Aspire.Dashboard (4)
Otlp\Model\OtlpHelpers.cs (2)
526if (scopes.Count >= TelemetryRepositoryLimits.MaxScopeCount) 528throw new InvalidOperationException($"Scope limit of {TelemetryRepositoryLimits.MaxScopeCount} reached for {telemetryType}. Scope '{name}' will not be added.");
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (2)
226if (scopeCount >= TelemetryRepositoryLimits.MaxScopeCount) 228throw new InvalidOperationException($"Scope limit of {TelemetryRepositoryLimits.MaxScopeCount} reached. Scope '{incomingScope.Name}' will not be added.");
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\TelemetryLimitTests.cs (3)
442for (var i = 0; i < TelemetryRepositoryLimits.MaxScopeCount; i++) 489for (var i = 0; i < TelemetryRepositoryLimits.MaxScopeCount; i++) 534for (var i = 0; i < TelemetryRepositoryLimits.MaxScopeCount; i++)