OpenTelemetryConstants class
Agent 365 的 OpenTelemetry 常量
属性
属性详细信息
A365_MESSAGES_SCHEMA_VERSION_KEY
static A365_MESSAGES_SCHEMA_VERSION_KEY: "microsoft.a365.messages.schema_version" = "microsoft.a365.messages.schema_version"
属性值
"microsoft.a365.messages.schema_version"
AGENT_ID_KEY
static AGENT_ID_KEY: "gen_ai.agent.id" = "gen_ai.agent.id"
属性值
"gen_ai.agent.id"
APPLY_GUARDRAIL_OPERATION_NAME
static APPLY_GUARDRAIL_OPERATION_NAME: "apply_guardrail" = "apply_guardrail"
属性值
"apply_guardrail"
AZURE_RP_NAMESPACE_VALUE
static AZURE_RP_NAMESPACE_VALUE: "Microsoft.CognitiveServices" = "Microsoft.CognitiveServices"
属性值
"Microsoft.CognitiveServices"
AZ_NAMESPACE_KEY
static AZ_NAMESPACE_KEY: "az.namespace" = "az.namespace"
属性值
"az.namespace"
CHANNEL_LINK_KEY
static CHANNEL_LINK_KEY: "microsoft.channel.link" = "microsoft.channel.link"
属性值
"microsoft.channel.link"
CHANNEL_NAME_KEY
static CHANNEL_NAME_KEY: "microsoft.channel.name" = "microsoft.channel.name"
属性值
"microsoft.channel.name"
CHAT_OPERATION_NAME
static CHAT_OPERATION_NAME: "chat" = "chat"
属性值
"chat"
CUSTOM_PARENT_SPAN_ID_KEY
static CUSTOM_PARENT_SPAN_ID_KEY: "custom.parent.span.id" = "custom.parent.span.id"
属性值
"custom.parent.span.id"
CUSTOM_SPAN_NAME_KEY
static CUSTOM_SPAN_NAME_KEY: "custom.span.name" = "custom.span.name"
属性值
"custom.span.name"
ENABLE_A365_OBSERVABILITY
static ENABLE_A365_OBSERVABILITY: "ENABLE_A365_OBSERVABILITY" = "ENABLE_A365_OBSERVABILITY"
属性值
"ENABLE_A365_OBSERVABILITY"
ENABLE_A365_OBSERVABILITY_EXPORTER
static ENABLE_A365_OBSERVABILITY_EXPORTER: "ENABLE_A365_OBSERVABILITY_EXPORTER" = "ENABLE_A365_OBSERVABILITY_EXPORTER"
属性值
"ENABLE_A365_OBSERVABILITY_EXPORTER"
ENABLE_A365_OBSERVABILITY_PER_REQUEST_EXPORT
static ENABLE_A365_OBSERVABILITY_PER_REQUEST_EXPORT: "ENABLE_A365_OBSERVABILITY_PER_REQUEST_EXPORT" = "ENABLE_A365_OBSERVABILITY_PER_REQUEST_EXPORT"
属性值
"ENABLE_A365_OBSERVABILITY_PER_REQUEST_EXPORT"
ENABLE_OBSERVABILITY
static ENABLE_OBSERVABILITY: "ENABLE_OBSERVABILITY" = "ENABLE_OBSERVABILITY"
属性值
"ENABLE_OBSERVABILITY"
ENABLE_OPENTELEMETRY_SWITCH
static ENABLE_OPENTELEMETRY_SWITCH: "Azure.Experimental.EnableActivitySource" = "Azure.Experimental.EnableActivitySource"
属性值
"Azure.Experimental.EnableActivitySource"
ERROR_MESSAGE_KEY
static ERROR_MESSAGE_KEY: "error.message" = "error.message"
属性值
"error.message"
ERROR_TYPE_CANCELLED
static ERROR_TYPE_CANCELLED: "TaskCanceledException" = "TaskCanceledException"
属性值
"TaskCanceledException"
ERROR_TYPE_KEY
static ERROR_TYPE_KEY: "error.type" = "error.type"
属性值
"error.type"
EXECUTE_TOOL_OPERATION_NAME
static EXECUTE_TOOL_OPERATION_NAME: "execute_tool" = "execute_tool"
属性值
"execute_tool"
GENERATE_CONTENT_OPERATION_NAME
static GENERATE_CONTENT_OPERATION_NAME: "generate_content" = "generate_content"
属性值
"generate_content"
GEN_AI_AGENT_AUID_KEY
static GEN_AI_AGENT_AUID_KEY: "microsoft.agent.user.id" = "microsoft.agent.user.id"
属性值
"microsoft.agent.user.id"
GEN_AI_AGENT_BLUEPRINT_ID_KEY
static GEN_AI_AGENT_BLUEPRINT_ID_KEY: "microsoft.a365.agent.blueprint.id" = "microsoft.a365.agent.blueprint.id"
属性值
"microsoft.a365.agent.blueprint.id"
GEN_AI_AGENT_DESCRIPTION_KEY
static GEN_AI_AGENT_DESCRIPTION_KEY: "gen_ai.agent.description" = "gen_ai.agent.description"
属性值
"gen_ai.agent.description"
GEN_AI_AGENT_EMAIL_KEY
static GEN_AI_AGENT_EMAIL_KEY: "microsoft.agent.user.email" = "microsoft.agent.user.email"
属性值
"microsoft.agent.user.email"
GEN_AI_AGENT_ID_KEY
static GEN_AI_AGENT_ID_KEY: "gen_ai.agent.id" = "gen_ai.agent.id"
属性值
"gen_ai.agent.id"
GEN_AI_AGENT_NAME_KEY
static GEN_AI_AGENT_NAME_KEY: "gen_ai.agent.name" = "gen_ai.agent.name"
属性值
"gen_ai.agent.name"
GEN_AI_AGENT_PLATFORM_ID_KEY
static GEN_AI_AGENT_PLATFORM_ID_KEY: "microsoft.a365.agent.platform.id" = "microsoft.a365.agent.platform.id"
属性值
"microsoft.a365.agent.platform.id"
GEN_AI_AGENT_THOUGHT_PROCESS_KEY
static GEN_AI_AGENT_THOUGHT_PROCESS_KEY: "microsoft.a365.agent.thought.process" = "microsoft.a365.agent.thought.process"
属性值
"microsoft.a365.agent.thought.process"
GEN_AI_AGENT_TYPE_KEY
static GEN_AI_AGENT_TYPE_KEY: "gen_ai.agent.type" = "gen_ai.agent.type"
属性值
"gen_ai.agent.type"
GEN_AI_AGENT_VERSION_KEY
static GEN_AI_AGENT_VERSION_KEY: "gen_ai.agent.version" = "gen_ai.agent.version"
属性值
"gen_ai.agent.version"
GEN_AI_CALLER_AGENT_APPLICATION_ID_KEY
static GEN_AI_CALLER_AGENT_APPLICATION_ID_KEY: "microsoft.a365.caller.agent.blueprint.id" = "microsoft.a365.caller.agent.blueprint.id"
属性值
"microsoft.a365.caller.agent.blueprint.id"
GEN_AI_CALLER_AGENT_EMAIL_KEY
static GEN_AI_CALLER_AGENT_EMAIL_KEY: "microsoft.a365.caller.agent.user.email" = "microsoft.a365.caller.agent.user.email"
属性值
"microsoft.a365.caller.agent.user.email"
GEN_AI_CALLER_AGENT_ID_KEY
static GEN_AI_CALLER_AGENT_ID_KEY: "microsoft.a365.caller.agent.id" = "microsoft.a365.caller.agent.id"
属性值
"microsoft.a365.caller.agent.id"
GEN_AI_CALLER_AGENT_NAME_KEY
static GEN_AI_CALLER_AGENT_NAME_KEY: "microsoft.a365.caller.agent.name" = "microsoft.a365.caller.agent.name"
属性值
"microsoft.a365.caller.agent.name"
GEN_AI_CALLER_AGENT_PLATFORM_ID_KEY
static GEN_AI_CALLER_AGENT_PLATFORM_ID_KEY: "microsoft.a365.caller.agent.platform.id" = "microsoft.a365.caller.agent.platform.id"
属性值
"microsoft.a365.caller.agent.platform.id"
GEN_AI_CALLER_AGENT_USER_ID_KEY
static GEN_AI_CALLER_AGENT_USER_ID_KEY: "microsoft.a365.caller.agent.user.id" = "microsoft.a365.caller.agent.user.id"
属性值
"microsoft.a365.caller.agent.user.id"
GEN_AI_CALLER_AGENT_VERSION_KEY
static GEN_AI_CALLER_AGENT_VERSION_KEY: "microsoft.a365.caller.agent.version" = "microsoft.a365.caller.agent.version"
属性值
"microsoft.a365.caller.agent.version"
GEN_AI_CALLER_CLIENT_IP_KEY
static GEN_AI_CALLER_CLIENT_IP_KEY: "client.address" = "client.address"
属性值
"client.address"
GEN_AI_CHOICE
static GEN_AI_CHOICE: "gen_ai.choice" = "gen_ai.choice"
属性值
"gen_ai.choice"
GEN_AI_CLIENT_OPERATION_DURATION_METRIC_NAME
static GEN_AI_CLIENT_OPERATION_DURATION_METRIC_NAME: "gen_ai.client.operation.duration" = "gen_ai.client.operation.duration"
属性值
"gen_ai.client.operation.duration"
GEN_AI_CLIENT_TOKEN_USAGE_METRIC_NAME
static GEN_AI_CLIENT_TOKEN_USAGE_METRIC_NAME: "gen_ai.client.token.usage" = "gen_ai.client.token.usage"
属性值
"gen_ai.client.token.usage"
GEN_AI_CONVERSATION_ID_KEY
static GEN_AI_CONVERSATION_ID_KEY: "gen_ai.conversation.id" = "gen_ai.conversation.id"
属性值
"gen_ai.conversation.id"
GEN_AI_CONVERSATION_ITEM_LINK_KEY
static GEN_AI_CONVERSATION_ITEM_LINK_KEY: "microsoft.conversation.item.link" = "microsoft.conversation.item.link"
属性值
"microsoft.conversation.item.link"
GEN_AI_EXECUTION_PAYLOAD_KEY
static GEN_AI_EXECUTION_PAYLOAD_KEY: "gen_ai.execution.payload" = "gen_ai.execution.payload"
属性值
"gen_ai.execution.payload"
GEN_AI_ICON_URI_KEY
static GEN_AI_ICON_URI_KEY: "gen_ai.agent365.icon_uri" = "gen_ai.agent365.icon_uri"
属性值
"gen_ai.agent365.icon_uri"
GEN_AI_INPUT_MESSAGES_KEY
static GEN_AI_INPUT_MESSAGES_KEY: "gen_ai.input.messages" = "gen_ai.input.messages"
属性值
"gen_ai.input.messages"
GEN_AI_OPERATION_NAME_KEY
static GEN_AI_OPERATION_NAME_KEY: "gen_ai.operation.name" = "gen_ai.operation.name"
属性值
"gen_ai.operation.name"
GEN_AI_OUTPUT_MESSAGES_KEY
static GEN_AI_OUTPUT_MESSAGES_KEY: "gen_ai.output.messages" = "gen_ai.output.messages"
属性值
"gen_ai.output.messages"
GEN_AI_PROVIDER_NAME_KEY
static GEN_AI_PROVIDER_NAME_KEY: "gen_ai.provider.name" = "gen_ai.provider.name"
属性值
"gen_ai.provider.name"
GEN_AI_REQUEST_MAX_TOKENS_KEY
static GEN_AI_REQUEST_MAX_TOKENS_KEY: "gen_ai.request.max_tokens" = "gen_ai.request.max_tokens"
属性值
"gen_ai.request.max_tokens"
GEN_AI_REQUEST_MODEL_KEY
static GEN_AI_REQUEST_MODEL_KEY: "gen_ai.request.model" = "gen_ai.request.model"
属性值
"gen_ai.request.model"
GEN_AI_REQUEST_TEMPERATURE_KEY
static GEN_AI_REQUEST_TEMPERATURE_KEY: "gen_ai.request.temperature" = "gen_ai.request.temperature"
属性值
"gen_ai.request.temperature"
GEN_AI_REQUEST_TOP_P_KEY
static GEN_AI_REQUEST_TOP_P_KEY: "gen_ai.request.top_p" = "gen_ai.request.top_p"
属性值
"gen_ai.request.top_p"
GEN_AI_RESPONSE_FINISH_REASONS_KEY
static GEN_AI_RESPONSE_FINISH_REASONS_KEY: "gen_ai.response.finish_reasons" = "gen_ai.response.finish_reasons"
属性值
"gen_ai.response.finish_reasons"
GEN_AI_RESPONSE_MODEL_KEY
static GEN_AI_RESPONSE_MODEL_KEY: "gen_ai.response.model" = "gen_ai.response.model"
属性值
"gen_ai.response.model"
GEN_AI_SYSTEM_INSTRUCTIONS_KEY
static GEN_AI_SYSTEM_INSTRUCTIONS_KEY: "gen_ai.system_instructions" = "gen_ai.system_instructions"
属性值
"gen_ai.system_instructions"
GEN_AI_TASK_ID_KEY
static GEN_AI_TASK_ID_KEY: "gen_ai.task.id" = "gen_ai.task.id"
属性值
"gen_ai.task.id"
GEN_AI_TOKEN_TYPE_KEY
static GEN_AI_TOKEN_TYPE_KEY: "gen_ai.token.type" = "gen_ai.token.type"
属性值
"gen_ai.token.type"
GEN_AI_TOOL_ARGS_KEY
static GEN_AI_TOOL_ARGS_KEY: "gen_ai.tool.call.arguments" = "gen_ai.tool.call.arguments"
属性值
"gen_ai.tool.call.arguments"
GEN_AI_TOOL_CALL_ID_KEY
static GEN_AI_TOOL_CALL_ID_KEY: "gen_ai.tool.call.id" = "gen_ai.tool.call.id"
属性值
"gen_ai.tool.call.id"
GEN_AI_TOOL_CALL_RESULT_KEY
static GEN_AI_TOOL_CALL_RESULT_KEY: "gen_ai.tool.call.result" = "gen_ai.tool.call.result"
属性值
"gen_ai.tool.call.result"
GEN_AI_TOOL_DESCRIPTION_KEY
static GEN_AI_TOOL_DESCRIPTION_KEY: "gen_ai.tool.description" = "gen_ai.tool.description"
属性值
"gen_ai.tool.description"
GEN_AI_TOOL_NAME_KEY
static GEN_AI_TOOL_NAME_KEY: "gen_ai.tool.name" = "gen_ai.tool.name"
属性值
"gen_ai.tool.name"
GEN_AI_TOOL_TYPE_KEY
static GEN_AI_TOOL_TYPE_KEY: "gen_ai.tool.type" = "gen_ai.tool.type"
属性值
"gen_ai.tool.type"
GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_KEY
static GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_KEY: "gen_ai.usage.cache_read.input_tokens" = "gen_ai.usage.cache_read.input_tokens"
属性值
"gen_ai.usage.cache_read.input_tokens"
GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS_KEY
static GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS_KEY: "gen_ai.usage.cache_write.input_tokens" = "gen_ai.usage.cache_write.input_tokens"
属性值
"gen_ai.usage.cache_write.input_tokens"
GEN_AI_USAGE_INPUT_TOKENS_KEY
static GEN_AI_USAGE_INPUT_TOKENS_KEY: "gen_ai.usage.input_tokens" = "gen_ai.usage.input_tokens"
属性值
"gen_ai.usage.input_tokens"
GEN_AI_USAGE_OUTPUT_TOKENS_KEY
static GEN_AI_USAGE_OUTPUT_TOKENS_KEY: "gen_ai.usage.output_tokens" = "gen_ai.usage.output_tokens"
属性值
"gen_ai.usage.output_tokens"
GUARDIAN_ID_KEY
static GUARDIAN_ID_KEY: "microsoft.guardian.id" = "microsoft.guardian.id"
属性值
"microsoft.guardian.id"
GUARDIAN_NAME_KEY
static GUARDIAN_NAME_KEY: "microsoft.guardian.name" = "microsoft.guardian.name"
属性值
"microsoft.guardian.name"
GUARDIAN_PROVIDER_NAME_KEY
static GUARDIAN_PROVIDER_NAME_KEY: "microsoft.guardian.provider.name" = "microsoft.guardian.provider.name"
属性值
"microsoft.guardian.provider.name"
GUARDIAN_VERSION_KEY
static GUARDIAN_VERSION_KEY: "microsoft.guardian.version" = "microsoft.guardian.version"
属性值
"microsoft.guardian.version"
INVOKE_AGENT_OPERATION_NAME
static INVOKE_AGENT_OPERATION_NAME: "invoke_agent" = "invoke_agent"
属性值
"invoke_agent"
OUTPUT_MESSAGES_OPERATION_NAME
static OUTPUT_MESSAGES_OPERATION_NAME: "output_messages" = "output_messages"
属性值
"output_messages"
SECURITY_CONTENT_INPUT_HASH_KEY
static SECURITY_CONTENT_INPUT_HASH_KEY: "microsoft.security.content.input.hash" = "microsoft.security.content.input.hash"
属性值
"microsoft.security.content.input.hash"
SECURITY_CONTENT_INPUT_VALUE_KEY
static SECURITY_CONTENT_INPUT_VALUE_KEY: "microsoft.security.content.input.value" = "microsoft.security.content.input.value"
属性值
"microsoft.security.content.input.value"
SECURITY_CONTENT_MODIFIED_KEY
static SECURITY_CONTENT_MODIFIED_KEY: "microsoft.security.content.modified" = "microsoft.security.content.modified"
属性值
"microsoft.security.content.modified"
SECURITY_CONTENT_OUTPUT_VALUE_KEY
static SECURITY_CONTENT_OUTPUT_VALUE_KEY: "microsoft.security.content.output.value" = "microsoft.security.content.output.value"
属性值
"microsoft.security.content.output.value"
SECURITY_DECISION_CODE_KEY
static SECURITY_DECISION_CODE_KEY: "microsoft.security.decision.code" = "microsoft.security.decision.code"
属性值
"microsoft.security.decision.code"
SECURITY_DECISION_REASON_KEY
static SECURITY_DECISION_REASON_KEY: "microsoft.security.decision.reason" = "microsoft.security.decision.reason"
属性值
"microsoft.security.decision.reason"
SECURITY_DECISION_TYPE_KEY
static SECURITY_DECISION_TYPE_KEY: "microsoft.security.decision.type" = "microsoft.security.decision.type"
属性值
"microsoft.security.decision.type"
SECURITY_EXTERNAL_EVENT_ID_KEY
static SECURITY_EXTERNAL_EVENT_ID_KEY: "microsoft.security.external_event_id" = "microsoft.security.external_event_id"
属性值
"microsoft.security.external_event_id"
SECURITY_FINDING_EVENT_NAME
static SECURITY_FINDING_EVENT_NAME: "microsoft.security.finding" = "microsoft.security.finding"
属性值
"microsoft.security.finding"
SECURITY_POLICY_DECISION_TYPE_KEY
static SECURITY_POLICY_DECISION_TYPE_KEY: "microsoft.security.policy.decision.type" = "microsoft.security.policy.decision.type"
属性值
"microsoft.security.policy.decision.type"
SECURITY_POLICY_ID_KEY
static SECURITY_POLICY_ID_KEY: "microsoft.security.policy.id" = "microsoft.security.policy.id"
属性值
"microsoft.security.policy.id"
SECURITY_POLICY_NAME_KEY
static SECURITY_POLICY_NAME_KEY: "microsoft.security.policy.name" = "microsoft.security.policy.name"
属性值
"microsoft.security.policy.name"
SECURITY_POLICY_VERSION_KEY
static SECURITY_POLICY_VERSION_KEY: "microsoft.security.policy.version" = "microsoft.security.policy.version"
属性值
"microsoft.security.policy.version"
SECURITY_RISK_CATEGORY_KEY
static SECURITY_RISK_CATEGORY_KEY: "microsoft.security.risk.category" = "microsoft.security.risk.category"
属性值
"microsoft.security.risk.category"
SECURITY_RISK_METADATA_KEY
static SECURITY_RISK_METADATA_KEY: "microsoft.security.risk.metadata" = "microsoft.security.risk.metadata"
属性值
"microsoft.security.risk.metadata"
SECURITY_RISK_SCORE_KEY
static SECURITY_RISK_SCORE_KEY: "microsoft.security.risk.score" = "microsoft.security.risk.score"
属性值
"microsoft.security.risk.score"
SECURITY_RISK_SEVERITY_KEY
static SECURITY_RISK_SEVERITY_KEY: "microsoft.security.risk.severity" = "microsoft.security.risk.severity"
属性值
"microsoft.security.risk.severity"
SECURITY_TARGET_ID_KEY
static SECURITY_TARGET_ID_KEY: "microsoft.security.target.id" = "microsoft.security.target.id"
属性值
"microsoft.security.target.id"
SECURITY_TARGET_TYPE_KEY
static SECURITY_TARGET_TYPE_KEY: "microsoft.security.target.type" = "microsoft.security.target.type"
属性值
"microsoft.security.target.type"
SERVER_ADDRESS_KEY
static SERVER_ADDRESS_KEY: "server.address" = "server.address"
属性值
"server.address"
SERVER_PORT_KEY
static SERVER_PORT_KEY: "server.port" = "server.port"
属性值
"server.port"
SERVICE_NAME_KEY
static SERVICE_NAME_KEY: "service.name" = "service.name"
属性值
"service.name"
SESSION_DESCRIPTION_KEY
static SESSION_DESCRIPTION_KEY: "microsoft.session.description" = "microsoft.session.description"
属性值
"microsoft.session.description"
SESSION_ID_KEY
static SESSION_ID_KEY: "microsoft.session.id" = "microsoft.session.id"
属性值
"microsoft.session.id"
SOURCE_NAME
static SOURCE_NAME: "Agent365Sdk" = "Agent365Sdk"
属性值
"Agent365Sdk"
TELEMETRY_SDK_LANGUAGE_KEY
static TELEMETRY_SDK_LANGUAGE_KEY: "telemetry.sdk.language" = "telemetry.sdk.language"
属性值
"telemetry.sdk.language"
TELEMETRY_SDK_LANGUAGE_VALUE
static TELEMETRY_SDK_LANGUAGE_VALUE: "nodejs" = "nodejs"
属性值
"nodejs"
TELEMETRY_SDK_NAME_KEY
static TELEMETRY_SDK_NAME_KEY: "telemetry.sdk.name" = "telemetry.sdk.name"
属性值
"telemetry.sdk.name"
TELEMETRY_SDK_NAME_VALUE
static TELEMETRY_SDK_NAME_VALUE: "A365ObservabilitySDK" = "A365ObservabilitySDK"
属性值
"A365ObservabilitySDK"
TELEMETRY_SDK_VERSION_KEY
static TELEMETRY_SDK_VERSION_KEY: "telemetry.sdk.version" = "telemetry.sdk.version"
属性值
"telemetry.sdk.version"
TELEMETRY_SDK_VERSION_VALUE
static TELEMETRY_SDK_VERSION_VALUE: "2.0.0" = "2.0.0"
属性值
"2.0.0"
TENANT_ID_KEY
static TENANT_ID_KEY: "microsoft.tenant.id" = "microsoft.tenant.id"
属性值
"microsoft.tenant.id"
TEXT_COMPLETION_OPERATION_NAME
static TEXT_COMPLETION_OPERATION_NAME: "text_completion" = "text_completion"
属性值
"text_completion"
TRACE_CONTENTS_ENVIRONMENT_VARIABLE
static TRACE_CONTENTS_ENVIRONMENT_VARIABLE: "AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED" = "AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED"
属性值
"AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED"
TRACE_CONTENTS_SWITCH
static TRACE_CONTENTS_SWITCH: "Azure.Experimental.TraceGenAIMessageContent" = "Azure.Experimental.TraceGenAIMessageContent"
属性值
"Azure.Experimental.TraceGenAIMessageContent"
USER_EMAIL_KEY
static USER_EMAIL_KEY: "user.email" = "user.email"
属性值
"user.email"
USER_ID_KEY
static USER_ID_KEY: "user.id" = "user.id"
属性值
"user.id"
USER_NAME_KEY
static USER_NAME_KEY: "user.name" = "user.name"
属性值
"user.name"