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