OpenTelemetry PHP

HttpMetrics

Table of Contents

Constants

HTTP_CLIENT_ACTIVE_REQUESTS  = 'http.client.active_requests'
Number of active HTTP requests.
HTTP_CLIENT_CONNECTION_DURATION  = 'http.client.connection.duration'
The duration of the successfully established outbound HTTP connections.
HTTP_CLIENT_OPEN_CONNECTIONS  = 'http.client.open_connections'
Number of outbound HTTP connections that are currently active or idle on the client.
HTTP_CLIENT_REQUEST_BODY_SIZE  = 'http.client.request.body.size'
Size of HTTP client request bodies.
HTTP_CLIENT_REQUEST_DURATION  = 'http.client.request.duration'
Duration of HTTP client requests.
HTTP_CLIENT_RESPONSE_BODY_SIZE  = 'http.client.response.body.size'
Size of HTTP client response bodies.
HTTP_SERVER_ACTIVE_REQUESTS  = 'http.server.active_requests'
Number of active HTTP server requests.
HTTP_SERVER_REQUEST_BODY_SIZE  = 'http.server.request.body.size'
Size of HTTP server request bodies.
HTTP_SERVER_REQUEST_DURATION  = 'http.server.request.duration'
Duration of HTTP server requests.
HTTP_SERVER_RESPONSE_BODY_SIZE  = 'http.server.response.body.size'
Size of HTTP server response bodies.

Constants

HTTP_CLIENT_ACTIVE_REQUESTS

Number of active HTTP requests.

public mixed HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'

Instrument: updowncounter Unit: {request}

Tags
experimental

HTTP_CLIENT_CONNECTION_DURATION

The duration of the successfully established outbound HTTP connections.

public mixed HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration'

Instrument: histogram Unit: s

Tags
experimental

HTTP_CLIENT_OPEN_CONNECTIONS

Number of outbound HTTP connections that are currently active or idle on the client.

public mixed HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections'

Instrument: updowncounter Unit: {connection}

Tags
experimental

HTTP_CLIENT_REQUEST_BODY_SIZE

Size of HTTP client request bodies.

public mixed HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size'

The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size.

Instrument: histogram Unit: By

Tags
experimental

HTTP_CLIENT_REQUEST_DURATION

Duration of HTTP client requests.

public mixed HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration'

Instrument: histogram Unit: s

Tags
stable

HTTP_CLIENT_RESPONSE_BODY_SIZE

Size of HTTP client response bodies.

public mixed HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size'

The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size.

Instrument: histogram Unit: By

Tags
experimental

HTTP_SERVER_ACTIVE_REQUESTS

Number of active HTTP server requests.

public mixed HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'

Instrument: updowncounter Unit: {request}

Tags
experimental

HTTP_SERVER_REQUEST_BODY_SIZE

Size of HTTP server request bodies.

public mixed HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size'

The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size.

Instrument: histogram Unit: By

Tags
experimental

HTTP_SERVER_REQUEST_DURATION

Duration of HTTP server requests.

public mixed HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration'

Instrument: histogram Unit: s

Tags
stable

HTTP_SERVER_RESPONSE_BODY_SIZE

Size of HTTP server response bodies.

public mixed HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size'

The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size.

Instrument: histogram Unit: By

Tags
experimental

        
On this page

Search results