Class McpIncubatingAttributes

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

public final class McpIncubatingAttributes extends Object
  • Field Details

    • MCP_METHOD_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> MCP_METHOD_NAME
      The name of the request or notification method.
    • MCP_PROTOCOL_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> MCP_PROTOCOL_VERSION
      The version of the Model Context Protocol used.
    • MCP_RESOURCE_URI

      public static final io.opentelemetry.api.common.AttributeKey<String> MCP_RESOURCE_URI
      The value of the resource uri.

      Notes:

      This is a URI of the resource provided in the following requests or notifications: resources/read, resources/subscribe, resources/unsubscribe, or notifications/resources/updated.

    • MCP_SESSION_ID

      public static final io.opentelemetry.api.common.AttributeKey<String> MCP_SESSION_ID
      Identifies MCP session.