Language

OpenTelemetryConstants Class

Definition

OpenTelemetry constant keys and values used across the Microsoft Agent 365 SDK.

public static class OpenTelemetryConstants
type OpenTelemetryConstants = class
Public Class OpenTelemetryConstants
Inheritance
OpenTelemetryConstants

Fields

Name Description
AgentAUIDKey
AgentBlueprintIdKey
AgentEmailKey
AgentPlatformIdKey
ApplyGuardrailOperationName

The operation name value for apply_guardrail spans.

CallerAgentAUIDKey
CallerAgentBlueprintIdKey
CallerAgentEmailKey
CallerAgentIdKey
CallerAgentNameKey
CallerAgentPlatformIdKey
CallerAgentVersionKey
CallerClientIpKey
ChannelLinkKey
ChannelNameKey
EnableOpenTelemetrySwitch
ErrorMessageKey

The error message key.

ErrorTypeKey

The error type key.

GenAiAgentDescriptionKey
GenAiAgentIdKey
GenAiAgentInvocationInputKey
GenAiAgentInvocationOutputKey
GenAiAgentNameKey
GenAiAgentThoughtProcessKey

The GenAI agent thought process key.

GenAiAgentVersionKey
GenAiChoiceEventName
GenAiClientOperationDurationMetricName
GenAiConversationIdKey
GenAiConversationItemLinkKey
GenAiGuardianIdKey

The guardian identifier key.

GenAiGuardianNameKey

The guardian name key.

GenAiGuardianProviderNameKey

The guardian provider name key.

GenAiGuardianVersionKey

The guardian version key.

GenAiInputMessagesKey
GenAiOperationNameKey

The GenAI operation name key.

GenAiOutputMessagesKey
GenAiProviderNameKey
GenAiRequestModelKey
GenAiResponseFinishReasonsKey
GenAiSecurityContentInputHashKey

The security content input hash key.

GenAiSecurityContentInputValueKey

The security content input value key (opt-in).

GenAiSecurityContentModifiedKey

The security content modified key.

GenAiSecurityContentOutputValueKey

The security content output value key (opt-in).

GenAiSecurityDecisionCodeKey

The security decision code key.

GenAiSecurityDecisionReasonKey

The security decision reason key.

GenAiSecurityDecisionTypeKey

The security decision type key.

GenAiSecurityExternalEventIdKey

The security external event identifier key for SIEM correlation.

GenAiSecurityFindingEventName

The security finding event name.

GenAiSecurityPolicyDecisionTypeKey

The security policy decision type key (per-finding decision).

GenAiSecurityPolicyIdKey

The security policy identifier key.

GenAiSecurityPolicyNameKey

The security policy name key.

GenAiSecurityPolicyVersionKey

The security policy version key.

GenAiSecurityRiskCategoryKey

The security risk category key.

GenAiSecurityRiskMetadataKey

The security risk metadata key.

GenAiSecurityRiskScoreKey

The security risk score key.

GenAiSecurityRiskSeverityKey

The security risk severity key.

GenAiSecurityTargetIdKey

The security target identifier key.

GenAiSecurityTargetTypeKey

The security target type key.

GenAiToolArgumentsKey

The GenAI tool call arguments key.

GenAiToolCallIdKey

The GenAI tool call identifier key.

GenAiToolCallResultKey

The GenAI tool call result key.

GenAiToolDescriptionKey

The GenAI tool description key.

GenAiToolNameKey

The GenAI tool name key.

GenAiToolServerNameKey

The GenAI tool server name key.

GenAiToolTypeKey

The GenAI tool type key.

GenAiUsageInputTokensKey
GenAiUsageOutputTokensKey
GenAiUserMessageEventName
ServerAddressKey
ServerPortKey
ServiceNameKey
SessionDescriptionKey
SessionIdKey
SourceName
TelemetrySdkLanguageKey
TelemetrySdkLanguageValue
TelemetrySdkNameKey
TelemetrySdkNameValue
TelemetrySdkVersionKey
TenantIdKey
ThreatDiagnosticsSummaryKey

The threat diagnostics summary key.

UserEmailKey
UserIdKey
UserNameKey

Properties

Name Description
TelemetrySdkVersionValue

Gets the telemetry SDK version dynamically from the assembly.

Applies to