Class AspireApplicationDiagnostics

Namespace
XBullet.EasyTesting.Aspire
Assembly
XBullet.EasyTesting.Aspire.dll

Diagnostics captured from a running Aspire distributed application.

public sealed class AspireApplicationDiagnostics
Inheritance
AspireApplicationDiagnostics
Inherited Members

Constructors

AspireApplicationDiagnostics(DateTimeOffset, IReadOnlyList<AspireResourceDiagnostics>)

Creates an immutable diagnostics snapshot.

public AspireApplicationDiagnostics(DateTimeOffset capturedAt, IReadOnlyList<AspireResourceDiagnostics> resources)

Parameters

capturedAt DateTimeOffset

The absolute instant at which the diagnostics were captured.

resources IReadOnlyList<AspireResourceDiagnostics>

The resource diagnostics in AppHost model order. The list is retained without being copied; callers should not mutate it after construction.

Fields

ExceptionDataKey

The exception-data key used by distributed test failures.

public const string ExceptionDataKey = "XBullet.EasyTesting.Aspire.Diagnostics"

Field Value

string

Properties

CapturedAt

Gets the capture timestamp.

public DateTimeOffset CapturedAt { get; }

Property Value

DateTimeOffset

The absolute instant at which the snapshot was created.

Resources

Gets resource state and log diagnostics.

public IReadOnlyList<AspireResourceDiagnostics> Resources { get; }

Property Value

IReadOnlyList<AspireResourceDiagnostics>

The resource diagnostics in AppHost model order. The returned list is the instance supplied to the constructor and should be treated as read-only.