Skip to main content

Variable: SemanticAttributes

const SemanticAttributes: object

Defined in: packages/agentos/src/core/observability/ITracer.ts:338

Semantic conventions for span attributes.

Type Declaration

AGENCY_ID

readonly AGENCY_ID: "agency.id" = 'agency.id'

AGENCY_ROLE_ID

readonly AGENCY_ROLE_ID: "agency.role.id" = 'agency.role.id'

EXCEPTION_MESSAGE

readonly EXCEPTION_MESSAGE: "exception.message" = 'exception.message'

EXCEPTION_STACKTRACE

readonly EXCEPTION_STACKTRACE: "exception.stacktrace" = 'exception.stacktrace'

EXCEPTION_TYPE

readonly EXCEPTION_TYPE: "exception.type" = 'exception.type'

GMI_CONVERSATION_ID

readonly GMI_CONVERSATION_ID: "gmi.conversation.id" = 'gmi.conversation.id'

GMI_ID

readonly GMI_ID: "gmi.id" = 'gmi.id'

GMI_PERSONA_ID

readonly GMI_PERSONA_ID: "gmi.persona.id" = 'gmi.persona.id'

HTTP_METHOD

readonly HTTP_METHOD: "http.method" = 'http.method'

HTTP_STATUS_CODE

readonly HTTP_STATUS_CODE: "http.status_code" = 'http.status_code'

HTTP_URL

readonly HTTP_URL: "http.url" = 'http.url'

LLM_COMPLETION_TOKENS

readonly LLM_COMPLETION_TOKENS: "llm.completion_tokens" = 'llm.completion_tokens'

LLM_MODEL

readonly LLM_MODEL: "llm.model" = 'llm.model'

LLM_PROMPT_TOKENS

readonly LLM_PROMPT_TOKENS: "llm.prompt_tokens" = 'llm.prompt_tokens'

LLM_PROVIDER

readonly LLM_PROVIDER: "llm.provider" = 'llm.provider'

LLM_TOTAL_TOKENS

readonly LLM_TOTAL_TOKENS: "llm.total_tokens" = 'llm.total_tokens'

SERVICE_NAME

readonly SERVICE_NAME: "service.name" = 'service.name'

SERVICE_VERSION

readonly SERVICE_VERSION: "service.version" = 'service.version'

TOOL_ID

readonly TOOL_ID: "tool.id" = 'tool.id'

TOOL_NAME

readonly TOOL_NAME: "tool.name" = 'tool.name'

TOOL_RESULT_STATUS

readonly TOOL_RESULT_STATUS: "tool.result.status" = 'tool.result.status'

USER_ID

readonly USER_ID: "user.id" = 'user.id'