AXIAM PHP SDK

RequestStartEvent extends TelemetryEvent
in package

FinalYes

Emitted before an outbound call leaves the SDK (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
$method  : string
$operation  : string
$pathTemplate  : string

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) : mixed
Parameters
$operation : string

Canonical operation name, e.g. checkAccess.

$method : string

HTTP method.

$pathTemplate : string

The route constant — /api/v1/authz/check, never a URL with ids substituted in. A metric label carrying a UUID is a cardinality bomb.

$attempt : int

1 for the first try, incrementing per §16 retry.

On this page

Search results