29 references to ApplicationKey
Aspire.Dashboard (6)
Components\ResourcesGridColumns\UnreadLogErrorsBadge.razor.cs (1)
42if (!UnviewedErrorCounts.TryGetValue(application.ApplicationKey, out var count) || count == 0)
Otlp\Model\OtlpApplicationView.cs (1)
15public ApplicationKey ApplicationKey => Application.ApplicationKey;
Otlp\Storage\TelemetryRepository.cs (4)
97results = results.Where(a => string.Equals(a.ApplicationKey.Name, name, StringComparisons.ResourceName)); 100var applications = results.OrderBy(a => a.ApplicationKey).ToList(); 172if (_applicationUnviewedErrorLogs.Remove(application.ApplicationKey)) 511if (HasApplication(t, applications[i].ApplicationKey))
Aspire.Dashboard.Tests (23)
TelemetryRepositoryTests\LogTests.cs (8)
68ApplicationKey = applications[0].ApplicationKey, 89var propertyKeys = repository.GetLogPropertyKeys(applications[0].ApplicationKey)!; 491repository.OnNewLogs(applications[0].ApplicationKey, SubscriptionType.Read, () => 521ApplicationKey = applications[0].ApplicationKey, 663ApplicationKey = applications[0].ApplicationKey, 806var applicationKey = repository.GetApplications().First().ApplicationKey; 880ApplicationKey = applications[0].ApplicationKey, 903ApplicationKey = applications[1].ApplicationKey,
TelemetryRepositoryTests\MetricsTests.cs (5)
70var instruments = repository.GetInstrumentsSummaries(applications[0].ApplicationKey); 145ApplicationKey = applications[0].ApplicationKey, 261ApplicationKey = applications[0].ApplicationKey, 359ApplicationKey = applications[0].ApplicationKey, 466ApplicationKey = applications[0].ApplicationKey,
TelemetryRepositoryTests\TraceTests.cs (10)
79ApplicationKey = applications[0].ApplicationKey, 138ApplicationKey = applications[0].ApplicationKey, 193ApplicationKey = applications[0].ApplicationKey, 248ApplicationKey = applications[0].ApplicationKey, 319ApplicationKey = applications[0].ApplicationKey, 396ApplicationKey = applications[0].ApplicationKey, 438ApplicationKey = applications[0].ApplicationKey, 813ApplicationKey = applications[0].ApplicationKey, 937ApplicationKey = applications[0].ApplicationKey, 1510ApplicationKey = application.ApplicationKey,