Static ReadonlyA365_Attribute key for the A365 messages schema version.
Static ReadonlyAGENT_Attribute key for the agent identifier (alias of GEN_AI_AGENT_ID_KEY).
Static ReadonlyAPPLY_Operation name used for guardrail-evaluation spans.
Static ReadonlyAZ_Attribute key for the Azure resource provider namespace (az.namespace).
Static ReadonlyAZURE_Azure resource provider namespace value for Cognitive Services.
Static ReadonlyCHANNEL_Attribute key for the channel link/description (microsoft.channel.link).
Static ReadonlyCHANNEL_Attribute key for the channel name (microsoft.channel.name).
Static ReadonlyCHAT_Operation name used for model chat/inference spans.
Static ReadonlyCUSTOM_Attribute key for a custom parent span identifier (custom.parent.span.id).
Static ReadonlyCUSTOM_Attribute key for a custom span name (custom.span.name).
Static ReadonlyENABLE_Environment-variable name that enables A365 observability.
Static ReadonlyENABLE_Environment-variable name that enables the A365 observability exporter.
Static ReadonlyENABLE_Environment-variable name that enables observability.
Static ReadonlyENABLE_Feature-switch name that enables the experimental activity source.
Static ReadonlyERROR_Attribute key for a human-readable error message (error.message).
Static ReadonlyERROR_Error-type value used when an operation was cancelled.
Static ReadonlyERROR_Attribute key for the error type recorded on a span (error.type).
Static ReadonlyEXECUTE_Operation name used for tool-execution spans.
Static ReadonlyGEN_Attribute/baggage key for the agentic user identifier (microsoft.agent.user.id).
Static ReadonlyGEN_Attribute/baggage key for the agent blueprint identifier (microsoft.a365.agent.blueprint.id).
Static ReadonlyGEN_Attribute key for the agent description (gen_ai.agent.description).
Static ReadonlyGEN_Attribute/baggage key for the agentic user email (microsoft.agent.user.email).
Static ReadonlyGEN_Attribute key for the agent identifier (gen_ai.agent.id).
Static ReadonlyGEN_Attribute key for the agent display name (gen_ai.agent.name).
Static ReadonlyGEN_Attribute key for the agent platform identifier (microsoft.a365.agent.platform.id).
Static ReadonlyGEN_Attribute key for the agent thought process (microsoft.a365.agent.thought.process).
Static ReadonlyGEN_Attribute key for the agent version (gen_ai.agent.version).
Static ReadonlyGEN_Attribute key for the calling agent's blueprint (application) identifier.
Static ReadonlyGEN_Attribute key for the calling agent's agentic user email.
Static ReadonlyGEN_Attribute key for the calling agent's identifier.
Static ReadonlyGEN_Attribute key for the calling agent's name.
Static ReadonlyGEN_Attribute key for the calling agent's platform identifier.
Static ReadonlyGEN_Attribute key for the calling agent's agentic user identifier.
Static ReadonlyGEN_Attribute key for the calling agent's version.
Static ReadonlyGEN_Attribute key for the caller client IP address (client.address).
Static ReadonlyGEN_Attribute key for a gen-ai choice (gen_ai.choice).
Static ReadonlyGEN_Metric name for the gen-ai client operation duration.
Static ReadonlyGEN_Metric name for gen-ai client token usage.
Static ReadonlyGEN_Attribute key for the conversation identifier (gen_ai.conversation.id).
Static ReadonlyGEN_Attribute key for the conversation item deep link (microsoft.conversation.item.link).
Static ReadonlyGEN_Attribute key for the execution payload (gen_ai.execution.payload).
Static ReadonlyGEN_Attribute key for the agent icon URI (gen_ai.agent365.icon_uri).
Static ReadonlyGEN_Attribute key for the serialized input messages (gen_ai.input.messages).
Static ReadonlyGEN_Attribute key for the gen-ai operation name (gen_ai.operation.name).
Static ReadonlyGEN_Attribute key for the serialized output messages (gen_ai.output.messages).
Static ReadonlyGEN_Attribute key for the gen-ai provider name (gen_ai.provider.name).
Static ReadonlyGEN_Attribute key for the requested maximum number of tokens (gen_ai.request.max_tokens).
Static ReadonlyGEN_Attribute key for the requested model name (gen_ai.request.model).
Static ReadonlyGEN_Attribute key for the sampling temperature (gen_ai.request.temperature).
Static ReadonlyGEN_Attribute key for the nucleus-sampling top-p value (gen_ai.request.top_p).
Static ReadonlyGEN_Attribute key for the finish reasons returned by the model (gen_ai.response.finish_reasons).
Static ReadonlyGEN_Attribute key for the model that produced the response (gen_ai.response.model).
Static ReadonlyGEN_Attribute key for the system instructions (gen_ai.system_instructions).
Static ReadonlyGEN_Attribute key for the task identifier (gen_ai.task.id).
Static ReadonlyGEN_Attribute key for the serialized tool-call arguments (gen_ai.tool.call.arguments).
Static ReadonlyGEN_Attribute key for the tool-call identifier (gen_ai.tool.call.id).
Static ReadonlyGEN_Attribute key for the tool-call result (gen_ai.tool.call.result).
Static ReadonlyGEN_Attribute key for the tool description (gen_ai.tool.description).
Static ReadonlyGEN_Attribute key for the tool name (gen_ai.tool.name).
Static ReadonlyGEN_Attribute key for the tool type (gen_ai.tool.type).
Static ReadonlyGEN_Attribute key for the number of input (prompt) tokens (gen_ai.usage.input_tokens).
Static ReadonlyGEN_Attribute key for the number of output (completion) tokens (gen_ai.usage.output_tokens).
Static ReadonlyGUARDIAN_Attribute key for the guardian identifier (microsoft.guardian.id).
Static ReadonlyGUARDIAN_Attribute key for the guardian name (microsoft.guardian.name).
Static ReadonlyGUARDIAN_Attribute key for the guardian provider name (microsoft.guardian.provider.name).
Static ReadonlyGUARDIAN_Attribute key for the guardian version (microsoft.guardian.version).
Static ReadonlyINVOKE_Operation name (gen_ai.operation.name) used for agent invocation spans.
Static ReadonlyOUTPUT_Operation name used for output-message spans.
Static ReadonlySECURITY_Attribute key for the hash of guarded input content (microsoft.security.content.input.hash).
Static ReadonlySECURITY_Attribute key for the guarded input content value (microsoft.security.content.input.value).
Static ReadonlySECURITY_Attribute key indicating whether guarded content was modified (microsoft.security.content.modified).
Static ReadonlySECURITY_Attribute key for the guarded output content value (microsoft.security.content.output.value).
Static ReadonlySECURITY_Attribute key for the guardrail decision code (microsoft.security.decision.code).
Static ReadonlySECURITY_Attribute key for the guardrail decision reason (microsoft.security.decision.reason).
Static ReadonlySECURITY_Attribute key for the guardrail decision type (microsoft.security.decision.type).
Static ReadonlySECURITY_Attribute key for an external correlation identifier for SIEM systems (microsoft.security.external_event_id).
Static ReadonlySECURITY_Event name emitted for a security finding (microsoft.security.finding).
Static ReadonlySECURITY_Attribute key for the security policy decision type (microsoft.security.policy.decision.type).
Static ReadonlySECURITY_Attribute key for the security policy identifier (microsoft.security.policy.id).
Static ReadonlySECURITY_Attribute key for the security policy name (microsoft.security.policy.name).
Static ReadonlySECURITY_Attribute key for the security policy version (microsoft.security.policy.version).
Static ReadonlySECURITY_Attribute key for the detected risk category (microsoft.security.risk.category).
Static ReadonlySECURITY_Attribute key for non-content risk metadata (microsoft.security.risk.metadata).
Static ReadonlySECURITY_Attribute key for the numeric risk score (microsoft.security.risk.score).
Static ReadonlySECURITY_Attribute key for the detected risk severity (microsoft.security.risk.severity).
Static ReadonlySECURITY_Attribute key for the guardrail target identifier (microsoft.security.target.id).
Static ReadonlySECURITY_Attribute key for the guardrail target type (microsoft.security.target.type).
Static ReadonlySERVER_Attribute key for the destination server host name (server.address).
Static ReadonlySERVER_Attribute key for the destination server port (server.port).
Static ReadonlySERVICE_Attribute key for the service name (service.name).
Static ReadonlySESSION_Attribute key for the session description (microsoft.session.description).
Static ReadonlySESSION_Attribute key for the session identifier (microsoft.session.id).
Static ReadonlySOURCE_Tracer/instrumentation-scope name used for all A365 spans.
Static ReadonlyTELEMETRY_Attribute key for the telemetry SDK language (telemetry.sdk.language).
Static ReadonlyTELEMETRY_Telemetry SDK language value reported by this distro.
Static ReadonlyTELEMETRY_Attribute key for the telemetry SDK name (telemetry.sdk.name).
Static ReadonlyTELEMETRY_Telemetry SDK name value reported by this distro.
Static ReadonlyTELEMETRY_Attribute key for the telemetry SDK version (telemetry.sdk.version).
Static ReadonlyTELEMETRY_Telemetry SDK version value reported by this distro.
Static ReadonlyTENANT_Attribute key for the tenant identifier (microsoft.tenant.id).
Static ReadonlyTRACE_Environment-variable name that enables recording of gen-ai message content.
Static ReadonlyTRACE_Feature-switch name that enables tracing of gen-ai message content.
Static ReadonlyUSER_Attribute key for the user email address (user.email).
Static ReadonlyUSER_Attribute key for the user identifier (user.id).
Static ReadonlyUSER_Attribute key for the user display name (user.name).
OpenTelemetry constants for A365 observability.
Provides the well-known span operation names, attribute keys, metric names, environment-variable names, and feature-flag switches used when emitting A365 telemetry. Attribute keys follow OTel gen-ai semantic conventions plus Microsoft-specific extensions under the
microsoft.*namespace.Adapted from microsoft/Agent365-nodejs agents-a365-observability/src/tracing/constants.ts