1 write to InstanceId
Aspire.Dashboard (1)
Otlp\Model\OtlpApplication.cs (1)
36InstanceId = instanceId;
33 references to InstanceId
Aspire.Dashboard (6)
Components\ResourcesGridColumns\UnreadLogErrorsBadge.razor.cs (1)
49? application.InstanceId
Model\Otlp\ApplicationsSelectHelpers.cs (2)
57Id = ResourceTypeDetails.CreateSingleton(app.InstanceId, applicationName), 75Id = ResourceTypeDetails.CreateReplicaInstance(replica.InstanceId, applicationName),
Otlp\Model\OtlpApplication.cs (2)
26public ApplicationKey ApplicationKey => new ApplicationKey(ApplicationName, InstanceId); 165var instanceId = app.InstanceId;
Otlp\Model\OtlpApplicationView.cs (1)
47new OtlpDisplayField { DisplayName = "service.instance.id", Key = KnownResourceFields.ServiceInstanceIdField, Value = Application.InstanceId }
Aspire.Dashboard.Tests (27)
TelemetryRepositoryTests\ApplicationTests.cs (8)
32Assert.Equal("TestId", app.InstanceId); 37Assert.Equal("TestId", app.InstanceId); 75Assert.Equal("123", app.InstanceId); 80Assert.Equal("456", app.InstanceId); 91Assert.Equal("TestId", app.InstanceId); 113Assert.Equal("abc", app.InstanceId); 118Assert.Equal("def", app.InstanceId); 123Assert.Equal("TestId", app.InstanceId);
TelemetryRepositoryTests\LogTests.cs (5)
63Assert.Equal("TestId", app.InstanceId); 486Assert.Equal("TestId", app.InstanceId); 658Assert.Equal("TestId", app.InstanceId); 870Assert.Equal("computer-name", app.InstanceId); 875Assert.Equal("computer-name", app.InstanceId);
TelemetryRepositoryTests\MetricsTests.cs (5)
67Assert.Equal("TestId", app.InstanceId); 140Assert.Equal("TestId", app.InstanceId); 256Assert.Equal("TestId", app.InstanceId); 354Assert.Equal("TestId", app.InstanceId); 461Assert.Equal("TestId", app.InstanceId);
TelemetryRepositoryTests\TraceTests.cs (9)
74Assert.Equal("TestId", app.InstanceId); 133Assert.Equal("TestId", app.InstanceId); 188Assert.Equal("TestId", app.InstanceId); 243Assert.Equal("TestId", app.InstanceId); 314Assert.Equal("TestId", app.InstanceId); 391Assert.Equal("TestId", app.InstanceId); 808Assert.Equal("TestId", app.InstanceId); 932Assert.Equal("TestId", app.InstanceId); 1479Assert.Equal("TestId", application.InstanceId);