Class RpcIncubatingEvents

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

public final class RpcIncubatingEvents extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    This event represents an exception that occurred during an outgoing RPC call, such as network failures, timeouts, serialization errors, or other errors that prevent the call from completing successfully.
    static final String
    Deprecated.
    Deprecated, no replacement at this time.
    static final String
    This event represents an exception that occurred during incoming RPC call processing, such as application errors, internal failures, or other exceptions that prevent the server from successfully handling the call.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RPC_CLIENT_CALL_EXCEPTION

      public static final String RPC_CLIENT_CALL_EXCEPTION
      This event represents an exception that occurred during an outgoing RPC call, such as network failures, timeouts, serialization errors, or other errors that prevent the call from completing successfully.

      Notes:

      This event SHOULD be recorded when an exception occurs during RPC client call operations. Instrumentations SHOULD set the severity to WARN (severity number 13) when recording this event. Instrumentations MAY provide a configuration option to populate exception events with the attributes captured on the corresponding RPC client span.

      See Also:
    • RPC_MESSAGE

      @Deprecated public static final String RPC_MESSAGE
      Deprecated.
      Deprecated, no replacement at this time.
      Describes a message sent or received within the context of an RPC call.

      Notes:

      In the lifetime of an RPC stream, an event for each message sent/received on client and server spans SHOULD be created. In case of unary calls message events SHOULD NOT be recorded.

      See Also:
    • RPC_SERVER_CALL_EXCEPTION

      public static final String RPC_SERVER_CALL_EXCEPTION
      This event represents an exception that occurred during incoming RPC call processing, such as application errors, internal failures, or other exceptions that prevent the server from successfully handling the call.

      Notes:

      This event SHOULD be recorded when an exception occurs during RPC server call processing. Instrumentations SHOULD set the severity to ERROR (severity number 17) when recording this event. Instrumentations MAY provide a configuration option to populate exception events with the attributes captured on the corresponding RPC server span.

      See Also: