//#region src/otel/conventions.ts
/**
* Amplitude OTEL semantic conventions.
*
* Attribute constants for spans created by the SDK and processed by
* SpanEventMapper.
*
* Two namespaces:
* - GENAI_* — standard OTEL GenAI semantic conventions
* - AMP_* — Amplitude-specific attributes that extend the GenAI conventions
*
* Both SDKs (Python and Node) MUST use byte-identical attribute keys.
*/
const GENAI_OPERATION_NAME = "gen_ai.operation.name";
const GENAI_PROVIDER_NAME = "gen_ai.provider.name";
const GENAI_REQUEST_MODEL = "gen_ai.request.model";
const GENAI_RESPONSE_MODEL = "gen_ai.response.model";
const GENAI_INPUT_TOKENS = "gen_ai.usage.input_tokens";
const GENAI_OUTPUT_TOKENS = "gen_ai.usage.output_tokens";
const GENAI_CACHE_READ_INPUT_TOKENS = "gen_ai.usage.cache_read.input_tokens";
const GENAI_CACHE_CREATION_INPUT_TOKENS = "gen_ai.usage.cache_creation.input_tokens";
const GENAI_FINISH_REASONS = "gen_ai.response.finish_reasons";
const GENAI_RESPONSE_ID = "gen_ai.response.id";
const GENAI_CONVERSATION_ID = "gen_ai.conversation.id";
const GENAI_INPUT_MESSAGES = "gen_ai.input.messages";
const GENAI_OUTPUT_MESSAGES = "gen_ai.output.messages";
const GENAI_SYSTEM_INSTRUCTIONS = "gen_ai.system_instructions";
const GENAI_REQUEST_TEMPERATURE = "gen_ai.request.temperature";
const GENAI_REQUEST_MAX_TOKENS = "gen_ai.request.max_tokens";
const GENAI_REQUEST_TOP_P = "gen_ai.request.top_p";
const GENAI_TOOL_NAME = "gen_ai.tool.name";
const GENAI_EMBEDDING_DIMENSIONS = "gen_ai.embeddings.dimension.count";
const GENAI_AGENT_ID = "gen_ai.agent.id";
const GENAI_AGENT_NAME = "gen_ai.agent.name";
const GENAI_ERROR_TYPE = "error.type";
const GENAI_ENDUSER_ID = "enduser.id";
const OP_CHAT = "chat";
const OP_TEXT_COMPLETION = "text_completion";
const OP_GENERATE_CONTENT = "generate_content";
const OP_EMBEDDINGS = "embeddings";
const OP_EXECUTE_TOOL = "execute_tool";
const OP_INVOKE_AGENT = "invoke_agent";
const OP_CREATE_AGENT = "create_agent";
const AMP_SPAN_KIND = "amplitude.span.kind";
const AMP_EVENT_TYPE = "amplitude.event.type";
const AMP_SESSION_ID = "amplitude.session.id";
const AMP_TRACE_ID = "amplitude.trace.id";
const AMP_TURN_ID = "amplitude.turn.id";
const AMP_AGENT_ID = "amplitude.agent.id";
const AMP_PARENT_AGENT_ID = "amplitude.parent.agent.id";
const AMP_INPUT_STATE = "amplitude.input.state";
const AMP_OUTPUT_STATE = "amplitude.output.state";
const AMP_TAGS = "amplitude.tags";
const AMP_GIT_SHA = "amplitude.git.sha";
const AMP_GIT_REF = "amplitude.git.ref";
const AMP_GIT_REPO = "amplitude.git.repo";
const AMP_STACK_TRACE = "amplitude.stack.trace";
const AMP_ERROR_SOURCE = "amplitude.error.source";
const AMP_TOOL_TYPE = "amplitude.tool.type";
const AMP_TOOL_OWNER = "amplitude.tool.owner";
const AMP_SKIP_AUTO_USER_TRACKING = "amplitude.skip.auto.user.tracking";
const AMP_IDLE_TIMEOUT_MINUTES = "amplitude.idle.timeout.minutes";
const AMP_MESSAGE_SOURCE = "amplitude.message.source";
const AMP_SDK_VERSION = "amplitude.sdk.version";
const AMP_RUNTIME = "amplitude.runtime";
const AMP_ENV = "amplitude.env";
const AMP_CUSTOMER_ORG_ID = "amplitude.customer.org.id";
const AMP_AGENT_VERSION = "amplitude.agent.version";
const AMP_AGENT_DESCRIPTION = "amplitude.agent.description";
const AMP_CONTEXT = "amplitude.context";
const SPAN_KIND_AGENT = "agent";
const SPAN_KIND_TOOL = "tool";
const SPAN_KIND_LLM = "llm";
const SPAN_KIND_SPAN = "span";
const SPAN_KIND_SESSION = "session";
const EVENT_TYPE_USER_MESSAGE = "user_message";
const EVENT_TYPE_AI_RESPONSE = "ai_response";
const EVENT_TYPE_TOOL_CALL = "tool_call";
const EVENT_TYPE_SPAN = "span";
const EVENT_TYPE_EMBEDDING = "embedding";
const EVENT_TYPE_SESSION_END = "session_end";

