Module: ClaudeMemory::OTel::EventName

Defined in:
lib/claude_memory/otel/constants.rb

Overview

Canonical event names emitted by Claude Code’s OTel instrumentation. Used by panels for filtering and by the parser when stripping the ‘claude_code.` prefix off `event.name` attributes.

Constant Summary collapse

USER_PROMPT =
"user_prompt"
TOOL_RESULT =
"tool_result"
API_REQUEST =
"api_request"
API_ERROR =
"api_error"
API_REQUEST_BODY =
"api_request_body"
API_RESPONSE_BODY =
"api_response_body"
API_PAIR =
[API_REQUEST, API_ERROR].freeze
PROMPT_BODY_FAMILY =
[USER_PROMPT, TOOL_RESULT, API_REQUEST_BODY, API_RESPONSE_BODY].freeze