Class JsonrpcIncubatingAttributes

java.lang.Object
io.opentelemetry.semconv.incubating.JsonrpcIncubatingAttributes

public final class JsonrpcIncubatingAttributes extends Object
  • Field Details

    • JSONRPC_PROTOCOL_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> JSONRPC_PROTOCOL_VERSION
      Protocol version, as specified in the jsonrpc property of the request and its corresponding response.
    • JSONRPC_REQUEST_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> JSONRPC_REQUEST_ID
      A string representation of the id property of the request and its corresponding response.

      Notes:

      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.