OpenTelemetry PHP

JsonrpcIncubatingAttributes

Semantic attributes and corresponding values for jsonrpc.

Tags
see
https://opentelemetry.io/docs/specs/semconv/registry/attributes/jsonrpc/

May contain @experimental Semantic Conventions which may change or be removed in the future.

Table of Contents

Constants

JSONRPC_PROTOCOL_VERSION  : mixed = 'jsonrpc.protocol.version'
Protocol version, as specified in the `jsonrpc` property of the request and its corresponding response.
JSONRPC_REQUEST_ID  : mixed = 'jsonrpc.request.id'
A string representation of the `id` property of the request and its corresponding response.

Constants

JSONRPC_PROTOCOL_VERSION

Protocol version, as specified in the `jsonrpc` property of the request and its corresponding response.

public mixed JSONRPC_PROTOCOL_VERSION = 'jsonrpc.protocol.version'
Tags
experimental

JSONRPC_REQUEST_ID

A string representation of the `id` property of the request and its corresponding response.

public mixed JSONRPC_REQUEST_ID = 'jsonrpc.request.id'

Under the JSON-RPC specification, the id property may be a string, number, null, or omitted entirely. When omitted, the request is treated as a notification. Using null is not equivalent to omitting the id, but it is discouraged. Instrumentations SHOULD NOT capture this attribute when the id is null or omitted.

Tags
experimental
On this page

Search results