Struct KevlarTelemetryEvent
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Describes one synchronous event emitted by a Kevlar strategy.
public readonly struct KevlarTelemetryEvent
- Inherited Members
Properties
AttemptNumber
The zero-based execution-attempt number.
public int AttemptNumber { get; }
Property Value
CallbackKind
The callback family that failed, when this is a callback-error event.
public CallbackErrorKind? CallbackKind { get; }
Property Value
CallbackSource
The stable callback or integration identifier, when this is a callback-error event.
public string? CallbackSource { get; }
Property Value
Context
The active execution context. It is valid only during the listener callback.
public KevlarContext Context { get; }
Property Value
Delay
The computed retry, hedge, or break delay, when applicable.
public TimeSpan Delay { get; }
Property Value
Duration
The measured attempt duration, or Zero when not applicable.
public TimeSpan Duration { get; }
Property Value
EventName
The stable event name, such as execution_attempt or retry.
public string EventName { get; }
Property Value
Exception
The associated exception, if any.
public Exception? Exception { get; }
Property Value
FromState
The circuit state left by a transition, when applicable.
public CircuitState? FromState { get; }
Property Value
IsCancelled
Whether this hedge-attempt event completed through cancellation.
public bool IsCancelled { get; }
Property Value
IsSuccess
Whether the event's outcome succeeded.
public bool IsSuccess { get; }
Property Value
IsWinner
Whether this hedge-attempt event describes the outcome selected by the pipeline.
public bool IsWinner { get; }
Property Value
OperationKey
The bounded logical operation key supplied through OperationKey.
public string? OperationKey { get; }
Property Value
Result
The handled result for result-aware events, when available.
public object? Result { get; }
Property Value
RetryAfter
The estimated time until a rejected execution may be retried.
public TimeSpan? RetryAfter { get; }
Property Value
Severity
The event severity.
public KevlarTelemetrySeverity Severity { get; }
Property Value
ShieldName
The executing shield name, if configured.
public string? ShieldName { get; }
Property Value
StrategyIndex
The zero-based strategy position, or -1 for a caller-recorded event.
public int StrategyIndex { get; }
Property Value
StrategyName
The stable strategy name.
public string StrategyName { get; }
Property Value
SuppressionReason
The bounded reason additional attempts were suppressed, when applicable.
public string? SuppressionReason { get; }
Property Value
ToState
The circuit state entered by a transition, when applicable.
public CircuitState? ToState { get; }