//#endregion
export { AMP_AGENT_DESCRIPTION, AMP_AGENT_ID, AMP_AGENT_VERSION, AMP_CONTEXT, AMP_CUSTOMER_ORG_ID, AMP_ENV, AMP_ERROR_SOURCE, AMP_EVENT_TYPE, AMP_GIT_REF, AMP_GIT_REPO, AMP_GIT_SHA, AMP_IDLE_TIMEOUT_MINUTES, AMP_INPUT_STATE, AMP_MESSAGE_SOURCE, AMP_OUTPUT_STATE, AMP_PARENT_AGENT_ID, AMP_RUNTIME, AMP_SDK_VERSION, AMP_SESSION_ID, AMP_SKIP_AUTO_USER_TRACKING, AMP_SPAN_KIND, AMP_STACK_TRACE, AMP_TAGS, AMP_TOOL_OWNER, AMP_TOOL_TYPE, AMP_TRACE_ID, AMP_TURN_ID, EVENT_TYPE_AI_RESPONSE, EVENT_TYPE_EMBEDDING, EVENT_TYPE_SESSION_END, EVENT_TYPE_SPAN, EVENT_TYPE_TOOL_CALL, EVENT_TYPE_USER_MESSAGE, GENAI_AGENT_ID, GENAI_AGENT_NAME, GENAI_CACHE_CREATION_INPUT_TOKENS, GENAI_CACHE_READ_INPUT_TOKENS, GENAI_CONVERSATION_ID, GENAI_EMBEDDING_DIMENSIONS, GENAI_ENDUSER_ID, GENAI_ERROR_TYPE, GENAI_FINISH_REASONS, GENAI_INPUT_MESSAGES, GENAI_INPUT_TOKENS, GENAI_OPERATION_NAME, GENAI_OUTPUT_MESSAGES, GENAI_OUTPUT_TOKENS, GENAI_PROVIDER_NAME, GENAI_REQUEST_MAX_TOKENS, GENAI_REQUEST_MODEL, GENAI_REQUEST_TEMPERATURE, GENAI_REQUEST_TOP_P, GENAI_RESPONSE_ID, GENAI_RESPONSE_MODEL, GENAI_SYSTEM_INSTRUCTIONS, GENAI_TOOL_NAME, OP_CHAT, OP_CREATE_AGENT, OP_EMBEDDINGS, OP_EXECUTE_TOOL, OP_GENERATE_CONTENT, OP_INVOKE_AGENT, OP_TEXT_COMPLETION, SPAN_KIND_AGENT, SPAN_KIND_LLM, SPAN_KIND_SESSION, SPAN_KIND_SPAN, SPAN_KIND_TOOL };
//# sourceMappingURL=conventions.js.map