Variable SemanticAttributesConst
SemanticAttributes: {
SERVICE_NAME: "service.name";
SERVICE_VERSION: "service.version";
GMI_ID: "gmi.id";
GMI_PERSONA_ID: "gmi.persona.id";
GMI_CONVERSATION_ID: "gmi.conversation.id";
AGENCY_ID: "agency.id";
AGENCY_ROLE_ID: "agency.role.id";
LLM_PROVIDER: "llm.provider";
LLM_MODEL: "llm.model";
LLM_PROMPT_TOKENS: "llm.prompt_tokens";
LLM_COMPLETION_TOKENS: "llm.completion_tokens";
LLM_TOTAL_TOKENS: "llm.total_tokens";
TOOL_ID: "tool.id";
TOOL_NAME: "tool.name";
TOOL_RESULT_STATUS: "tool.result.status";
EXCEPTION_TYPE: "exception.type";
EXCEPTION_MESSAGE: "exception.message";
EXCEPTION_STACKTRACE: "exception.stacktrace";
HTTP_METHOD: "http.method";
HTTP_URL: "http.url";
HTTP_STATUS_CODE: "http.status_code";
USER_ID: "user.id";
} = ...
Type declaration
Readonly SERVICE_NAME: "service.name"
Readonly SERVICE_VERSION: "service.version"
Readonly GMI_ID: "gmi.id"
Readonly GMI_PERSONA_ID: "gmi.persona.id"
Readonly GMI_CONVERSATION_ID: "gmi.conversation.id"
Readonly AGENCY_ID: "agency.id"
Readonly AGENCY_ROLE_ID: "agency.role.id"
Readonly LLM_PROVIDER: "llm.provider"
Readonly LLM_MODEL: "llm.model"
Readonly LLM_PROMPT_TOKENS: "llm.prompt_tokens"
Readonly LLM_COMPLETION_TOKENS: "llm.completion_tokens"
Readonly LLM_TOTAL_TOKENS: "llm.total_tokens"
Readonly TOOL_ID: "tool.id"
Readonly TOOL_NAME: "tool.name"
Readonly TOOL_RESULT_STATUS: "tool.result.status"
Readonly EXCEPTION_TYPE: "exception.type"
Readonly EXCEPTION_MESSAGE: "exception.message"
Readonly EXCEPTION_STACKTRACE: "exception.stacktrace"
Readonly HTTP_METHOD: "http.method"
Readonly HTTP_URL: "http.url"
Readonly HTTP_STATUS_CODE: "http.status_code"
Readonly USER_ID: "user.id"
Semantic conventions for span attributes.