Class JsonrpcIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.JsonrpcIncubatingAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String> Protocol version, as specified in thejsonrpcproperty of the request and its corresponding response.static final io.opentelemetry.api.common.AttributeKey<String> A string representation of theidproperty of the request and its corresponding response. -
Method Summary
-
Field Details
-
JSONRPC_PROTOCOL_VERSION
Protocol version, as specified in thejsonrpcproperty of the request and its corresponding response. -
JSONRPC_REQUEST_ID
A string representation of theidproperty of the request and its corresponding response.Notes:
Under the JSON-RPC specification, the
idproperty may be a string, number, null, or omitted entirely. When omitted, the request is treated as a notification. Usingnullis not equivalent to omitting theid, but it is discouraged. Instrumentations SHOULD NOT capture this attribute when theidisnullor omitted.
-