Oihana PHP Enums

ObservabilityHeaderTrait

Observability / tracing HTTP header names.

Mixed into HttpHeader.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

SERVER_TIMING  : string = 'Server-Timing'
`Server-Timing` — Server-side performance metrics for the response (W3C).
TIMING_ALLOW_ORIGIN  : string = 'Timing-Allow-Origin'
`Timing-Allow-Origin` — Origins allowed to read detailed Resource Timing data (W3C).
TRACEPARENT  : string = 'traceparent'
`traceparent` — W3C Trace Context: incoming trace and parent span identifiers.
TRACESTATE  : string = 'tracestate'
`tracestate` — W3C Trace Context: vendor-specific trace state.
X_CORRELATION_ID  : string = 'X-Correlation-Id'
`X-Correlation-Id` — Correlates requests across services (de-facto).
X_REQUEST_ID  : string = 'X-Request-Id'
`X-Request-Id` — Unique identifier of the request (de-facto).
X_RESPONSE_TIME  : string = 'X-Response-Time'
`X-Response-Time` — Time taken to produce the response (de-facto, Express/Koa).

Constants

SERVER_TIMING

`Server-Timing` — Server-side performance metrics for the response (W3C).

public string SERVER_TIMING = 'Server-Timing'

TIMING_ALLOW_ORIGIN

`Timing-Allow-Origin` — Origins allowed to read detailed Resource Timing data (W3C).

public string TIMING_ALLOW_ORIGIN = 'Timing-Allow-Origin'

TRACEPARENT

`traceparent` — W3C Trace Context: incoming trace and parent span identifiers.

public string TRACEPARENT = 'traceparent'

TRACESTATE

`tracestate` — W3C Trace Context: vendor-specific trace state.

public string TRACESTATE = 'tracestate'

X_CORRELATION_ID

`X-Correlation-Id` — Correlates requests across services (de-facto).

public string X_CORRELATION_ID = 'X-Correlation-Id'

X_REQUEST_ID

`X-Request-Id` — Unique identifier of the request (de-facto).

public string X_REQUEST_ID = 'X-Request-Id'

X_RESPONSE_TIME

`X-Response-Time` — Time taken to produce the response (de-facto, Express/Koa).

public string X_RESPONSE_TIME = 'X-Response-Time'
On this page

Search results