AXIAM PHP SDK

RequestEndEvent extends TelemetryEvent
in package

FinalYes

Emitted after a call completes, success or failure (CONTRACT.md ยง19).

Table of Contents

Constants

OUTCOME_FAILURE  : mixed = 'failure'
Outcome: the call failed, at any layer.
OUTCOME_SUCCESS  : mixed = 'success'
Outcome: the call returned a usable response.
REFRESH_FOLLOWER  : mixed = 'follower'
Refresh role: this caller waited on another's refresh.
REFRESH_LEADER  : mixed = 'leader'
Refresh role: this caller performed the refresh.

Properties

$attempt  : int
$durationMs  : float
$method  : string
$operation  : string
$outcome  : string
$pathTemplate  : string
$status  : int|null

Methods

__construct()  : mixed

Constants

OUTCOME_FAILURE

Outcome: the call failed, at any layer.

public mixed OUTCOME_FAILURE = 'failure'

OUTCOME_SUCCESS

Outcome: the call returned a usable response.

public mixed OUTCOME_SUCCESS = 'success'

REFRESH_FOLLOWER

Refresh role: this caller waited on another's refresh.

public mixed REFRESH_FOLLOWER = 'follower'

REFRESH_LEADER

Refresh role: this caller performed the refresh.

public mixed REFRESH_LEADER = 'leader'

Properties

Methods

__construct()

public __construct(string $operation, string $method, string $pathTemplate, int $attempt, int|null $status, float $durationMs, string $outcome) : mixed
Parameters
$operation : string

Canonical operation name.

$method : string

HTTP method.

$pathTemplate : string

The route constant; see RequestStartEvent.

$attempt : int

The attempt this event closes.

$status : int|null

HTTP status, or null when no response arrived.

$durationMs : float

Wall-clock duration of this attempt, in milliseconds.

$outcome : string

One of TelemetryEvent's OUTCOME_* constants.

On this page

Search results