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