semconv

package
v1.56.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package semconv is the LiveKit telemetry semantic conventions as Go constants: the attribute keys, enum values, event names, span names, checkpoints and metric names LiveKit producers send over OTLP, and the legacy-key and legacy-value aliases a consumer uses to normalize an older capture to the canonical names (see RenamedKeys, RenamedValues, KeyAliases and the NormalizeKey, AliasesFor and NormalizeValue helpers).

Index

Constants

View Source
const AttrAgentName = "agent_name"

AttrAgentName is the "agent_name" attribute: The agent's name.

View Source
const AttrBrowserName = "browser.name"

AttrBrowserName is the "browser.name" attribute: Browser name.

View Source
const AttrBrowserVersion = "browser.version"

AttrBrowserVersion is the "browser.version" attribute: Browser version.

View Source
const AttrChatItem = "chat.item"

AttrChatItem is the "chat.item" attribute: One chat history item, as a map. Carries conversation content. PII: redacted by the collector.

View Source
const AttrCodeFilePath = "code.file.path"

AttrCodeFilePath is the "code.file.path" attribute: The source code filename that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.

View Source
const AttrCodeFunctionName = "code.function.name"

AttrCodeFunctionName is the "code.function.name" attribute: The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.

View Source
const AttrCodeLineNumber = "code.line.number"

AttrCodeLineNumber is the "code.line.number" attribute: The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity.

View Source
const AttrConnectionReused = "connection_reused"

AttrConnectionReused is the "connection_reused" attribute: Whether a pooled connection was reused, as the string `true`/`false`.

View Source
const AttrDeviceModelIdentifier = "device.model.identifier"

AttrDeviceModelIdentifier is the "device.model.identifier" attribute: The model identifier for the device

View Source
const AttrErrorType = "error.type"

AttrErrorType is the "error.type" attribute: Describes a class of error the operation ended with.

View Source
const AttrEvaluation = "evaluation"

AttrEvaluation is the "evaluation" attribute: One evaluation result, as a map of string fields.

View Source
const AttrExceptionMessage = "exception.message"

AttrExceptionMessage is the "exception.message" attribute: The exception message.

View Source
const AttrExceptionStacktrace = "exception.stacktrace"

AttrExceptionStacktrace is the "exception.stacktrace" attribute: A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.

View Source
const AttrExceptionType = "exception.type"

AttrExceptionType is the "exception.type" attribute: The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.

View Source
const AttrGenAiAgentName = "gen_ai.agent.name"

AttrGenAiAgentName is the "gen_ai.agent.name" attribute: Human-readable name of the GenAI agent provided by the application.

View Source
const AttrGenAiConversationId = "gen_ai.conversation.id"

AttrGenAiConversationId is the "gen_ai.conversation.id" attribute: The unique identifier for a conversation (session, thread), used to store and correlate messages within this conversation.

View Source
const AttrGenAiEvaluationExplanation = "gen_ai.evaluation.explanation"

AttrGenAiEvaluationExplanation is the "gen_ai.evaluation.explanation" attribute: A free-form explanation for the assigned score provided by the evaluator.

View Source
const AttrGenAiEvaluationName = "gen_ai.evaluation.name"

AttrGenAiEvaluationName is the "gen_ai.evaluation.name" attribute: The name of the evaluation metric used for the GenAI response.

View Source
const AttrGenAiEvaluationScoreLabel = "gen_ai.evaluation.score.label"

AttrGenAiEvaluationScoreLabel is the "gen_ai.evaluation.score.label" attribute: Human readable label for evaluation.

View Source
const AttrGenAiInputMessages = "gen_ai.input.messages"

AttrGenAiInputMessages is the "gen_ai.input.messages" attribute: The chat history provided to the model as an input.

View Source
const AttrGenAiMemoryQueryText = "gen_ai.memory.query.text"

AttrGenAiMemoryQueryText is the "gen_ai.memory.query.text" attribute: The search query used to retrieve memories.

View Source
const AttrGenAiMemoryRecords = "gen_ai.memory.records"

AttrGenAiMemoryRecords is the "gen_ai.memory.records" attribute: The memory records stored or retrieved in a memory operation.

View Source
const AttrGenAiOperationName = "gen_ai.operation.name"

AttrGenAiOperationName is the "gen_ai.operation.name" attribute: The name of the operation being performed.

View Source
const AttrGenAiOutputMessages = "gen_ai.output.messages"

AttrGenAiOutputMessages is the "gen_ai.output.messages" attribute: Messages returned by the model where each message represents a specific model response (choice, candidate).

View Source
const AttrGenAiOutputType = "gen_ai.output.type"

AttrGenAiOutputType is the "gen_ai.output.type" attribute: Represents the content type requested by the client.

View Source
const AttrGenAiPromptVariable = "gen_ai.prompt.variable"

AttrGenAiPromptVariable is the "gen_ai.prompt.variable" attribute: The variables supplied to the prompt template, the `<key>` being the variable name, the value being the variable value.

View Source
const AttrGenAiProviderName = "gen_ai.provider.name"

AttrGenAiProviderName is the "gen_ai.provider.name" attribute: The Generative AI provider as identified by the client or server instrumentation.

View Source
const AttrGenAiRequestModel = "gen_ai.request.model"

AttrGenAiRequestModel is the "gen_ai.request.model" attribute: The name of the GenAI model a request is being made to.

View Source
const AttrGenAiRequestStream = "gen_ai.request.stream"

AttrGenAiRequestStream is the "gen_ai.request.stream" attribute: Indicates whether the GenAI request was made in streaming mode.

View Source
const AttrGenAiResponseFinishReasons = "gen_ai.response.finish_reasons"

AttrGenAiResponseFinishReasons is the "gen_ai.response.finish_reasons" attribute: Array of reasons the model stopped generating tokens, corresponding to each generation received.

View Source
const AttrGenAiResponseId = "gen_ai.response.id"

AttrGenAiResponseId is the "gen_ai.response.id" attribute: The unique identifier for the completion.

View Source
const AttrGenAiResponseModel = "gen_ai.response.model"

AttrGenAiResponseModel is the "gen_ai.response.model" attribute: The name of the model that generated the response.

View Source
const AttrGenAiResponseTimeToFirstChunk = "gen_ai.response.time_to_first_chunk"

AttrGenAiResponseTimeToFirstChunk is the "gen_ai.response.time_to_first_chunk" attribute: Time to first chunk in a streaming response, measured from request issuance, in seconds. The value is measured from when the client issues the generation request to when the first chunk is received in the response stream.

View Source
const AttrGenAiRetrievalDocuments = "gen_ai.retrieval.documents"

AttrGenAiRetrievalDocuments is the "gen_ai.retrieval.documents" attribute: The documents retrieved.

View Source
const AttrGenAiRetrievalQueryText = "gen_ai.retrieval.query.text"

AttrGenAiRetrievalQueryText is the "gen_ai.retrieval.query.text" attribute: The query text used for retrieval.

View Source
const AttrGenAiSystemInstructions = "gen_ai.system_instructions"

AttrGenAiSystemInstructions is the "gen_ai.system_instructions" attribute: The system message or instructions provided to the GenAI model separately from the chat history.

View Source
const AttrGenAiTokenType = "gen_ai.token.type"

AttrGenAiTokenType is the "gen_ai.token.type" attribute: Token type (`input` or `output`); deprecated upstream, a dimension of `gen_ai.client.token.usage`.

View Source
const AttrGenAiToolCallArguments = "gen_ai.tool.call.arguments"

AttrGenAiToolCallArguments is the "gen_ai.tool.call.arguments" attribute: Parameters passed to the tool call.

View Source
const AttrGenAiToolCallId = "gen_ai.tool.call.id"

AttrGenAiToolCallId is the "gen_ai.tool.call.id" attribute: The tool call identifier supplied by the model or provider.

View Source
const AttrGenAiToolCallResult = "gen_ai.tool.call.result"

AttrGenAiToolCallResult is the "gen_ai.tool.call.result" attribute: The result returned by the tool call (if any and if execution was successful).

View Source
const AttrGenAiToolDefinitions = "gen_ai.tool.definitions"

AttrGenAiToolDefinitions is the "gen_ai.tool.definitions" attribute: The list of tool definitions available to the GenAI agent or model.

View Source
const AttrGenAiToolDescription = "gen_ai.tool.description"

AttrGenAiToolDescription is the "gen_ai.tool.description" attribute: The tool description.

View Source
const AttrGenAiToolName = "gen_ai.tool.name"

AttrGenAiToolName is the "gen_ai.tool.name" attribute: Name of the tool utilized by the agent.

View Source
const AttrGenAiToolType = "gen_ai.tool.type"

AttrGenAiToolType is the "gen_ai.tool.type" attribute: Type of the tool utilized by the agent

View Source
const AttrGenAiUsageAudioCacheReadInputTokens = "gen_ai.usage.audio.cache_read.input_tokens"

AttrGenAiUsageAudioCacheReadInputTokens is the "gen_ai.usage.audio.cache_read.input_tokens" attribute: The number of audio input tokens served from a provider-managed cache.

View Source
const AttrGenAiUsageAudioInputTokens = "gen_ai.usage.audio.input_tokens"

AttrGenAiUsageAudioInputTokens is the "gen_ai.usage.audio.input_tokens" attribute: The number of audio input tokens.

View Source
const AttrGenAiUsageAudioOutputTokens = "gen_ai.usage.audio.output_tokens"

AttrGenAiUsageAudioOutputTokens is the "gen_ai.usage.audio.output_tokens" attribute: The number of audio output tokens.

View Source
const AttrGenAiUsageCacheReadInputTokens = "gen_ai.usage.cache_read.input_tokens"

AttrGenAiUsageCacheReadInputTokens is the "gen_ai.usage.cache_read.input_tokens" attribute: The number of input tokens served from a provider-managed cache.

View Source
const AttrGenAiUsageCacheWriteInputTokens = "gen_ai.usage.cache_write.input_tokens"

AttrGenAiUsageCacheWriteInputTokens is the "gen_ai.usage.cache_write.input_tokens" attribute: The number of input tokens written to a provider-managed cache.

View Source
const AttrGenAiUsageImageCacheReadInputTokens = "gen_ai.usage.image.cache_read.input_tokens"

AttrGenAiUsageImageCacheReadInputTokens is the "gen_ai.usage.image.cache_read.input_tokens" attribute: The number of image input tokens served from a provider-managed cache.

View Source
const AttrGenAiUsageImageInputTokens = "gen_ai.usage.image.input_tokens"

AttrGenAiUsageImageInputTokens is the "gen_ai.usage.image.input_tokens" attribute: The number of image input tokens.

View Source
const AttrGenAiUsageInputAudioTokens = "gen_ai.usage.input_audio_tokens"

AttrGenAiUsageInputAudioTokens is the "gen_ai.usage.input_audio_tokens" attribute: LangFuse spelling of audio input tokens.

View Source
const AttrGenAiUsageInputCachedTokens = "gen_ai.usage.input_cached_tokens"

AttrGenAiUsageInputCachedTokens is the "gen_ai.usage.input_cached_tokens" attribute: LangFuse spelling of cached input tokens.

View Source
const AttrGenAiUsageInputTextTokens = "gen_ai.usage.input_text_tokens"

AttrGenAiUsageInputTextTokens is the "gen_ai.usage.input_text_tokens" attribute: LangFuse spelling of text input tokens.

View Source
const AttrGenAiUsageInputTokens = "gen_ai.usage.input_tokens"

AttrGenAiUsageInputTokens is the "gen_ai.usage.input_tokens" attribute: The number of tokens used in the GenAI input (prompt).

View Source
const AttrGenAiUsageOutputAudioTokens = "gen_ai.usage.output_audio_tokens"

AttrGenAiUsageOutputAudioTokens is the "gen_ai.usage.output_audio_tokens" attribute: LangFuse spelling of audio output tokens.

View Source
const AttrGenAiUsageOutputTextTokens = "gen_ai.usage.output_text_tokens"

AttrGenAiUsageOutputTextTokens is the "gen_ai.usage.output_text_tokens" attribute: LangFuse spelling of text output tokens.

View Source
const AttrGenAiUsageOutputTokens = "gen_ai.usage.output_tokens"

AttrGenAiUsageOutputTokens is the "gen_ai.usage.output_tokens" attribute: The number of tokens used in the GenAI response (completion).

View Source
const AttrGenAiUsageReasoningOutputTokens = "gen_ai.usage.reasoning.output_tokens"

AttrGenAiUsageReasoningOutputTokens is the "gen_ai.usage.reasoning.output_tokens" attribute: The number of output tokens used for reasoning (e.g. chain-of-thought, extended thinking).

View Source
const AttrGenAiUsageReasoningTokens = "gen_ai.usage.reasoning_tokens"

AttrGenAiUsageReasoningTokens is the "gen_ai.usage.reasoning_tokens" attribute: LangFuse spelling of reasoning tokens.

View Source
const AttrGenAiUsageTextCacheReadInputTokens = "gen_ai.usage.text.cache_read.input_tokens"

AttrGenAiUsageTextCacheReadInputTokens is the "gen_ai.usage.text.cache_read.input_tokens" attribute: The number of text input tokens served from a provider-managed cache.

View Source
const AttrGenAiUsageTextInputTokens = "gen_ai.usage.text.input_tokens"

AttrGenAiUsageTextInputTokens is the "gen_ai.usage.text.input_tokens" attribute: The number of text input tokens.

View Source
const AttrGenAiUsageTextOutputTokens = "gen_ai.usage.text.output_tokens"

AttrGenAiUsageTextOutputTokens is the "gen_ai.usage.text.output_tokens" attribute: The number of text output tokens.

View Source
const AttrGenAiWorkflowName = "gen_ai.workflow.name"

AttrGenAiWorkflowName is the "gen_ai.workflow.name" attribute: Human-readable name of the GenAI workflow provided by the application.

View Source
const AttrLangfuseObservationCompletionStartTime = "langfuse.observation.completion_start_time"

AttrLangfuseObservationCompletionStartTime is the "langfuse.observation.completion_start_time" attribute: LangFuse's completion start time (ISO 8601), set next to `gen_ai.response.time_to_first_chunk`.

View Source
const AttrLkAgentLabel = "lk.agent_label"

AttrLkAgentLabel is the "lk.agent_label" attribute: Label of the agent running the activity.

View Source
const AttrLkAgentName = "lk.agent_name"

AttrLkAgentName is the "lk.agent_name" attribute: Name of the agent a job was dispatched to.

View Source
const AttrLkAmdCategory = "lk.amd.category"

AttrLkAmdCategory is the "lk.amd.category" attribute: AMD classification.

View Source
const AttrLkAmdDelay = "lk.amd.delay"

AttrLkAmdDelay is the "lk.amd.delay" attribute: Seconds from the call start to the AMD decision. Unit: `s`.

View Source
const AttrLkAmdReason = "lk.amd.reason"

AttrLkAmdReason is the "lk.amd.reason" attribute: Why the AMD classifier decided.

View Source
const AttrLkAmdSpeechDuration = "lk.amd.speech_duration"

AttrLkAmdSpeechDuration is the "lk.amd.speech_duration" attribute: Seconds of speech the AMD classifier heard. Unit: `s`.

View Source
const AttrLkBlockingCount = "lk.blocking.count"

AttrLkBlockingCount is the "lk.blocking.count" attribute: Blocks in the session.

View Source
const AttrLkBlockingCpuTime = "lk.blocking.cpu_time"

AttrLkBlockingCpuTime is the "lk.blocking.cpu_time" attribute: CPU seconds the loop thread consumed during the block. Unit: `s`.

View Source
const AttrLkBlockingDuration = "lk.blocking.duration"

AttrLkBlockingDuration is the "lk.blocking.duration" attribute: Seconds the loop was blocked. Unit: `s`.

View Source
const AttrLkBlockingGcTime = "lk.blocking.gc_time"

AttrLkBlockingGcTime is the "lk.blocking.gc_time" attribute: Seconds of garbage collection on the loop thread during the block. Unit: `s`.

View Source
const AttrLkBlockingImport = "lk.blocking.import"

AttrLkBlockingImport is the "lk.blocking.import" attribute: Module a lazy import was loading when sampled.

View Source
const AttrLkBlockingMaxDuration = "lk.blocking.max_duration"

AttrLkBlockingMaxDuration is the "lk.blocking.max_duration" attribute: Seconds of the longest block in the session. Unit: `s`.

View Source
const AttrLkBlockingSeverity = "lk.blocking.severity"

AttrLkBlockingSeverity is the "lk.blocking.severity" attribute: Severity bucket of the block.

View Source
const AttrLkBlockingStack = "lk.blocking.stack"

AttrLkBlockingStack is the "lk.blocking.stack" attribute: Loop-thread stack sampled while blocked (source locations only).

View Source
const AttrLkBlockingSuppressed = "lk.blocking.suppressed"

AttrLkBlockingSuppressed is the "lk.blocking.suppressed" attribute: Reports dropped by rate limiting since the previous emitted span.

View Source
const AttrLkBlockingTask = "lk.blocking.task"

AttrLkBlockingTask is the "lk.blocking.task" attribute: Name of the task that was running.

View Source
const AttrLkBlockingThreshold = "lk.blocking.threshold"

AttrLkBlockingThreshold is the "lk.blocking.threshold" attribute: Seconds above which a block is reported. Unit: `s`.

View Source
const AttrLkBlockingTotalDuration = "lk.blocking.total_duration"

AttrLkBlockingTotalDuration is the "lk.blocking.total_duration" attribute: Seconds blocked in total over the session. Unit: `s`.

View Source
const AttrLkCallbackName = "lk.callback.name"

AttrLkCallbackName is the "lk.callback.name" attribute: Name of the shutdown callback.

View Source
const AttrLkCloseDrain = "lk.close.drain"

AttrLkCloseDrain is the "lk.close.drain" attribute: The close drained pending speech first.

View Source
const AttrLkCloseReason = "lk.close_reason"

AttrLkCloseReason is the "lk.close_reason" attribute: Why the session closed.

View Source
const AttrLkCloudAgentId = "lk.cloud_agent_id"

AttrLkCloudAgentId is the "lk.cloud_agent_id" attribute: LiveKit Cloud agent id.

View Source
const AttrLkConnectAttempt = "lk.connect.attempt"

AttrLkConnectAttempt is the "lk.connect.attempt" attribute: 1-based connect attempt.

View Source
const AttrLkConnectionState = "lk.connection_state"

AttrLkConnectionState is the "lk.connection_state" attribute: Room connection state.

View Source
const AttrLkDeploymentId = "lk.deployment_id"

AttrLkDeploymentId is the "lk.deployment_id" attribute: LiveKit Cloud deployment id.

View Source
const AttrLkDeviceAppState = "lk.device.app_state"

AttrLkDeviceAppState is the "lk.device.app_state" attribute: Whether the app is in front of the user.

View Source
const AttrLkDeviceAudioInterruption = "lk.device.audio.interruption"

AttrLkDeviceAudioInterruption is the "lk.device.audio.interruption" attribute: Phase of an audio session interruption.

View Source
const AttrLkDeviceAudioRouteOutputs = "lk.device.audio_route.outputs"

AttrLkDeviceAudioRouteOutputs is the "lk.device.audio_route.outputs" attribute: The active outputs, comma-separated.

View Source
const AttrLkDeviceAudioRouteReason = "lk.device.audio_route.reason"

AttrLkDeviceAudioRouteReason is the "lk.device.audio_route.reason" attribute: Why the audio route changed.

View Source
const AttrLkDeviceBatteryCharging = "lk.device.battery.charging"

AttrLkDeviceBatteryCharging is the "lk.device.battery.charging" attribute: The device is charging.

View Source
const AttrLkDeviceBatteryLevel = "lk.device.battery.level"

AttrLkDeviceBatteryLevel is the "lk.device.battery.level" attribute: Battery charge in percent, 0-100. Unit: `%`.

View Source
const AttrLkDeviceCaptureDevice = "lk.device.capture.device"

AttrLkDeviceCaptureDevice is the "lk.device.capture.device" attribute: Capture device that failed.

View Source
const AttrLkDeviceCaptureReason = "lk.device.capture.reason"

AttrLkDeviceCaptureReason is the "lk.device.capture.reason" attribute: Why capture failed, in the getUserMedia failure taxonomy.

View Source
const AttrLkDeviceLowPowerEnabled = "lk.device.low_power.enabled"

AttrLkDeviceLowPowerEnabled is the "lk.device.low_power.enabled" attribute: Low Power Mode / Battery Saver is on.

View Source
const AttrLkDeviceMemoryPressure = "lk.device.memory.pressure"

AttrLkDeviceMemoryPressure is the "lk.device.memory.pressure" attribute: Memory pressure as the OS reports it.

View Source
const AttrLkDeviceNetworkConstrained = "lk.device.network.constrained"

AttrLkDeviceNetworkConstrained is the "lk.device.network.constrained" attribute: The user asked for less traffic (Low Data Mode, Data Saver).

View Source
const AttrLkDeviceNetworkExpensive = "lk.device.network.expensive"

AttrLkDeviceNetworkExpensive is the "lk.device.network.expensive" attribute: The network is metered (cellular, personal hotspot).

View Source
const AttrLkDeviceThermalState = "lk.device.thermal.state"

AttrLkDeviceThermalState is the "lk.device.thermal.state" attribute: Thermal pressure as the OS reports it.

View Source
const AttrLkDisconnectReason = "lk.disconnect_reason"

AttrLkDisconnectReason is the "lk.disconnect_reason" attribute: Why a participant left the room, as the protobuf `DisconnectReason` enum name.

View Source
const AttrLkDispatchId = "lk.dispatch_id"

AttrLkDispatchId is the "lk.dispatch_id" attribute: Agent dispatch id.

View Source
const AttrLkE2eLatency = "lk.e2e_latency"

AttrLkE2eLatency is the "lk.e2e_latency" attribute: Seconds from the end of the user's speech to the agent's first audio. Unit: `s`.

View Source
const AttrLkEndOfTurnDelay = "lk.end_of_turn_delay"

AttrLkEndOfTurnDelay is the "lk.end_of_turn_delay" attribute: Seconds from the end of speech to the turn decision. Unit: `s`.

View Source
const AttrLkEouDetectionDelay = "lk.eou.detection_delay"

AttrLkEouDetectionDelay is the "lk.eou.detection_delay" attribute: Seconds the detector inference took. Unit: `s`.

View Source
const AttrLkEouEndpointingDelay = "lk.eou.endpointing_delay"

AttrLkEouEndpointingDelay is the "lk.eou.endpointing_delay" attribute: Seconds of endpointing delay applied. Unit: `s`.

View Source
const AttrLkEouFromCache = "lk.eou.from_cache"

AttrLkEouFromCache is the "lk.eou.from_cache" attribute: The detector answer came from the cache.

View Source
const AttrLkEouLanguage = "lk.eou.language"

AttrLkEouLanguage is the "lk.eou.language" attribute: Language the detector ran for.

View Source
const AttrLkEouNotCommittedCount = "lk.eou.not_committed_count"

AttrLkEouNotCommittedCount is the "lk.eou.not_committed_count" attribute: Turn decisions the wait rejected before it ended.

View Source
const AttrLkEouOutcome = "lk.eou.outcome"

AttrLkEouOutcome is the "lk.eou.outcome" attribute: How the endpointing wait ended.

View Source
const AttrLkEouProbability = "lk.eou.probability"

AttrLkEouProbability is the "lk.eou.probability" attribute: End-of-utterance probability.

View Source
const AttrLkEouRearmCount = "lk.eou.rearm_count"

AttrLkEouRearmCount is the "lk.eou.rearm_count" attribute: Times the endpointing wait restarted on a later trigger.

View Source
const AttrLkEouResumeCount = "lk.eou.resume_count"

AttrLkEouResumeCount is the "lk.eou.resume_count" attribute: Endpointing waits the user cut short by speaking again.

View Source
const AttrLkEouSource = "lk.eou.source"

AttrLkEouSource is the "lk.eou.source" attribute: What decided the end of the turn.

View Source
const AttrLkEouUnlikelyThreshold = "lk.eou.unlikely_threshold"

AttrLkEouUnlikelyThreshold is the "lk.eou.unlikely_threshold" attribute: Threshold under which the turn is unlikely to be over.

View Source
const AttrLkEouWaitDuration = "lk.eou.wait_duration"

AttrLkEouWaitDuration is the "lk.eou.wait_duration" attribute: Seconds from the end of the user's speech to the turn decision. Unit: `s`.

View Source
const AttrLkErrorRetryable = "lk.error.retryable"

AttrLkErrorRetryable is the "lk.error.retryable" attribute: The provider error is retryable (Node binding).

View Source
const AttrLkFail = "lk.fail"

AttrLkFail is the "lk.fail" attribute: The session report is tagged failed.

View Source
const AttrLkFallbackIndex = "lk.fallback.index"

AttrLkFallbackIndex is the "lk.fallback.index" attribute: Index of the fallback instance that served the request.

View Source
const AttrLkFallbackLabel = "lk.fallback.label"

AttrLkFallbackLabel is the "lk.fallback.label" attribute: Label of the fallback instance that served the request.

View Source
const AttrLkFallbackRecovery = "lk.fallback.recovery"

AttrLkFallbackRecovery is the "lk.fallback.recovery" attribute: The request was a recovery probe of a failed instance.

View Source
const AttrLkFirstFrameDelay = "lk.first_frame_delay"

AttrLkFirstFrameDelay is the "lk.first_frame_delay" attribute: Seconds from waiting for a track to its first frame. Unit: `s`.

View Source
const AttrLkFrameResolution = "lk.frame.resolution"

AttrLkFrameResolution is the "lk.frame.resolution" attribute: How the inbound frame of a plugin-task metric was resolved (Node binding).

View Source
const AttrLkFunctionToolId = "lk.function_tool.id"

AttrLkFunctionToolId is the "lk.function_tool.id" attribute: Tool call id.

View Source
const AttrLkFunctionToolIsError = "lk.function_tool.is_error"

AttrLkFunctionToolIsError is the "lk.function_tool.is_error" attribute: The tool returned an error.

View Source
const AttrLkFunctionToolName = "lk.function_tool.name"

AttrLkFunctionToolName is the "lk.function_tool.name" attribute: Tool name.

View Source
const AttrLkFunctionTools = "lk.function_tools"

AttrLkFunctionTools is the "lk.function_tools" attribute: Function tool names offered.

View Source
const AttrLkGenerationCount = "lk.generation_count"

AttrLkGenerationCount is the "lk.generation_count" attribute: Generations in the turn.

View Source
const AttrLkGenerationId = "lk.generation_id"

AttrLkGenerationId is the "lk.generation_id" attribute: Id of the agent turn (generation).

View Source
const AttrLkInputBaseSpanId = "lk.input.base_span_id"

AttrLkInputBaseSpanId is the "lk.input.base_span_id" attribute: Span whose input record this one continues.

View Source
const AttrLkInputDelta = "lk.input.delta"

AttrLkInputDelta is the "lk.input.delta" attribute: The span's input record is a delta over its base span.

View Source
const AttrLkInputDroppedFromBase = "lk.input.dropped_from_base"

AttrLkInputDroppedFromBase is the "lk.input.dropped_from_base" attribute: Items of the base record not carried into this one.

View Source
const AttrLkInterrupted = "lk.interrupted"

AttrLkInterrupted is the "lk.interrupted" attribute: The speech was interrupted.

View Source
const AttrLkInterruptionDetectionDelay = "lk.interruption.detection_delay"

AttrLkInterruptionDetectionDelay is the "lk.interruption.detection_delay" attribute: Seconds from the user's speech to the interruption decision. Unit: `s`.

View Source
const AttrLkInterruptionPredictionDuration = "lk.interruption.prediction_duration"

AttrLkInterruptionPredictionDuration is the "lk.interruption.prediction_duration" attribute: Seconds the interruption prediction took. Unit: `s`.

View Source
const AttrLkInterruptionProbability = "lk.interruption.probability"

AttrLkInterruptionProbability is the "lk.interruption.probability" attribute: Interruption probability.

View Source
const AttrLkInterruptionSource = "lk.interruption.source"

AttrLkInterruptionSource is the "lk.interruption.source" attribute: What triggered the interruption.

View Source
const AttrLkInterruptionTotalDuration = "lk.interruption.total_duration"

AttrLkInterruptionTotalDuration is the "lk.interruption.total_duration" attribute: Seconds of the interruption from detection to resolution. Unit: `s`.

View Source
const AttrLkIsInterruption = "lk.is_interruption"

AttrLkIsInterruption is the "lk.is_interruption" attribute: The user turn was classified as an interruption.

View Source
const AttrLkJobAcceptLatency = "lk.job.accept_latency"

AttrLkJobAcceptLatency is the "lk.job.accept_latency" attribute: Seconds from the job request to its acceptance. Unit: `s`.

View Source
const AttrLkJobAgentId = "lk.job.agent_id"

AttrLkJobAgentId is the "lk.job.agent_id" attribute: Agent id of the job.

View Source
const AttrLkJobAssignmentLatency = "lk.job.assignment_latency"

AttrLkJobAssignmentLatency is the "lk.job.assignment_latency" attribute: Seconds from acceptance to the job assignment. Unit: `s`.

View Source
const AttrLkJobDispatchLatency = "lk.job.dispatch_latency"

AttrLkJobDispatchLatency is the "lk.job.dispatch_latency" attribute: Seconds from the dispatch request to the entrypoint running. Unit: `s`.

View Source
const AttrLkJobEntrypointLatency = "lk.job.entrypoint_latency"

AttrLkJobEntrypointLatency is the "lk.job.entrypoint_latency" attribute: Seconds from launch to the entrypoint running. Unit: `s`.

View Source
const AttrLkJobId = "lk.job_id"

AttrLkJobId is the "lk.job_id" attribute: Agent job ID (`AJ_...`).

View Source
const AttrLkJobLaunchLatency = "lk.job.launch_latency"

AttrLkJobLaunchLatency is the "lk.job.launch_latency" attribute: Seconds from assignment to the job process launch. Unit: `s`.

View Source
const AttrLkJobWorkerId = "lk.job.worker_id"

AttrLkJobWorkerId is the "lk.job.worker_id" attribute: Worker id the job runs on.

View Source
const AttrLkKeytermsAdded = "lk.keyterms.added"

AttrLkKeytermsAdded is the "lk.keyterms.added" attribute: Keyterms added by the update.

View Source
const AttrLkKeytermsCount = "lk.keyterms.count"

AttrLkKeytermsCount is the "lk.keyterms.count" attribute: Number of keyterms configured.

View Source
const AttrLkKeytermsRemoved = "lk.keyterms.removed"

AttrLkKeytermsRemoved is the "lk.keyterms.removed" attribute: Keyterms removed by the update.

View Source
const AttrLkLlmMetrics = "lk.llm_metrics"

AttrLkLlmMetrics is the "lk.llm_metrics" attribute: LLM metrics of the turn, serialized.

View Source
const AttrLkLogLogger = "lk.log.logger"

AttrLkLogLogger is the "lk.log.logger" attribute: Logger, type, module or file that wrote the line.

View Source
const AttrLkLogSource = "lk.log.source"

AttrLkLogSource is the "lk.log.source" attribute: Which layer wrote the log line.

View Source
const AttrLkMetric = "lk.metric"

AttrLkMetric is the "lk.metric" attribute: Metric type noted from a plugin task (Node binding `metrics` span).

View Source
const AttrLkNewState = "lk.new_state"

AttrLkNewState is the "lk.new_state" attribute: State after a transition.

View Source
const AttrLkOldState = "lk.old_state"

AttrLkOldState is the "lk.old_state" attribute: State before a transition.

View Source
const AttrLkOnUserTurnCompletedDelay = "lk.on_user_turn_completed_delay"

AttrLkOnUserTurnCompletedDelay is the "lk.on_user_turn_completed_delay" attribute: Seconds the `on_user_turn_completed` hook took. Unit: `s`.

View Source
const AttrLkOutcome = "lk.outcome"

AttrLkOutcome is the "lk.outcome" attribute: How the attempt ended. Rollups read this, never the span status.

View Source
const AttrLkParentGenerationId = "lk.parent_generation_id"

AttrLkParentGenerationId is the "lk.parent_generation_id" attribute: Generation this one continues (a tool-call follow-up).

View Source
const AttrLkParticipantId = "lk.participant_id"

AttrLkParticipantId is the "lk.participant_id" attribute: Server-assigned SID of the local participant (`PA_...`).

View Source
const AttrLkParticipantKind = "lk.participant_kind"

AttrLkParticipantKind is the "lk.participant_kind" attribute: Kind of the linked participant (protocol `ParticipantInfo.Kind`).

View Source
const AttrLkPiiAmdTranscript = "lk.pii.amd.transcript"

AttrLkPiiAmdTranscript is the "lk.pii.amd.transcript" attribute: Transcript the AMD classifier used. PII: redacted by the collector.

View Source
const AttrLkPiiArguments = "lk.pii.arguments"

AttrLkPiiArguments is the "lk.pii.arguments" attribute: Tool-call arguments on a log record. PII: redacted by the collector.

View Source
const AttrLkPiiChatCtx = "lk.pii.chat_ctx"

AttrLkPiiChatCtx is the "lk.pii.chat_ctx" attribute: Serialized chat context sent to the LLM. PII: redacted by the collector.

View Source
const AttrLkPiiDtmfInputs = "lk.pii.dtmf_inputs"

AttrLkPiiDtmfInputs is the "lk.pii.dtmf_inputs" attribute: DTMF digits received. PII: redacted by the collector.

View Source
const AttrLkPiiError = "lk.pii.error"

AttrLkPiiError is the "lk.pii.error" attribute: Error text that may quote user content. PII: redacted by the collector.

View Source
const AttrLkPiiEvent = "lk.pii.event"

AttrLkPiiEvent is the "lk.pii.event" attribute: Raw provider event on a debug log record. PII: redacted by the collector.

View Source
const AttrLkPiiFunctionToolArguments = "lk.pii.function_tool.arguments"

AttrLkPiiFunctionToolArguments is the "lk.pii.function_tool.arguments" attribute: Tool call arguments. PII: redacted by the collector.

View Source
const AttrLkPiiFunctionToolOutput = "lk.pii.function_tool.output"

AttrLkPiiFunctionToolOutput is the "lk.pii.function_tool.output" attribute: Tool output. PII: redacted by the collector.

View Source
const AttrLkPiiInputText = "lk.pii.input_text"

AttrLkPiiInputText is the "lk.pii.input_text" attribute: Text sent to the TTS. PII: redacted by the collector.

View Source
const AttrLkPiiInstructions = "lk.pii.instructions"

AttrLkPiiInstructions is the "lk.pii.instructions" attribute: Agent instructions in force. PII: redacted by the collector.

View Source
const AttrLkPiiInterimTranscript = "lk.pii.interim_transcript"

AttrLkPiiInterimTranscript is the "lk.pii.interim_transcript" attribute: An interim (non-final) transcript, on a log record. PII: redacted by the collector.

View Source
const AttrLkPiiKeyterms = "lk.pii.keyterms"

AttrLkPiiKeyterms is the "lk.pii.keyterms" attribute: The keyterms themselves (customer vocabulary). PII: redacted by the collector.

View Source
const AttrLkPiiOutput = "lk.pii.output"

AttrLkPiiOutput is the "lk.pii.output" attribute: Tool-call output on a log record. PII: redacted by the collector.

View Source
const AttrLkPiiParticipantIdentity = "lk.pii.participant_identity"

AttrLkPiiParticipantIdentity is the "lk.pii.participant_identity" attribute: Customer-supplied identity of the local participant. PII: redacted by the collector.

View Source
const AttrLkPiiProgressMessage = "lk.pii.progress_message"

AttrLkPiiProgressMessage is the "lk.pii.progress_message" attribute: MCP tool progress message. PII: redacted by the collector.

View Source
const AttrLkPiiRawArguments = "lk.pii.raw_arguments"

AttrLkPiiRawArguments is the "lk.pii.raw_arguments" attribute: Malformed tool-call arguments as received. PII: redacted by the collector.

View Source
const AttrLkPiiRemoteParticipantIdentity = "lk.pii.remote_participant_identity"

AttrLkPiiRemoteParticipantIdentity is the "lk.pii.remote_participant_identity" attribute: Customer-supplied identity of the remote participant a record is about (the publisher, on subscribe). PII: redacted by the collector.

View Source
const AttrLkPiiRepaired = "lk.pii.repaired"

AttrLkPiiRepaired is the "lk.pii.repaired" attribute: Tool-call arguments after repair. PII: redacted by the collector.

View Source
const AttrLkPiiResponseFunctionCalls = "lk.pii.response.function_calls"

AttrLkPiiResponseFunctionCalls is the "lk.pii.response.function_calls" attribute: Function calls the LLM produced, serialized. PII: redacted by the collector.

View Source
const AttrLkPiiResponseText = "lk.pii.response.text"

AttrLkPiiResponseText is the "lk.pii.response.text" attribute: Text the LLM produced. PII: redacted by the collector.

View Source
const AttrLkPiiRoomName = "lk.pii.room_name"

AttrLkPiiRoomName is the "lk.pii.room_name" attribute: Customer-supplied room name. PII: redacted by the collector.

View Source
const AttrLkPiiRpcPayload = "lk.pii.rpc.payload"

AttrLkPiiRpcPayload is the "lk.pii.rpc.payload" attribute: RPC request payload. PII: redacted by the collector.

View Source
const AttrLkPiiRpcResponse = "lk.pii.rpc.response"

AttrLkPiiRpcResponse is the "lk.pii.rpc.response" attribute: RPC response payload. PII: redacted by the collector.

View Source
const AttrLkPiiSipPhoneNumber = "lk.pii.sip.phoneNumber"

AttrLkPiiSipPhoneNumber is the "lk.pii.sip.phoneNumber" attribute: Phone number of a SIP participant. PII: redacted by the collector.

View Source
const AttrLkPiiText = "lk.pii.text"

AttrLkPiiText is the "lk.pii.text" attribute: Message text on a log record. PII: redacted by the collector.

View Source
const AttrLkPiiTranscript = "lk.pii.transcript"

AttrLkPiiTranscript is the "lk.pii.transcript" attribute: Transcript text on a log record. PII: redacted by the collector.

View Source
const AttrLkPiiUserInput = "lk.pii.user_input"

AttrLkPiiUserInput is the "lk.pii.user_input" attribute: The user's transcript for the turn. PII: redacted by the collector.

View Source
const AttrLkPiiUserTranscript = "lk.pii.user_transcript"

AttrLkPiiUserTranscript is the "lk.pii.user_transcript" attribute: Transcript the detector scored. PII: redacted by the collector.

View Source
const AttrLkPingSeq = "lk.ping.seq"

AttrLkPingSeq is the "lk.ping.seq" attribute: Monotonically increasing sequence number per pipeline.

View Source
const AttrLkPlayoutPosition = "lk.playout.position"

AttrLkPlayoutPosition is the "lk.playout.position" attribute: Seconds of the agent's speech played out when it was interrupted. Unit: `s`.

View Source
const AttrLkPreConnectAudioDuration = "lk.pre_connect_audio.duration"

AttrLkPreConnectAudioDuration is the "lk.pre_connect_audio.duration" attribute: Seconds of pre-connect audio replayed. Unit: `s`.

View Source
const AttrLkPreviousAgentLabel = "lk.previous_agent_label"

AttrLkPreviousAgentLabel is the "lk.previous_agent_label" attribute: Label of the agent handed off from.

View Source
const AttrLkProviderRequestIds = "lk.provider_request_ids"

AttrLkProviderRequestIds is the "lk.provider_request_ids" attribute: Provider request ids a span covers, for joining against provider logs.

View Source
const AttrLkProviderTools = "lk.provider_tools"

AttrLkProviderTools is the "lk.provider_tools" attribute: Provider-side tool names offered.

View Source
const AttrLkRealtimeModelMetrics = "lk.realtime_model_metrics"

AttrLkRealtimeModelMetrics is the "lk.realtime_model_metrics" attribute: Realtime model metrics of the turn, serialized.

View Source
const AttrLkReconnectAttempts = "lk.reconnect.attempts"

AttrLkReconnectAttempts is the "lk.reconnect.attempts" attribute: Reconnect attempts made in the cycle.

View Source
const AttrLkReconnectMode = "lk.reconnect.mode"

AttrLkReconnectMode is the "lk.reconnect.mode" attribute: Mode of the last reconnect attempt.

View Source
const AttrLkReconnectReason = "lk.reconnect.reason"

AttrLkReconnectReason is the "lk.reconnect.reason" attribute: What triggered the reconnect cycle.

View Source
const AttrLkRedactionEnabled = "lk.redaction.enabled"

AttrLkRedactionEnabled is the "lk.redaction.enabled" attribute: PII redaction was requested for the session.

View Source
const AttrLkResponseTtfb = "lk.response.ttfb"

AttrLkResponseTtfb is the "lk.response.ttfb" attribute: Seconds to the first TTS audio byte. Unit: `s`.

View Source
const AttrLkResponseTtft = "lk.response.ttft"

AttrLkResponseTtft is the "lk.response.ttft" attribute: Seconds to the first LLM token. Unit: `s`.

View Source
const AttrLkRetryCount = "lk.retry_count"

AttrLkRetryCount is the "lk.retry_count" attribute: Retries before the operation succeeded or gave up.

View Source
const AttrLkRoomAutoSubscribe = "lk.room.auto_subscribe"

AttrLkRoomAutoSubscribe is the "lk.room.auto_subscribe" attribute: The room was joined with auto-subscribe.

View Source
const AttrLkRoomE2ee = "lk.room.e2ee"

AttrLkRoomE2ee is the "lk.room.e2ee" attribute: End-to-end encryption is on.

View Source
const AttrLkRoomId = "lk.room_id"

AttrLkRoomId is the "lk.room_id" attribute: Server-assigned room session SID (`RM_...`).

View Source
const AttrLkRoomIoParticipantFilter = "lk.room_io.participant_filter"

AttrLkRoomIoParticipantFilter is the "lk.room_io.participant_filter" attribute: How room I/O picked its participant.

View Source
const AttrLkRoomRemoteParticipantCount = "lk.room.remote_participant_count"

AttrLkRoomRemoteParticipantCount is the "lk.room.remote_participant_count" attribute: Remote participants when the agent connected.

View Source
const AttrLkRpcCallerIdentity = "lk.rpc.caller_identity"

AttrLkRpcCallerIdentity is the "lk.rpc.caller_identity" attribute: Identity of the RPC caller.

View Source
const AttrLkRpcDestinationIdentity = "lk.rpc.destination_identity"

AttrLkRpcDestinationIdentity is the "lk.rpc.destination_identity" attribute: Identity the RPC is sent to.

View Source
const AttrLkRpcErrorCode = "lk.rpc.error_code"

AttrLkRpcErrorCode is the "lk.rpc.error_code" attribute: RPC error code.

View Source
const AttrLkRpcHandlerRegistered = "lk.rpc.handler_registered"

AttrLkRpcHandlerRegistered is the "lk.rpc.handler_registered" attribute: A handler was registered for the method.

View Source
const AttrLkRpcPayloadSize = "lk.rpc.payload_size"

AttrLkRpcPayloadSize is the "lk.rpc.payload_size" attribute: RPC request payload size in bytes. Unit: `By`.

View Source
const AttrLkRpcRequestId = "lk.rpc.request_id"

AttrLkRpcRequestId is the "lk.rpc.request_id" attribute: RPC request id.

View Source
const AttrLkRpcResponseSize = "lk.rpc.response_size"

AttrLkRpcResponseSize is the "lk.rpc.response_size" attribute: RPC response size in bytes. Unit: `By`.

View Source
const AttrLkRpcResponseTimeout = "lk.rpc.response_timeout"

AttrLkRpcResponseTimeout is the "lk.rpc.response_timeout" attribute: RPC response timeout in seconds. Unit: `s`.

View Source
const AttrLkRtcAudioLevelAvg = "lk.rtc.audio_level.avg"

AttrLkRtcAudioLevelAvg is the "lk.rtc.audio_level.avg" attribute: Average audio level in the window, 0-1, inbound audio. Unit: `1`.

View Source
const AttrLkRtcAudioLevelMax = "lk.rtc.audio_level.max"

AttrLkRtcAudioLevelMax is the "lk.rtc.audio_level.max" attribute: Maximum audio level in the window, 0-1, inbound audio. Unit: `1`.

View Source
const AttrLkRtcAudioLevelMin = "lk.rtc.audio_level.min"

AttrLkRtcAudioLevelMin is the "lk.rtc.audio_level.min" attribute: Minimum audio level in the window, 0-1, inbound audio. Unit: `1`.

View Source
const AttrLkRtcBytes = "lk.rtc.bytes"

AttrLkRtcBytes is the "lk.rtc.bytes" attribute: Bytes sent or received (cumulative). Unit: `By`.

View Source
const AttrLkRtcCodec = "lk.rtc.codec"

AttrLkRtcCodec is the "lk.rtc.codec" attribute: Codec mimeType, when known.

View Source
const AttrLkRtcConcealedSamples = "lk.rtc.concealed_samples"

AttrLkRtcConcealedSamples is the "lk.rtc.concealed_samples" attribute: Concealed audio samples, inbound audio (cumulative). Unit: `{sample}`.

View Source
const AttrLkRtcConcealmentEvents = "lk.rtc.concealment_events"

AttrLkRtcConcealmentEvents is the "lk.rtc.concealment_events" attribute: Concealment events, inbound audio (cumulative). Unit: `{event}`.

View Source
const AttrLkRtcFpsAvg = "lk.rtc.fps.avg"

AttrLkRtcFpsAvg is the "lk.rtc.fps.avg" attribute: Average frame rate in the window, video. Unit: `{frame}/s`.

View Source
const AttrLkRtcFpsMax = "lk.rtc.fps.max"

AttrLkRtcFpsMax is the "lk.rtc.fps.max" attribute: Maximum frame rate in the window, video. Unit: `{frame}/s`.

View Source
const AttrLkRtcFpsMin = "lk.rtc.fps.min"

AttrLkRtcFpsMin is the "lk.rtc.fps.min" attribute: Minimum frame rate in the window, video. Unit: `{frame}/s`.

View Source
const AttrLkRtcFreezeCount = "lk.rtc.freeze_count"

AttrLkRtcFreezeCount is the "lk.rtc.freeze_count" attribute: Video freezes, inbound video (cumulative). Unit: `{freeze}`.

View Source
const AttrLkRtcFreezesDurationMs = "lk.rtc.freezes_duration_ms"

AttrLkRtcFreezesDurationMs is the "lk.rtc.freezes_duration_ms" attribute: Total freeze time, inbound video (cumulative). Unit: `ms`.

View Source
const AttrLkRtcInterruptionCount = "lk.rtc.interruption_count"

AttrLkRtcInterruptionCount is the "lk.rtc.interruption_count" attribute: Audio interruptions, inbound audio (cumulative). Unit: `{interruption}`.

View Source
const AttrLkRtcInterruptionsDurationMs = "lk.rtc.interruptions_duration_ms"

AttrLkRtcInterruptionsDurationMs is the "lk.rtc.interruptions_duration_ms" attribute: Total interruption time, inbound audio (cumulative). Unit: `ms`.

View Source
const AttrLkRtcJitterBufferDelayMs = "lk.rtc.jitter_buffer_delay_ms"

AttrLkRtcJitterBufferDelayMs is the "lk.rtc.jitter_buffer_delay_ms" attribute: Jitter buffer delay, inbound (cumulative). Unit: `ms`.

View Source
const AttrLkRtcJitterBufferEmittedCount = "lk.rtc.jitter_buffer_emitted_count"

AttrLkRtcJitterBufferEmittedCount is the "lk.rtc.jitter_buffer_emitted_count" attribute: Samples or frames emitted by the jitter buffer, inbound (cumulative). Unit: `{sample}`.

View Source
const AttrLkRtcJitterMsAvg = "lk.rtc.jitter_ms.avg"

AttrLkRtcJitterMsAvg is the "lk.rtc.jitter_ms.avg" attribute: Average jitter in the window, inbound. Unit: `ms`.

View Source
const AttrLkRtcJitterMsMax = "lk.rtc.jitter_ms.max"

AttrLkRtcJitterMsMax is the "lk.rtc.jitter_ms.max" attribute: Maximum jitter in the window, inbound. Unit: `ms`.

View Source
const AttrLkRtcJitterMsMin = "lk.rtc.jitter_ms.min"

AttrLkRtcJitterMsMin is the "lk.rtc.jitter_ms.min" attribute: Minimum jitter in the window, inbound. Unit: `ms`.

View Source
const AttrLkRtcPackets = "lk.rtc.packets"

AttrLkRtcPackets is the "lk.rtc.packets" attribute: Packets sent or received (cumulative). Unit: `{packet}`.

View Source
const AttrLkRtcPacketsLost = "lk.rtc.packets_lost"

AttrLkRtcPacketsLost is the "lk.rtc.packets_lost" attribute: Packets lost, inbound (cumulative). Unit: `{packet}`.

View Source
const AttrLkRtcPauseCount = "lk.rtc.pause_count"

AttrLkRtcPauseCount is the "lk.rtc.pause_count" attribute: Video pauses, inbound video (cumulative). Unit: `{pause}`.

View Source
const AttrLkRtcPausesDurationMs = "lk.rtc.pauses_duration_ms"

AttrLkRtcPausesDurationMs is the "lk.rtc.pauses_duration_ms" attribute: Total pause time, inbound video (cumulative). Unit: `ms`.

View Source
const AttrLkRtcQualityLimitationBandwidthMs = "lk.rtc.quality_limitation.bandwidth_ms"

AttrLkRtcQualityLimitationBandwidthMs is the "lk.rtc.quality_limitation.bandwidth_ms" attribute: Time the encoder was limited by bandwidth, outbound video (cumulative). Unit: `ms`.

View Source
const AttrLkRtcQualityLimitationCpuMs = "lk.rtc.quality_limitation.cpu_ms"

AttrLkRtcQualityLimitationCpuMs is the "lk.rtc.quality_limitation.cpu_ms" attribute: Time the encoder was limited by CPU, outbound video (cumulative). Unit: `ms`.

View Source
const AttrLkRtcQualityLimitationOtherMs = "lk.rtc.quality_limitation.other_ms"

AttrLkRtcQualityLimitationOtherMs is the "lk.rtc.quality_limitation.other_ms" attribute: Time the encoder was limited for other reasons, outbound video (cumulative). Unit: `ms`.

View Source
const AttrLkRtcRttMsAvg = "lk.rtc.rtt_ms.avg"

AttrLkRtcRttMsAvg is the "lk.rtc.rtt_ms.avg" attribute: Average round-trip time in the window. Unit: `ms`.

View Source
const AttrLkRtcRttMsMax = "lk.rtc.rtt_ms.max"

AttrLkRtcRttMsMax is the "lk.rtc.rtt_ms.max" attribute: Maximum round-trip time in the window. Unit: `ms`.

View Source
const AttrLkRtcRttMsMin = "lk.rtc.rtt_ms.min"

AttrLkRtcRttMsMin is the "lk.rtc.rtt_ms.min" attribute: Minimum round-trip time in the window. Unit: `ms`.

View Source
const AttrLkRtcSamples = "lk.rtc.samples"

AttrLkRtcSamples is the "lk.rtc.samples" attribute: Stats readings folded into the window. Unit: `{reading}`.

View Source
const AttrLkRtcSilentConcealedSamples = "lk.rtc.silent_concealed_samples"

AttrLkRtcSilentConcealedSamples is the "lk.rtc.silent_concealed_samples" attribute: Concealed samples that were silent, inbound audio (cumulative). Unit: `{sample}`.

View Source
const AttrLkRtcWindowMs = "lk.rtc.window_ms"

AttrLkRtcWindowMs is the "lk.rtc.window_ms" attribute: Actual length of the stats window. Unit: `ms`.

View Source
const AttrLkSdkName = "lk.sdk.name"

AttrLkSdkName is the "lk.sdk.name" attribute: LiveKit SDK name.

View Source
const AttrLkSdkVersion = "lk.sdk.version"

AttrLkSdkVersion is the "lk.sdk.version" attribute: LiveKit SDK version.

View Source
const AttrLkShutdownReason = "lk.shutdown.reason"

AttrLkShutdownReason is the "lk.shutdown.reason" attribute: Why the job shut down.

View Source
const AttrLkShutdownUserInitiated = "lk.shutdown.user_initiated"

AttrLkShutdownUserInitiated is the "lk.shutdown.user_initiated" attribute: The shutdown was requested by user code.

View Source
const AttrLkSimulationEnabled = "lk.simulation.enabled"

AttrLkSimulationEnabled is the "lk.simulation.enabled" attribute: The session is a simulation.

View Source
const AttrLkSimulationJobId = "lk.simulation.job_id"

AttrLkSimulationJobId is the "lk.simulation.job_id" attribute: Simulation run job (one scenario) behind the session.

View Source
const AttrLkSimulationRunId = "lk.simulation.run_id"

AttrLkSimulationRunId is the "lk.simulation.run_id" attribute: Simulation run the session belongs to.

View Source
const AttrLkSpeechId = "lk.speech_id"

AttrLkSpeechId is the "lk.speech_id" attribute: Id of the speech handle a span belongs to.

View Source
const AttrLkSpeechQueueWait = "lk.speech.queue_wait"

AttrLkSpeechQueueWait is the "lk.speech.queue_wait" attribute: Seconds a speech handle waited in the queue before generation was authorized. Unit: `s`.

View Source
const AttrLkSttEvents = "lk.stt.events"

AttrLkSttEvents is the "lk.stt.events" attribute: JSON list of transcript events on the user turn, in arrival order (received_at, type, transcript_length).

View Source
const AttrLkSuccess = "lk.success"

AttrLkSuccess is the "lk.success" attribute: The session report is tagged successful.

View Source
const AttrLkTelemetryCacheBatches = "lk.telemetry.cache.batches"

AttrLkTelemetryCacheBatches is the "lk.telemetry.cache.batches" attribute: Batches waiting in the cache now. Unit: `{batch}`.

View Source
const AttrLkTelemetryCacheDeleteErrors = "lk.telemetry.cache.delete_errors"

AttrLkTelemetryCacheDeleteErrors is the "lk.telemetry.cache.delete_errors" attribute: Sent batches the cache could not delete; never sent twice from the same launch. Unit: `{batch}`.

View Source
const AttrLkTelemetryCacheListErrors = "lk.telemetry.cache.list_errors"

AttrLkTelemetryCacheListErrors is the "lk.telemetry.cache.list_errors" attribute: Times the cache could not be listed, so nothing was reconciled or sent. Unit: `{attempt}`.

View Source
const AttrLkTelemetryCacheReadErrors = "lk.telemetry.cache.read_errors"

AttrLkTelemetryCacheReadErrors is the "lk.telemetry.cache.read_errors" attribute: Cached batches that could not be read right now, kept for the next pass. Unit: `{batch}`.

View Source
const AttrLkTelemetryCacheWriteErrors = "lk.telemetry.cache.write_errors"

AttrLkTelemetryCacheWriteErrors is the "lk.telemetry.cache.write_errors" attribute: Batches the disk refused, kept in memory instead. Unit: `{batch}`.

View Source
const AttrLkTelemetryDroppedCacheError = "lk.telemetry.dropped.cache_error"

AttrLkTelemetryDroppedCacheError is the "lk.telemetry.dropped.cache_error" attribute: Records no cache, not even memory, could take. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedCacheFull = "lk.telemetry.dropped.cache_full"

AttrLkTelemetryDroppedCacheFull is the "lk.telemetry.dropped.cache_full" attribute: Records evicted by the cache's size or file-count bound. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedCorrupt = "lk.telemetry.dropped.corrupt"

AttrLkTelemetryDroppedCorrupt is the "lk.telemetry.dropped.corrupt" attribute: Records in cached batches that failed their CRC. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedExpired = "lk.telemetry.dropped.expired"

AttrLkTelemetryDroppedExpired is the "lk.telemetry.dropped.expired" attribute: Records in batches past the cache's age limit. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedInvalid = "lk.telemetry.dropped.invalid"

AttrLkTelemetryDroppedInvalid is the "lk.telemetry.dropped.invalid" attribute: Custom events, attributes or SDK strings over the limits, rejected. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedOversized = "lk.telemetry.dropped.oversized"

AttrLkTelemetryDroppedOversized is the "lk.telemetry.dropped.oversized" attribute: Single records larger than the collector accepts (413). Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedQueueFull = "lk.telemetry.dropped.queue_full"

AttrLkTelemetryDroppedQueueFull is the "lk.telemetry.dropped.queue_full" attribute: Records evicted from the in-memory queue. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedRateLimited = "lk.telemetry.dropped.rate_limited"

AttrLkTelemetryDroppedRateLimited is the "lk.telemetry.dropped.rate_limited" attribute: Discrete events dropped by the flood guard. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedRejected = "lk.telemetry.dropped.rejected"

AttrLkTelemetryDroppedRejected is the "lk.telemetry.dropped.rejected" attribute: Records the collector rejected (final 4xx/5xx, OTLP partial success). Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedThrottled = "lk.telemetry.dropped.throttled"

AttrLkTelemetryDroppedThrottled is the "lk.telemetry.dropped.throttled" attribute: Records evicted from the cache during a server-directed pause. Unit: `{record}`.

View Source
const AttrLkTelemetryDroppedUnattributed = "lk.telemetry.dropped.unattributed"

AttrLkTelemetryDroppedUnattributed is the "lk.telemetry.dropped.unattributed" attribute: Log lines from a Room-shaped logging context with no telemetry scope behind it, dropped. Unit: `{record}`.

View Source
const AttrLkTelemetryHoldsCapped = "lk.telemetry.holds.capped"

AttrLkTelemetryHoldsCapped is the "lk.telemetry.holds.capped" attribute: Soft upload holds that reached their cap. Unit: `{hold}`.

View Source
const AttrLkTelemetryUploadsBytes = "lk.telemetry.uploads.bytes"

AttrLkTelemetryUploadsBytes is the "lk.telemetry.uploads.bytes" attribute: Compressed bytes the collector accepted. Unit: `By`.

View Source
const AttrLkTelemetryUploadsFailed = "lk.telemetry.uploads.failed"

AttrLkTelemetryUploadsFailed is the "lk.telemetry.uploads.failed" attribute: Upload attempts that failed transiently (no answer, 429, 5xx). Unit: `{attempt}`.

View Source
const AttrLkTelemetryUploadsSent = "lk.telemetry.uploads.sent"

AttrLkTelemetryUploadsSent is the "lk.telemetry.uploads.sent" attribute: Batches the collector accepted. Unit: `{batch}`.

View Source
const AttrLkTelemetryUploadsTimeouts = "lk.telemetry.uploads.timeouts"

AttrLkTelemetryUploadsTimeouts is the "lk.telemetry.uploads.timeouts" attribute: Upload attempts that hit the export timeout. Unit: `{attempt}`.

View Source
const AttrLkTelemetryUploadsUnauthorized = "lk.telemetry.uploads.unauthorized"

AttrLkTelemetryUploadsUnauthorized is the "lk.telemetry.uploads.unauthorized" attribute: 401/403 answers (tokens the collector refused). Unit: `{attempt}`.

View Source
const AttrLkToolSets = "lk.tool_sets"

AttrLkToolSets is the "lk.tool_sets" attribute: Tool set names offered.

View Source
const AttrLkTrackDirection = "lk.track.direction"

AttrLkTrackDirection is the "lk.track.direction" attribute: Whether the stats describe sent or received media.

View Source
const AttrLkTrackId = "lk.track_id"

AttrLkTrackId is the "lk.track_id" attribute: Server-assigned track SID (`TR_...`).

View Source
const AttrLkTrackKind = "lk.track.kind"

AttrLkTrackKind is the "lk.track.kind" attribute: Media kind of the track.

View Source
const AttrLkTrackSource = "lk.track_source"

AttrLkTrackSource is the "lk.track_source" attribute: Source of the track, as the Agents RTC FFI `TrackSource` enum name.

View Source
const AttrLkTranscriptConfidence = "lk.transcript_confidence"

AttrLkTranscriptConfidence is the "lk.transcript_confidence" attribute: Confidence of the final transcript.

View Source
const AttrLkTranscriptionDelay = "lk.transcription_delay"

AttrLkTranscriptionDelay is the "lk.transcription_delay" attribute: Seconds from the end of speech to the final transcript. Unit: `s`.

View Source
const AttrLkTtsBytes = "lk.tts.bytes"

AttrLkTtsBytes is the "lk.tts.bytes" attribute: Audio bytes the TTS driver collected (Node binding). Unit: `By`.

View Source
const AttrLkTtsFrames = "lk.tts.frames"

AttrLkTtsFrames is the "lk.tts.frames" attribute: Audio frames the TTS driver collected (Node binding).

View Source
const AttrLkTtsLabel = "lk.tts.label"

AttrLkTtsLabel is the "lk.tts.label" attribute: Label of the TTS instance.

View Source
const AttrLkTtsMetrics = "lk.tts_metrics"

AttrLkTtsMetrics is the "lk.tts_metrics" attribute: TTS metrics of the turn, serialized.

View Source
const AttrLkTtsNoDuplexPath = "lk.tts.no_duplex_path"

AttrLkTtsNoDuplexPath is the "lk.tts.no_duplex_path" attribute: The TTS reported no duplex path, so the stream adapter was selected (Node binding; not a failure).

View Source
const AttrLkTtsStreaming = "lk.tts.streaming"

AttrLkTtsStreaming is the "lk.tts.streaming" attribute: The TTS instance streams (duplex path).

View Source
const AttrModelName = "model_name"

AttrModelName is the "model_name" attribute: Model name the plugin reported.

View Source
const AttrModelProvider = "model_provider"

AttrModelProvider is the "model_provider" attribute: Provider the plugin reported.

View Source
const AttrNetworkConnectionType = "network.connection.type"

AttrNetworkConnectionType is the "network.connection.type" attribute: The internet connection type.

View Source
const AttrOsName = "os.name"

AttrOsName is the "os.name" attribute: Human readable operating system name.

View Source
const AttrOsVersion = "os.version"

AttrOsVersion is the "os.version" attribute: The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes).

View Source
const AttrOtelEventName = "otel.event.name"

AttrOtelEventName is the "otel.event.name" attribute: Identifies the class / type of event.

View Source
const AttrOutcome = "outcome"

AttrOutcome is the "outcome" attribute: The session outcome, as a map with the field `outcome` (`success` or `fail`) and an optional `reason`.

View Source
const AttrRpcMethod = "rpc.method"

AttrRpcMethod is the "rpc.method" attribute: The fully-qualified logical name of the method from the RPC interface perspective.

View Source
const AttrSdkVersion = "sdk_version"

AttrSdkVersion is the "sdk_version" attribute: The Agents SDK version.

View Source
const AttrServiceName = "service.name"

AttrServiceName is the "service.name" attribute: Logical name of the service.

View Source
const AttrServiceVersion = "service.version"

AttrServiceVersion is the "service.version" attribute: The version string of the service component. The format is not defined by these conventions.

View Source
const AttrSessionId = "session.id"

AttrSessionId is the "session.id" attribute: A unique ID to identify a session.

View Source
const AttrSessionOptions = "session.options"

AttrSessionOptions is the "session.options" attribute: The session's options, as a map of option name to value.

View Source
const AttrSessionReportTimestamp = "session.report_timestamp"

AttrSessionReportTimestamp is the "session.report_timestamp" attribute: When the report was made, in Unix seconds.

View Source
const AttrSessionTags = "session.tags"

AttrSessionTags is the "session.tags" attribute: The session's tags, sorted. Absent when the session has none.

View Source
const AttrTag = "tag"

AttrTag is the "tag" attribute: One tag with metadata, as a map with the fields `name` and `metadata`.

View Source
const AttrTelemetrySdkLanguage = "telemetry.sdk.language"

AttrTelemetrySdkLanguage is the "telemetry.sdk.language" attribute: The language of the telemetry SDK.

View Source
const AttrTelemetrySdkName = "telemetry.sdk.name"

AttrTelemetrySdkName is the "telemetry.sdk.name" attribute: The name of the telemetry SDK as defined above.

View Source
const AttrTelemetrySdkVersion = "telemetry.sdk.version"

AttrTelemetrySdkVersion is the "telemetry.sdk.version" attribute: The version string of the telemetry SDK.

View Source
const AttrUsage = "usage"

AttrUsage is the "usage" attribute: Model usage, as a list of maps, one per model. Absent when there was none.

View Source
const CheckpointAgentStateChanged = "agent_state_changed"

CheckpointAgentStateChanged is the "agent_state_changed" checkpoint: The agent state changed (`lk.old_state` -> `lk.new_state`).

View Source
const CheckpointAnswerSent = "answer_sent"

CheckpointAnswerSent is the "answer_sent" checkpoint: The subscriber's SDP answer went out.

View Source
const CheckpointEarlyPcCreated = "early_pc_created"

CheckpointEarlyPcCreated is the "early_pc_created" checkpoint: A peer connection was created before the join response (JS port only).

View Source
const CheckpointEngine = "engine"

CheckpointEngine is the "engine" checkpoint: The RTC engine is ready (Swift stamps it with pc_connected).

View Source
const CheckpointEntrypointCancelled = "entrypoint_cancelled"

CheckpointEntrypointCancelled is the "entrypoint_cancelled" checkpoint: The entrypoint was cancelled.

View Source
const CheckpointEntrypointReturned = "entrypoint_returned"

CheckpointEntrypointReturned is the "entrypoint_returned" checkpoint: The entrypoint returned.

View Source
const CheckpointEntrypointStarted = "entrypoint_started"

CheckpointEntrypointStarted is the "entrypoint_started" checkpoint: The entrypoint started running.

View Source
const CheckpointEventLoopBlocked = "event_loop_blocked"

CheckpointEventLoopBlocked is the "event_loop_blocked" checkpoint: A synchronous block on the event loop, with `lk.blocking.duration`; mirrors the span of the same name.

View Source
const CheckpointException = "exception"

CheckpointException is the "exception" checkpoint: The OTel exception event (`exception.*`), recorded on whichever span the exception was caught on; declared here once.

View Source
const CheckpointFirstFrame = "first_frame"

CheckpointFirstFrame is the "first_frame" checkpoint: The first frame arrived.

View Source
const CheckpointFirstMedia = "first_media"

CheckpointFirstMedia is the "first_media" checkpoint: The first inbound stats reading with bytes; the span ends ok here.

View Source
const CheckpointGenAiClientInferenceOperationDetails = "gen_ai.client.inference.operation.details"

CheckpointGenAiClientInferenceOperationDetails is the "gen_ai.client.inference.operation.details" checkpoint: OTel GenAI inference details event (the GenAI registry defines it; events cannot be referenced, so it is named here).

View Source
const CheckpointGeneration = "generation"

CheckpointGeneration is the "generation" checkpoint: One generation started (the generation attributes).

View Source
const CheckpointJobAccepted = "job_accepted"

CheckpointJobAccepted is the "job_accepted" checkpoint: The worker accepted the job.

View Source
const CheckpointJobAssigned = "job_assigned"

CheckpointJobAssigned is the "job_assigned" checkpoint: The server assigned the job.

View Source
const CheckpointJobReceived = "job_received"

CheckpointJobReceived is the "job_received" checkpoint: The worker received the job request.

View Source
const CheckpointJobStartedOnServer = "job_started_on_server"

CheckpointJobStartedOnServer is the "job_started_on_server" checkpoint: The server-side job start time, as the worker learned it.

View Source
const CheckpointJoinRecv = "join_recv"

CheckpointJoinRecv is the "join_recv" checkpoint: The join response arrived.

View Source
const CheckpointOfferSent = "offer_sent"

CheckpointOfferSent is the "offer_sent" checkpoint: The publisher's SDP offer went out.

View Source
const CheckpointParticipantDisconnected = "participant_disconnected"

CheckpointParticipantDisconnected is the "participant_disconnected" checkpoint: The linked participant left the room, with `lk.disconnect_reason`.

View Source
const CheckpointParticipantLinked = "participant_linked"

CheckpointParticipantLinked is the "participant_linked" checkpoint: The session linked to its participant.

View Source
const CheckpointPcConnected = "pc_connected"

CheckpointPcConnected is the "pc_connected" checkpoint: The primary peer connection connected.

View Source
const CheckpointPcCreated = "pc_created"

CheckpointPcCreated is the "pc_created" checkpoint: The peer connections exist (stamped once the join is adopted).

View Source
const CheckpointPreConnectAudio = "pre_connect_audio"

CheckpointPreConnectAudio is the "pre_connect_audio" checkpoint: Pre-connect audio was replayed, with `lk.pre_connect_audio.duration`.

View Source
const CheckpointPreemptiveGenerationDiscarded = "preemptive_generation_discarded"

CheckpointPreemptiveGenerationDiscarded is the "preemptive_generation_discarded" checkpoint: A preemptive generation was discarded in favour of this one (`lk.speech_id` of the discarded handle).

View Source
const CheckpointProcessAssigned = "process_assigned"

CheckpointProcessAssigned is the "process_assigned" checkpoint: A job process was launched for it.

View Source
const CheckpointRearmed = "rearmed"

CheckpointRearmed is the "rearmed" checkpoint: A later trigger re-armed the wait.

View Source
const CheckpointRoomConnected = "room_connected"

CheckpointRoomConnected is the "room_connected" checkpoint: The Room reached the connected state.

View Source
const CheckpointSignal = "signal"

CheckpointSignal is the "signal" checkpoint: Signaling is up (stamped with ws_open on the web and with join_recv on Swift).

View Source
const CheckpointStopResponse = "stop_response"

CheckpointStopResponse is the "stop_response" checkpoint: The hook stopped the response.

View Source
const CheckpointSubscribed = "subscribed"

CheckpointSubscribed is the "subscribed" checkpoint: The platform reported the remote track subscribed.

View Source
const CheckpointSuperseded = "superseded"

CheckpointSuperseded is the "superseded" checkpoint: A newer detection superseded this one.

View Source
const CheckpointTrackSubscribed = "track_subscribed"

CheckpointTrackSubscribed is the "track_subscribed" checkpoint: The track was subscribed, with `lk.track_id` and `lk.track_source`.

View Source
const CheckpointUserResumed = "user_resumed"

CheckpointUserResumed is the "user_resumed" checkpoint: The user spoke again during the wait.

View Source
const CheckpointUserStateChanged = "user_state_changed"

CheckpointUserStateChanged is the "user_state_changed" checkpoint: The user state changed (`lk.old_state` -> `lk.new_state`).

View Source
const CheckpointWsOpen = "ws_open"

CheckpointWsOpen is the "ws_open" checkpoint: The signaling WebSocket opened.

View Source
const ErrorTypeOther = "_OTHER"

ErrorTypeOther is a value of AttrErrorType: A fallback error value to be used when the instrumentation doesn't define a custom value.

View Source
const EventCustom = "custom"

EventCustom is the "custom" event: Namespace of app-defined events, named `custom.<name>` and carrying the app's own attributes.

View Source
const EventGenAiAssistantMessage = "gen_ai.assistant.message"

EventGenAiAssistantMessage is the "gen_ai.assistant.message" event: OTel GenAI assistant message (also a function call), a span event on `llm_node`.

View Source
const EventGenAiChoice = "gen_ai.choice"

EventGenAiChoice is the "gen_ai.choice" event: OTel GenAI choice, a span event on `llm_node`.

View Source
const EventGenAiSystemMessage = "gen_ai.system.message"

EventGenAiSystemMessage is the "gen_ai.system.message" event: OTel GenAI system (or developer) message, a span event on `llm_node`.

View Source
const EventGenAiToolMessage = "gen_ai.tool.message"

EventGenAiToolMessage is the "gen_ai.tool.message" event: OTel GenAI tool message (a function call output), a span event on `llm_node`.

View Source
const EventGenAiUserMessage = "gen_ai.user.message"

EventGenAiUserMessage is the "gen_ai.user.message" event: OTel GenAI user message, a span event on `llm_node`.

View Source
const EventLkDeviceAppStateChanged = "lk.device.app_state.changed"

EventLkDeviceAppStateChanged is the "lk.device.app_state.changed" event: The app moved to the foreground or background.

View Source
const EventLkDeviceAudioInterruption = "lk.device.audio.interruption"

EventLkDeviceAudioInterruption is the "lk.device.audio.interruption" event: An audio session interruption began or ended.

View Source
const EventLkDeviceAudioRouteChanged = "lk.device.audio_route.changed"

EventLkDeviceAudioRouteChanged is the "lk.device.audio_route.changed" event: The audio route changed.

View Source
const EventLkDeviceBatteryChanged = "lk.device.battery.changed"

EventLkDeviceBatteryChanged is the "lk.device.battery.changed" event: Charging changed, or the level crossed 20 % or 10 % unplugged.

View Source
const EventLkDeviceCaptureFailed = "lk.device.capture.failed"

EventLkDeviceCaptureFailed is the "lk.device.capture.failed" event: A capture device failed.

View Source
const EventLkDeviceLowPowerChanged = "lk.device.low_power.changed"

EventLkDeviceLowPowerChanged is the "lk.device.low_power.changed" event: Low Power Mode changed.

View Source
const EventLkDeviceMemoryChanged = "lk.device.memory.changed"

EventLkDeviceMemoryChanged is the "lk.device.memory.changed" event: Memory pressure changed.

View Source
const EventLkDeviceNetworkChanged = "lk.device.network.changed"

EventLkDeviceNetworkChanged is the "lk.device.network.changed" event: The network path changed.

View Source
const EventLkDeviceThermalChanged = "lk.device.thermal.changed"

EventLkDeviceThermalChanged is the "lk.device.thermal.changed" event: Thermal state changed.

View Source
const EventLkPing = "lk.ping"

EventLkPing is the "lk.ping" event: Pipeline smoke test.

View Source
const EventLkRoomDisconnected = "lk.room.disconnected"

EventLkRoomDisconnected is the "lk.room.disconnected" event: The Room left connected for good.

View Source
const EventLkRtcStatsSample = "lk.rtc.stats.sample"

EventLkRtcStatsSample is the "lk.rtc.stats.sample" event: One RTC stats window for one track and direction.

View Source
const EventLkTelemetryReport = "lk.telemetry.report"

EventLkTelemetryReport is the "lk.telemetry.report" event: Self-telemetry; counts since the previous report.

View Source
const GenAiOperationNameChat = "chat"

GenAiOperationNameChat is a value of AttrGenAiOperationName: Chat completion operation such as [OpenAI Chat API](https://platform.openai.com/docs/api-reference/chat)

View Source
const GenAiOperationNameCreateAgent = "create_agent"

GenAiOperationNameCreateAgent is a value of AttrGenAiOperationName: Create GenAI agent

View Source
const GenAiOperationNameCreateMemory = "create_memory"

GenAiOperationNameCreateMemory is a value of AttrGenAiOperationName: Create new memory records

View Source
const GenAiOperationNameCreateMemoryStore = "create_memory_store"

GenAiOperationNameCreateMemoryStore is a value of AttrGenAiOperationName: Create or initialize a memory store

View Source
const GenAiOperationNameDeleteMemory = "delete_memory"

GenAiOperationNameDeleteMemory is a value of AttrGenAiOperationName: Delete memory records

View Source
const GenAiOperationNameDeleteMemoryStore = "delete_memory_store"

GenAiOperationNameDeleteMemoryStore is a value of AttrGenAiOperationName: Delete or deprovision a memory store

View Source
const GenAiOperationNameEmbeddings = "embeddings"

GenAiOperationNameEmbeddings is a value of AttrGenAiOperationName: Embeddings operation such as [OpenAI Create embeddings API](https://platform.openai.com/docs/api-reference/embeddings/create)

View Source
const GenAiOperationNameExecuteTool = "execute_tool"

GenAiOperationNameExecuteTool is a value of AttrGenAiOperationName: Execute a tool

View Source
const GenAiOperationNameFetchResponse = "fetch_response"

GenAiOperationNameFetchResponse is a value of AttrGenAiOperationName: Fetch a previously generated model response by its identifier, without performing inference, such as [OpenAI Get a model response](https://platform.openai.com/docs/api-reference/responses/get)

View Source
const GenAiOperationNameGenerateContent = "generate_content"

GenAiOperationNameGenerateContent is a value of AttrGenAiOperationName: Multimodal content generation operation such as [Gemini Generate Content](https://ai.google.dev/api/generate-content)

View Source
const GenAiOperationNameInvokeAgent = "invoke_agent"

GenAiOperationNameInvokeAgent is a value of AttrGenAiOperationName: Invoke GenAI agent

View Source
const GenAiOperationNameInvokeWorkflow = "invoke_workflow"

GenAiOperationNameInvokeWorkflow is a value of AttrGenAiOperationName: Invoke GenAI workflow

View Source
const GenAiOperationNamePlan = "plan"

GenAiOperationNamePlan is a value of AttrGenAiOperationName: Agent planning or task decomposition phase

View Source
const GenAiOperationNameRetrieval = "retrieval"

GenAiOperationNameRetrieval is a value of AttrGenAiOperationName: Retrieval operation such as [OpenAI Search Vector Store API](https://platform.openai.com/docs/api-reference/vector-stores/search)

View Source
const GenAiOperationNameSearchMemory = "search_memory"

GenAiOperationNameSearchMemory is a value of AttrGenAiOperationName: Search/query memories from a memory store

View Source
const GenAiOperationNameTextCompletion = "text_completion"

GenAiOperationNameTextCompletion is a value of AttrGenAiOperationName: Text completions operation such as [OpenAI Completions API (Legacy)](https://platform.openai.com/docs/api-reference/completions)

View Source
const GenAiOperationNameUpdateMemory = "update_memory"

GenAiOperationNameUpdateMemory is a value of AttrGenAiOperationName: Update existing memory records

View Source
const GenAiOperationNameUpsertMemory = "upsert_memory"

GenAiOperationNameUpsertMemory is a value of AttrGenAiOperationName: Create or update memory records without the caller choosing which

View Source
const GenAiOutputTypeImage = "image"

GenAiOutputTypeImage is a value of AttrGenAiOutputType: Image

View Source
const GenAiOutputTypeJson = "json"

GenAiOutputTypeJson is a value of AttrGenAiOutputType: JSON object with known or unknown schema

View Source
const GenAiOutputTypeSpeech = "speech"

GenAiOutputTypeSpeech is a value of AttrGenAiOutputType: Speech

View Source
const GenAiOutputTypeText = "text"

GenAiOutputTypeText is a value of AttrGenAiOutputType: Plain text

View Source
const GenAiProviderNameAnthropic = "anthropic"

GenAiProviderNameAnthropic is a value of AttrGenAiProviderName: [Anthropic](https://www.anthropic.com/)

View Source
const GenAiProviderNameAwsBedrock = "aws.bedrock"

GenAiProviderNameAwsBedrock is a value of AttrGenAiProviderName: [AWS Bedrock](https://aws.amazon.com/bedrock)

View Source
const GenAiProviderNameAzureAiInference = "azure.ai.inference"

GenAiProviderNameAzureAiInference is a value of AttrGenAiProviderName: Azure AI Inference

View Source
const GenAiProviderNameAzureAiOpenai = "azure.ai.openai"

GenAiProviderNameAzureAiOpenai is a value of AttrGenAiProviderName: [Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview)

View Source
const GenAiProviderNameCohere = "cohere"

GenAiProviderNameCohere is a value of AttrGenAiProviderName: [Cohere](https://cohere.com/)

View Source
const GenAiProviderNameDeepseek = "deepseek"

GenAiProviderNameDeepseek is a value of AttrGenAiProviderName: [DeepSeek](https://www.deepseek.com/)

View Source
const GenAiProviderNameGcpGemini = "gcp.gemini"

GenAiProviderNameGcpGemini is a value of AttrGenAiProviderName: [Gemini](https://cloud.google.com/products/gemini)

View Source
const GenAiProviderNameGcpGenAi = "gcp.gen_ai"

GenAiProviderNameGcpGenAi is a value of AttrGenAiProviderName: Any Google generative AI endpoint

View Source
const GenAiProviderNameGcpVertexAi = "gcp.vertex_ai"

GenAiProviderNameGcpVertexAi is a value of AttrGenAiProviderName: [Vertex AI](https://cloud.google.com/vertex-ai)

View Source
const GenAiProviderNameGroq = "groq"

GenAiProviderNameGroq is a value of AttrGenAiProviderName: [Groq](https://groq.com/)

View Source
const GenAiProviderNameIbmWatsonxAi = "ibm.watsonx.ai"

GenAiProviderNameIbmWatsonxAi is a value of AttrGenAiProviderName: [IBM Watsonx AI](https://www.ibm.com/products/watsonx-ai)

View Source
const GenAiProviderNameMistral = "mistral"

GenAiProviderNameMistral is a value of AttrGenAiProviderName: [Mistral](https://mistral.ai/)

View Source
const GenAiProviderNameMistralAi = "mistral_ai"

GenAiProviderNameMistralAi is a value of AttrGenAiProviderName: Mistral, as Agents sends it. The upstream member is `mistral`. Sent by LiveKit, not an upstream value.

View Source
const GenAiProviderNameMoonshotAi = "moonshot_ai"

GenAiProviderNameMoonshotAi is a value of AttrGenAiProviderName: [Moonshot AI](https://www.moonshot.ai/)

View Source
const GenAiProviderNameOpenai = "openai"

GenAiProviderNameOpenai is a value of AttrGenAiProviderName: [OpenAI](https://openai.com/)

View Source
const GenAiProviderNamePerplexity = "perplexity"

GenAiProviderNamePerplexity is a value of AttrGenAiProviderName: [Perplexity](https://www.perplexity.ai/)

View Source
const GenAiProviderNameXAi = "x_ai"

GenAiProviderNameXAi is a value of AttrGenAiProviderName: [xAI](https://x.ai/)

View Source
const GenAiResponseFinishReasonsCompaction = "compaction"

GenAiResponseFinishReasonsCompaction is a value of AttrGenAiResponseFinishReasons: Declared in Agents' `GenAIFinishReason`. No Agents code path sends it today. Sent by LiveKit, not an upstream value.

View Source
const GenAiResponseFinishReasonsContentFilter = "content_filter"

GenAiResponseFinishReasonsContentFilter is a value of AttrGenAiResponseFinishReasons: A content filter stopped the output. Sent by LiveKit, not an upstream value.

View Source
const GenAiResponseFinishReasonsError = "error"

GenAiResponseFinishReasonsError is a value of AttrGenAiResponseFinishReasons: The generation ended abnormally. The upstream note names this value. Sent by LiveKit, not an upstream value.

View Source
const GenAiResponseFinishReasonsLength = "length"

GenAiResponseFinishReasonsLength is a value of AttrGenAiResponseFinishReasons: The output reached the token limit. Sent by LiveKit, not an upstream value.

View Source
const GenAiResponseFinishReasonsStop = "stop"

GenAiResponseFinishReasonsStop is a value of AttrGenAiResponseFinishReasons: The generation finished normally. Sent by LiveKit, not an upstream value.

View Source
const GenAiResponseFinishReasonsToolCall = "tool_call"

GenAiResponseFinishReasonsToolCall is a value of AttrGenAiResponseFinishReasons: The generation ended with a tool call. Sent by LiveKit, not an upstream value.

View Source
const LkDeviceAppStateBackground = "background"

LkDeviceAppStateBackground is a value of AttrLkDeviceAppState: In the background.

View Source
const LkDeviceAppStateForeground = "foreground"

LkDeviceAppStateForeground is a value of AttrLkDeviceAppState: In front of the user.

View Source
const LkDeviceAudioInterruptionBegan = "began"

LkDeviceAudioInterruptionBegan is a value of AttrLkDeviceAudioInterruption: Interruption began (another app or a call took the audio session).

View Source
const LkDeviceAudioInterruptionEnded = "ended"

LkDeviceAudioInterruptionEnded is a value of AttrLkDeviceAudioInterruption: Interruption ended.

View Source
const LkDeviceAudioRouteReasonCategoryChange = "category_change"

LkDeviceAudioRouteReasonCategoryChange is a value of AttrLkDeviceAudioRouteReason: The audio session category changed.

View Source
const LkDeviceAudioRouteReasonNewDevice = "new_device"

LkDeviceAudioRouteReasonNewDevice is a value of AttrLkDeviceAudioRouteReason: A new output became available.

View Source
const LkDeviceAudioRouteReasonNoSuitableRoute = "no_suitable_route"

LkDeviceAudioRouteReasonNoSuitableRoute is a value of AttrLkDeviceAudioRouteReason: No route fits the category.

View Source
const LkDeviceAudioRouteReasonOldDeviceUnavailable = "old_device_unavailable"

LkDeviceAudioRouteReasonOldDeviceUnavailable is a value of AttrLkDeviceAudioRouteReason: The previous output went away.

View Source
const LkDeviceAudioRouteReasonOverride = "override"

LkDeviceAudioRouteReasonOverride is a value of AttrLkDeviceAudioRouteReason: The route was overridden.

View Source
const LkDeviceAudioRouteReasonRouteConfigurationChange = "route_configuration_change"

LkDeviceAudioRouteReasonRouteConfigurationChange is a value of AttrLkDeviceAudioRouteReason: The route's configuration changed.

View Source
const LkDeviceAudioRouteReasonUnknown = "unknown"

LkDeviceAudioRouteReasonUnknown is a value of AttrLkDeviceAudioRouteReason: The platform gave no reason.

View Source
const LkDeviceAudioRouteReasonWakeFromSleep = "wake_from_sleep"

LkDeviceAudioRouteReasonWakeFromSleep is a value of AttrLkDeviceAudioRouteReason: The device woke from sleep.

View Source
const LkDeviceCaptureDeviceCamera = "camera"

LkDeviceCaptureDeviceCamera is a value of AttrLkDeviceCaptureDevice: Camera.

View Source
const LkDeviceCaptureDeviceMicrophone = "microphone"

LkDeviceCaptureDeviceMicrophone is a value of AttrLkDeviceCaptureDevice: Microphone.

View Source
const LkDeviceCaptureDeviceScreenShare = "screen_share"

LkDeviceCaptureDeviceScreenShare is a value of AttrLkDeviceCaptureDevice: Screen capture.

View Source
const LkDeviceCaptureReasonDisconnected = "disconnected"

LkDeviceCaptureReasonDisconnected is a value of AttrLkDeviceCaptureReason: The device went away.

View Source
const LkDeviceCaptureReasonInUse = "in_use"

LkDeviceCaptureReasonInUse is a value of AttrLkDeviceCaptureReason: Another app holds the device.

View Source
const LkDeviceCaptureReasonNotFound = "not_found"

LkDeviceCaptureReasonNotFound is a value of AttrLkDeviceCaptureReason: No such device.

View Source
const LkDeviceCaptureReasonOther = "other"

LkDeviceCaptureReasonOther is a value of AttrLkDeviceCaptureReason: Anything else.

View Source
const LkDeviceCaptureReasonPermissionDenied = "permission_denied"

LkDeviceCaptureReasonPermissionDenied is a value of AttrLkDeviceCaptureReason: The user or OS denied access.

View Source
const LkDeviceMemoryPressureCritical = "critical"

LkDeviceMemoryPressureCritical is a value of AttrLkDeviceMemoryPressure: Critically low memory.

View Source
const LkDeviceMemoryPressureNormal = "normal"

LkDeviceMemoryPressureNormal is a value of AttrLkDeviceMemoryPressure: No pressure.

View Source
const LkDeviceMemoryPressureWarning = "warning"

LkDeviceMemoryPressureWarning is a value of AttrLkDeviceMemoryPressure: Low memory.

View Source
const LkDeviceThermalStateCritical = "critical"

LkDeviceThermalStateCritical is a value of AttrLkDeviceThermalState: Critical; the device needs to cool down.

View Source
const LkDeviceThermalStateFair = "fair"

LkDeviceThermalStateFair is a value of AttrLkDeviceThermalState: Slightly elevated.

View Source
const LkDeviceThermalStateNominal = "nominal"

LkDeviceThermalStateNominal is a value of AttrLkDeviceThermalState: Within normal limits.

View Source
const LkDeviceThermalStateSerious = "serious"

LkDeviceThermalStateSerious is a value of AttrLkDeviceThermalState: High; the system reduces performance.

View Source
const LkDisconnectReasonAgentError = "AGENT_ERROR"

LkDisconnectReasonAgentError is a value of AttrLkDisconnectReason: The agent failed.

View Source
const LkDisconnectReasonClientInitiated = "CLIENT_INITIATED"

LkDisconnectReasonClientInitiated is a value of AttrLkDisconnectReason: The participant hung up.

View Source
const LkDisconnectReasonConnectionTimeout = "CONNECTION_TIMEOUT"

LkDisconnectReasonConnectionTimeout is a value of AttrLkDisconnectReason: The server timed out the session.

View Source
const LkDisconnectReasonDuplicateIdentity = "DUPLICATE_IDENTITY"

LkDisconnectReasonDuplicateIdentity is a value of AttrLkDisconnectReason: Another participant joined with the same identity.

View Source
const LkDisconnectReasonJoinFailure = "JOIN_FAILURE"

LkDisconnectReasonJoinFailure is a value of AttrLkDisconnectReason: The client could not connect fully.

View Source
const LkDisconnectReasonMediaFailure = "MEDIA_FAILURE"

LkDisconnectReasonMediaFailure is a value of AttrLkDisconnectReason: Media failed or timed out.

View Source
const LkDisconnectReasonMigration = "MIGRATION"

LkDisconnectReasonMigration is a value of AttrLkDisconnectReason: The server asked the participant to migrate (Cloud only).

View Source
const LkDisconnectReasonParticipantRemoved = "PARTICIPANT_REMOVED"

LkDisconnectReasonParticipantRemoved is a value of AttrLkDisconnectReason: RoomService.RemoveParticipant was called.

View Source
const LkDisconnectReasonReconnectFailed = "RECONNECT_FAILED"

LkDisconnectReasonReconnectFailed is a value of AttrLkDisconnectReason: The client ran out of reconnect attempts (client only, not a protobuf value).

View Source
const LkDisconnectReasonRoomClosed = "ROOM_CLOSED"

LkDisconnectReasonRoomClosed is a value of AttrLkDisconnectReason: The room closed after its participants left.

View Source
const LkDisconnectReasonRoomDeleted = "ROOM_DELETED"

LkDisconnectReasonRoomDeleted is a value of AttrLkDisconnectReason: RoomService.DeleteRoom was called.

View Source
const LkDisconnectReasonServerShutdown = "SERVER_SHUTDOWN"

LkDisconnectReasonServerShutdown is a value of AttrLkDisconnectReason: The server instance shut down.

View Source
const LkDisconnectReasonSignalClose = "SIGNAL_CLOSE"

LkDisconnectReasonSignalClose is a value of AttrLkDisconnectReason: The signal WebSocket closed unexpectedly.

View Source
const LkDisconnectReasonSipTrunkFailure = "SIP_TRUNK_FAILURE"

LkDisconnectReasonSipTrunkFailure is a value of AttrLkDisconnectReason: SIP protocol failure.

View Source
const LkDisconnectReasonStateMismatch = "STATE_MISMATCH"

LkDisconnectReasonStateMismatch is a value of AttrLkDisconnectReason: The server did not know the session the client tried to resume.

View Source
const LkDisconnectReasonUnknownReason = "UNKNOWN_REASON"

LkDisconnectReasonUnknownReason is a value of AttrLkDisconnectReason: No reason given, or a number the producer does not know.

View Source
const LkDisconnectReasonUserRejected = "USER_REJECTED"

LkDisconnectReasonUserRejected is a value of AttrLkDisconnectReason: The SIP callee rejected the call.

View Source
const LkDisconnectReasonUserUnavailable = "USER_UNAVAILABLE"

LkDisconnectReasonUserUnavailable is a value of AttrLkDisconnectReason: The SIP callee did not answer in time.

View Source
const LkEouOutcomeCommitted = "committed"

LkEouOutcomeCommitted is a value of AttrLkEouOutcome: The turn was committed.

View Source
const LkEouOutcomeDropped = "dropped"

LkEouOutcomeDropped is a value of AttrLkEouOutcome: The turn was dropped.

View Source
const LkEouOutcomeUserResumed = "user_resumed"

LkEouOutcomeUserResumed is a value of AttrLkEouOutcome: The user spoke again.

View Source
const LkFrameResolutionLive = "live"

LkFrameResolutionLive is a value of AttrLkFrameResolution: A live speech frame.

View Source
const LkFrameResolutionRoot = "root"

LkFrameResolutionRoot is a value of AttrLkFrameResolution: The root frame.

View Source
const LkFrameResolutionStale = "stale"

LkFrameResolutionStale is a value of AttrLkFrameResolution: A frame whose speech already ended.

View Source
const LkFrameResolutionUnknown = "unknown"

LkFrameResolutionUnknown is a value of AttrLkFrameResolution: Not a frame the slab knows.

View Source
const LkLogSourceFfi = "ffi"

LkLogSourceFfi is a value of AttrLkLogSource: The Rust core, copied by the log forwarder with JWT-shaped substrings masked as `<jwt>`.

View Source
const LkLogSourceSdk = "sdk"

LkLogSourceSdk is a value of AttrLkLogSource: The platform SDK.

View Source
const LkLogSourceWebrtc = "webrtc"

LkLogSourceWebrtc is a value of AttrLkLogSource: WebRTC.

View Source
const LkOutcomeCancelled = "cancelled"

LkOutcomeCancelled is a value of AttrLkOutcome: Cancelled by the caller or superseded; span status Unset.

View Source
const LkOutcomeError = "error"

LkOutcomeError is a value of AttrLkOutcome: Failed; span status Error, with `error.type` when the failure has a type.

View Source
const LkOutcomeOk = "ok"

LkOutcomeOk is a value of AttrLkOutcome: Succeeded; span status Unset.

View Source
const LkReconnectModeFull = "full"

LkReconnectModeFull is a value of AttrLkReconnectMode: Reconnect from scratch.

View Source
const LkReconnectModeQuick = "quick"

LkReconnectModeQuick is a value of AttrLkReconnectMode: Resume the session (ICE restart).

View Source
const LkReconnectReasonDebug = "debug"

LkReconnectReasonDebug is a value of AttrLkReconnectReason: A test or a debug menu asked for it (client only).

View Source
const LkReconnectReasonNetworkChanged = "network_changed"

LkReconnectReasonNetworkChanged is a value of AttrLkReconnectReason: The device moved to another network (client only).

View Source
const LkReconnectReasonPublisherFailed = "publisher_failed"

LkReconnectReasonPublisherFailed is a value of AttrLkReconnectReason: The publisher peer connection failed (RR_PUBLISHER_FAILED).

View Source
const LkReconnectReasonSignalDisconnected = "signal_disconnected"

LkReconnectReasonSignalDisconnected is a value of AttrLkReconnectReason: The signaling socket closed (RR_SIGNAL_DISCONNECTED).

View Source
const LkReconnectReasonSubscriberFailed = "subscriber_failed"

LkReconnectReasonSubscriberFailed is a value of AttrLkReconnectReason: The subscriber peer connection failed (RR_SUBSCRIBER_FAILED).

View Source
const LkReconnectReasonSwitchCandidate = "switch_candidate"

LkReconnectReasonSwitchCandidate is a value of AttrLkReconnectReason: The server asked for a candidate switch (RR_SWITCH_CANDIDATE).

View Source
const LkReconnectReasonTransportFailed = "transport_failed"

LkReconnectReasonTransportFailed is a value of AttrLkReconnectReason: A peer connection failed and the platform did not say which (client only).

View Source
const LkReconnectReasonUnknown = "unknown"

LkReconnectReasonUnknown is a value of AttrLkReconnectReason: RR_UNKNOWN or a number the client does not know.

View Source
const LkTrackDirectionInbound = "inbound"

LkTrackDirectionInbound is a value of AttrLkTrackDirection: Received media (inbound-rtp).

View Source
const LkTrackDirectionOutbound = "outbound"

LkTrackDirectionOutbound is a value of AttrLkTrackDirection: Sent media (outbound-rtp).

View Source
const LkTrackKindAudio = "audio"

LkTrackKindAudio is a value of AttrLkTrackKind: Audio.

View Source
const LkTrackKindVideo = "video"

LkTrackKindVideo is a value of AttrLkTrackKind: Video.

View Source
const LkTrackSourceSourceCamera = "SOURCE_CAMERA"

LkTrackSourceSourceCamera is a value of AttrLkTrackSource: Camera.

View Source
const LkTrackSourceSourceMicrophone = "SOURCE_MICROPHONE"

LkTrackSourceSourceMicrophone is a value of AttrLkTrackSource: Microphone.

View Source
const LkTrackSourceSourceScreenshare = "SOURCE_SCREENSHARE"

LkTrackSourceSourceScreenshare is a value of AttrLkTrackSource: Screen share video.

View Source
const LkTrackSourceSourceScreenshareAudio = "SOURCE_SCREENSHARE_AUDIO"

LkTrackSourceSourceScreenshareAudio is a value of AttrLkTrackSource: Screen share audio.

View Source
const LkTrackSourceSourceUnknown = "SOURCE_UNKNOWN"

LkTrackSourceSourceUnknown is a value of AttrLkTrackSource: Unknown source.

View Source
const MetricGenAiClientOperationDuration = "gen_ai.client.operation.duration"

MetricGenAiClientOperationDuration is the "gen_ai.client.operation.duration" metric: GenAI operation duration, as the GenAI registry defines it (declared here because weaver cannot import it). Instrument: histogram, unit: `s`.

View Source
const MetricGenAiClientOperationDurationUnit = "s"

MetricGenAiClientOperationDurationUnit is the unit of MetricGenAiClientOperationDuration, exactly as the producer creates the instrument (empty = none).

View Source
const MetricGenAiClientOperationTimeToFirstChunk = "gen_ai.client.operation.time_to_first_chunk"

MetricGenAiClientOperationTimeToFirstChunk is the "gen_ai.client.operation.time_to_first_chunk" metric: Time to the first chunk of a streaming GenAI response (deprecated upstream; declared as emitted). Instrument: histogram, unit: `s`.

View Source
const MetricGenAiClientOperationTimeToFirstChunkUnit = "s"

MetricGenAiClientOperationTimeToFirstChunkUnit is the unit of MetricGenAiClientOperationTimeToFirstChunk, exactly as the producer creates the instrument (empty = none).

View Source
const MetricGenAiClientTokenUsage = "gen_ai.client.token.usage"

MetricGenAiClientTokenUsage is the "gen_ai.client.token.usage" metric: Input and output tokens used by the GenAI operation (deprecated upstream; declared as emitted). Instrument: histogram, unit: `{token}`.

View Source
const MetricGenAiClientTokenUsageUnit = "{token}"

MetricGenAiClientTokenUsageUnit is the unit of MetricGenAiClientTokenUsage, exactly as the producer creates the instrument (empty = none).

View Source
const MetricGenAiExecuteToolDuration = "gen_ai.execute_tool.duration"

MetricGenAiExecuteToolDuration is the "gen_ai.execute_tool.duration" metric: The duration of a single tool execution. Instrument: histogram, unit: `s`.

View Source
const MetricGenAiExecuteToolDurationUnit = "s"

MetricGenAiExecuteToolDurationUnit is the unit of MetricGenAiExecuteToolDuration, as the upstream definition gives it (empty = none).

View Source
const MetricGenAiInvokeAgentDuration = "gen_ai.invoke_agent.duration"

MetricGenAiInvokeAgentDuration is the "gen_ai.invoke_agent.duration" metric: The end-to-end duration of a single in-process agent invocation, from the moment the invocation starts until the agent emits the last chunk of its final response or terminates with an error. Instrument: histogram, unit: `s`.

View Source
const MetricGenAiInvokeAgentDurationUnit = "s"

MetricGenAiInvokeAgentDurationUnit is the unit of MetricGenAiInvokeAgentDuration, as the upstream definition gives it (empty = none).

View Source
const MetricLkAgentsConnectionAcquireTime = "lk.agents.connection.acquire_time"

MetricLkAgentsConnectionAcquireTime is the "lk.agents.connection.acquire_time" metric: Seconds to acquire a provider connection. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsConnectionAcquireTimeUnit = "s"

MetricLkAgentsConnectionAcquireTimeUnit is the unit of MetricLkAgentsConnectionAcquireTime, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsEventLoopBlockedDuration = "lk.agents.event_loop.blocked_duration"

MetricLkAgentsEventLoopBlockedDuration is the "lk.agents.event_loop.blocked_duration" metric: Duration of synchronous blocks detected on an agent event loop. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsEventLoopBlockedDurationUnit = "s"

MetricLkAgentsEventLoopBlockedDurationUnit is the unit of MetricLkAgentsEventLoopBlockedDuration, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnE2eLatency = "lk.agents.turn.e2e_latency"

MetricLkAgentsTurnE2eLatency is the "lk.agents.turn.e2e_latency" metric: End-to-end latency of a turn. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnE2eLatencyUnit = "s"

MetricLkAgentsTurnE2eLatencyUnit is the unit of MetricLkAgentsTurnE2eLatency, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnEndOfTurnDelay = "lk.agents.turn.end_of_turn_delay"

MetricLkAgentsTurnEndOfTurnDelay is the "lk.agents.turn.end_of_turn_delay" metric: Delay from the end of speech to the turn decision. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnEndOfTurnDelayUnit = "s"

MetricLkAgentsTurnEndOfTurnDelayUnit is the unit of MetricLkAgentsTurnEndOfTurnDelay, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnLlmTtft = "lk.agents.turn.llm_ttft"

MetricLkAgentsTurnLlmTtft is the "lk.agents.turn.llm_ttft" metric: Time to the first LLM token. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnLlmTtftUnit = "s"

MetricLkAgentsTurnLlmTtftUnit is the unit of MetricLkAgentsTurnLlmTtft, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnOnUserTurnCompletedDelay = "lk.agents.turn.on_user_turn_completed_delay"

MetricLkAgentsTurnOnUserTurnCompletedDelay is the "lk.agents.turn.on_user_turn_completed_delay" metric: Duration of the `on_user_turn_completed` hook. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnOnUserTurnCompletedDelayUnit = "s"

MetricLkAgentsTurnOnUserTurnCompletedDelayUnit is the unit of MetricLkAgentsTurnOnUserTurnCompletedDelay, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnTranscriptionDelay = "lk.agents.turn.transcription_delay"

MetricLkAgentsTurnTranscriptionDelay is the "lk.agents.turn.transcription_delay" metric: Delay from the end of speech to the final transcript. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnTranscriptionDelayUnit = "s"

MetricLkAgentsTurnTranscriptionDelayUnit is the unit of MetricLkAgentsTurnTranscriptionDelay, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsTurnTtsTtfb = "lk.agents.turn.tts_ttfb"

MetricLkAgentsTurnTtsTtfb is the "lk.agents.turn.tts_ttfb" metric: Time to the first TTS byte. Instrument: histogram, unit: `s`.

View Source
const MetricLkAgentsTurnTtsTtfbUnit = "s"

MetricLkAgentsTurnTtsTtfbUnit is the unit of MetricLkAgentsTurnTtsTtfb, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageInterruptionNumRequests = "lk.agents.usage.interruption_num_requests"

MetricLkAgentsUsageInterruptionNumRequests is the "lk.agents.usage.interruption_num_requests" metric: Interruption-detector requests. Instrument: counter.

View Source
const MetricLkAgentsUsageInterruptionNumRequestsUnit = ""

MetricLkAgentsUsageInterruptionNumRequestsUnit is the unit of MetricLkAgentsUsageInterruptionNumRequests, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmInputAudioTokens = "lk.agents.usage.llm_input_audio_tokens"

MetricLkAgentsUsageLlmInputAudioTokens is the "lk.agents.usage.llm_input_audio_tokens" metric: Realtime-model audio input tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmInputAudioTokensUnit = ""

MetricLkAgentsUsageLlmInputAudioTokensUnit is the unit of MetricLkAgentsUsageLlmInputAudioTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmInputCachedTokens = "lk.agents.usage.llm_input_cached_tokens"

MetricLkAgentsUsageLlmInputCachedTokens is the "lk.agents.usage.llm_input_cached_tokens" metric: LLM cached input tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmInputCachedTokensUnit = ""

MetricLkAgentsUsageLlmInputCachedTokensUnit is the unit of MetricLkAgentsUsageLlmInputCachedTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmInputTextTokens = "lk.agents.usage.llm_input_text_tokens"

MetricLkAgentsUsageLlmInputTextTokens is the "lk.agents.usage.llm_input_text_tokens" metric: Realtime-model text input tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmInputTextTokensUnit = ""

MetricLkAgentsUsageLlmInputTextTokensUnit is the unit of MetricLkAgentsUsageLlmInputTextTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmInputTokens = "lk.agents.usage.llm_input_tokens"

MetricLkAgentsUsageLlmInputTokens is the "lk.agents.usage.llm_input_tokens" metric: LLM input tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmInputTokensUnit = ""

MetricLkAgentsUsageLlmInputTokensUnit is the unit of MetricLkAgentsUsageLlmInputTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmOutputAudioTokens = "lk.agents.usage.llm_output_audio_tokens"

MetricLkAgentsUsageLlmOutputAudioTokens is the "lk.agents.usage.llm_output_audio_tokens" metric: Realtime-model audio output tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmOutputAudioTokensUnit = ""

MetricLkAgentsUsageLlmOutputAudioTokensUnit is the unit of MetricLkAgentsUsageLlmOutputAudioTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmOutputTextTokens = "lk.agents.usage.llm_output_text_tokens"

MetricLkAgentsUsageLlmOutputTextTokens is the "lk.agents.usage.llm_output_text_tokens" metric: Realtime-model text output tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmOutputTextTokensUnit = ""

MetricLkAgentsUsageLlmOutputTextTokensUnit is the unit of MetricLkAgentsUsageLlmOutputTextTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmOutputTokens = "lk.agents.usage.llm_output_tokens"

MetricLkAgentsUsageLlmOutputTokens is the "lk.agents.usage.llm_output_tokens" metric: LLM output tokens. Instrument: counter.

View Source
const MetricLkAgentsUsageLlmOutputTokensUnit = ""

MetricLkAgentsUsageLlmOutputTokensUnit is the unit of MetricLkAgentsUsageLlmOutputTokens, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageLlmSessionDuration = "lk.agents.usage.llm_session_duration"

MetricLkAgentsUsageLlmSessionDuration is the "lk.agents.usage.llm_session_duration" metric: Realtime-model session seconds. Instrument: counter, unit: `s`.

View Source
const MetricLkAgentsUsageLlmSessionDurationUnit = "s"

MetricLkAgentsUsageLlmSessionDurationUnit is the unit of MetricLkAgentsUsageLlmSessionDuration, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageSttAudioDuration = "lk.agents.usage.stt_audio_duration"

MetricLkAgentsUsageSttAudioDuration is the "lk.agents.usage.stt_audio_duration" metric: Seconds of audio transcribed. Instrument: counter, unit: `s`.

View Source
const MetricLkAgentsUsageSttAudioDurationUnit = "s"

MetricLkAgentsUsageSttAudioDurationUnit is the unit of MetricLkAgentsUsageSttAudioDuration, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageTtsAudioDuration = "lk.agents.usage.tts_audio_duration"

MetricLkAgentsUsageTtsAudioDuration is the "lk.agents.usage.tts_audio_duration" metric: Seconds of audio synthesized. Instrument: counter, unit: `s`.

View Source
const MetricLkAgentsUsageTtsAudioDurationUnit = "s"

MetricLkAgentsUsageTtsAudioDurationUnit is the unit of MetricLkAgentsUsageTtsAudioDuration, exactly as the producer creates the instrument (empty = none).

View Source
const MetricLkAgentsUsageTtsCharacters = "lk.agents.usage.tts_characters"

MetricLkAgentsUsageTtsCharacters is the "lk.agents.usage.tts_characters" metric: Characters synthesized. Instrument: counter.

View Source
const MetricLkAgentsUsageTtsCharactersUnit = ""

MetricLkAgentsUsageTtsCharactersUnit is the unit of MetricLkAgentsUsageTtsCharacters, exactly as the producer creates the instrument (empty = none).

View Source
const NetworkConnectionTypeCell = "cell"

NetworkConnectionTypeCell is a value of AttrNetworkConnectionType: `cell`.

View Source
const NetworkConnectionTypeUnavailable = "unavailable"

NetworkConnectionTypeUnavailable is a value of AttrNetworkConnectionType: `unavailable`.

View Source
const NetworkConnectionTypeUnknown = "unknown"

NetworkConnectionTypeUnknown is a value of AttrNetworkConnectionType: `unknown`.

View Source
const NetworkConnectionTypeWifi = "wifi"

NetworkConnectionTypeWifi is a value of AttrNetworkConnectionType: Wi-Fi

View Source
const NetworkConnectionTypeWired = "wired"

NetworkConnectionTypeWired is a value of AttrNetworkConnectionType: `wired`.

View Source
const SpanAgentSession = "agent_session"

SpanAgentSession is the "agent_session" span: The agent session, parent of every turn. Kind: internal.

View Source
const SpanAgentSpeaking = "agent_speaking"

SpanAgentSpeaking is the "agent_speaking" span: The agent's audio playing out. Kind: internal.

View Source
const SpanAgentTurn = "agent_turn"

SpanAgentTurn is the "agent_turn" span: One agent turn (generation), parent of the LLM and TTS nodes. Kind: internal.

View Source
const SpanAmd = "amd"

SpanAmd is the "amd" span: Answering-machine detection on an outbound call. Kind: internal.

View Source
const SpanDrainAgentActivity = "drain_agent_activity"

SpanDrainAgentActivity is the "drain_agent_activity" span: Draining an agent activity before it ends. Kind: internal.

View Source
const SpanEouDetection = "eou_detection"

SpanEouDetection is the "eou_detection" span: One end-of-utterance inference. Kind: internal.

View Source
const SpanEouWait = "eou_wait"

SpanEouWait is the "eou_wait" span: The endpointing wait, from the user's last speech to the turn decision. Kind: internal.

View Source
const SpanEventLoopBlocked = "event_loop_blocked"

SpanEventLoopBlocked is the "event_loop_blocked" span: A synchronous block on the agent event loop. Kind: internal.

View Source
const SpanFunctionTool = "function_tool"

SpanFunctionTool is the "function_tool" span: One function tool execution, the OTel GenAI execute-tool span. Kind: internal.

View Source
const SpanJobEntrypoint = "job_entrypoint"

SpanJobEntrypoint is the "job_entrypoint" span: The job's entrypoint, root of a job's trace. Kind: internal.

View Source
const SpanJobShutdown = "job_shutdown"

SpanJobShutdown is the "job_shutdown" span: The job shutting down. Kind: internal.

View Source
const SpanJudgeEvaluation = "judge_evaluation"

SpanJudgeEvaluation is the "judge_evaluation" span: One LLM-judge evaluation of the session. Kind: internal.

View Source
const SpanKeytermDetection = "keyterm_detection"

SpanKeytermDetection is the "keyterm_detection" span: A keyterm update to the STT. Kind: internal.

View Source
const SpanLkConnect = "lk.connect"

SpanLkConnect is the "lk.connect" span: One connect attempt. Kind: client.

View Source
const SpanLkPublish = "lk.publish"

SpanLkPublish is the "lk.publish" span: One track publish. Kind: internal.

View Source
const SpanLkReconnect = "lk.reconnect"

SpanLkReconnect is the "lk.reconnect" span: One reconnect cycle. Kind: client.

View Source
const SpanLkSubscribe = "lk.subscribe"

SpanLkSubscribe is the "lk.subscribe" span: One subscription, from the intent to subscribe to the first media. Kind: internal.

View Source
const SpanLlmFallbackAdapter = "llm_fallback_adapter"

SpanLlmFallbackAdapter is the "llm_fallback_adapter" span: The LLM fallback adapter choosing an instance. Kind: internal.

View Source
const SpanLlmNode = "llm_node"

SpanLlmNode is the "llm_node" span: The agent's LLM node for one generation. Kind: internal.

View Source
const SpanLlmRequest = "llm_request"

SpanLlmRequest is the "llm_request" span: One LLM inference request, the OTel GenAI inference span. Kind: client.

View Source
const SpanLlmRequestRun = "llm_request_run"

SpanLlmRequestRun is the "llm_request_run" span: The LLM request's stream being consumed. Kind: internal.

View Source
const SpanMetrics = "metrics"

SpanMetrics is the "metrics" span: A plugin-task metric noted through the Node binding, stamped with its resolved frame. Kind: internal.

View Source
const SpanOnEnter = "on_enter"

SpanOnEnter is the "on_enter" span: The agent's `on_enter` hook. Kind: internal.

View Source
const SpanOnExit = "on_exit"

SpanOnExit is the "on_exit" span: The agent's `on_exit` hook. Kind: internal.

View Source
const SpanOnSessionEnd = "on_session_end"

SpanOnSessionEnd is the "on_session_end" span: The session-end hook. Kind: internal.

View Source
const SpanOnUserTurnCompleted = "on_user_turn_completed"

SpanOnUserTurnCompleted is the "on_user_turn_completed" span: The `on_user_turn_completed` hook. Kind: internal.

View Source
const SpanPauseAgentActivity = "pause_agent_activity"

SpanPauseAgentActivity is the "pause_agent_activity" span: Pausing an agent activity. Kind: internal.

View Source
const SpanPublishAudioOutput = "publish_audio_output"

SpanPublishAudioOutput is the "publish_audio_output" span: Publishing the agent's audio track. Kind: internal.

View Source
const SpanRealtimeInference = "realtime_inference"

SpanRealtimeInference is the "realtime_inference" span: One realtime-model generation. Kind: client.

View Source
const SpanRealtimeMetrics = "realtime_metrics"

SpanRealtimeMetrics is the "realtime_metrics" span: Realtime-model metrics attached to a turn. Kind: internal.

View Source
const SpanResumeAgentActivity = "resume_agent_activity"

SpanResumeAgentActivity is the "resume_agent_activity" span: Resuming an agent activity. Kind: internal.

View Source
const SpanRoomConnect = "room_connect"

SpanRoomConnect is the "room_connect" span: Connecting the job to its room. Kind: client.

View Source
const SpanRoomDisconnect = "room_disconnect"

SpanRoomDisconnect is the "room_disconnect" span: Disconnecting from the room. Kind: client.

View Source
const SpanRpcCall = "rpc_call"

SpanRpcCall is the "rpc_call" span: An outgoing RPC. Kind: client.

View Source
const SpanRpcHandler = "rpc_handler"

SpanRpcHandler is the "rpc_handler" span: An incoming RPC handled by the agent. Kind: server.

View Source
const SpanSessionClose = "session_close"

SpanSessionClose is the "session_close" span: Closing the session. Kind: internal.

View Source
const SpanSessionEndUpload = "session_end_upload"

SpanSessionEndUpload is the "session_end_upload" span: Uploading the session report. Kind: internal.

View Source
const SpanSessionStart = "session_start"

SpanSessionStart is the "session_start" span: Starting the session (room I/O, first activity). Kind: internal.

View Source
const SpanSetupToolsets = "setup_toolsets"

SpanSetupToolsets is the "setup_toolsets" span: Initializing the agent's tool sets. Kind: internal.

View Source
const SpanShutdownCallback = "shutdown_callback"

SpanShutdownCallback is the "shutdown_callback" span: One shutdown callback. Kind: internal.

View Source
const SpanStartAgentActivity = "start_agent_activity"

SpanStartAgentActivity is the "start_agent_activity" span: Starting an agent activity. Kind: internal.

View Source
const SpanTtsFallbackAdapter = "tts_fallback_adapter"

SpanTtsFallbackAdapter is the "tts_fallback_adapter" span: The TTS fallback adapter choosing an instance. Kind: internal.

View Source
const SpanTtsNode = "tts_node"

SpanTtsNode is the "tts_node" span: The agent's TTS node for one generation. Kind: internal.

View Source
const SpanTtsRequest = "tts_request"

SpanTtsRequest is the "tts_request" span: One TTS request. Kind: client.

View Source
const SpanTtsRequestRun = "tts_request_run"

SpanTtsRequestRun is the "tts_request_run" span: The TTS request's stream being consumed. Kind: internal.

View Source
const SpanTtsStream = "tts_stream"

SpanTtsStream is the "tts_stream" span: The Node binding driving `Tts::stream` (the duplex path). Kind: internal.

View Source
const SpanTtsStreamAdapter = "tts_stream_adapter"

SpanTtsStreamAdapter is the "tts_stream_adapter" span: The sentence-splitting adapter over a non-streaming TTS. Kind: internal.

View Source
const SpanTtsSynthesize = "tts_synthesize"

SpanTtsSynthesize is the "tts_synthesize" span: The Node binding driving `Tts::synthesize` (the simplex path). Kind: internal.

View Source
const SpanUpdateAgent = "update_agent"

SpanUpdateAgent is the "update_agent" span: Replacing the session's agent. Kind: internal.

View Source
const SpanUserSpeaking = "user_speaking"

SpanUserSpeaking is the "user_speaking" span: The user speaking (VAD). Kind: internal.

View Source
const SpanUserTurn = "user_turn"

SpanUserTurn is the "user_turn" span: One user turn, from speech to the turn decision. Kind: internal.

View Source
const SpanWaitForAudioTrack = "wait_for_audio_track"

SpanWaitForAudioTrack is the "wait_for_audio_track" span: Waiting for the participant's audio track. Kind: internal.

View Source
const SpanWaitForParticipant = "wait_for_participant"

SpanWaitForParticipant is the "wait_for_participant" span: Waiting for the participant to link to. Kind: internal.

View Source
const SpanWaitForVideoTrack = "wait_for_video_track"

SpanWaitForVideoTrack is the "wait_for_video_track" span: Waiting for the participant's video track. Kind: internal.

View Source
const TelemetrySdkLanguageCpp = "cpp"

TelemetrySdkLanguageCpp is a value of AttrTelemetrySdkLanguage: [C++](https://opentelemetry.io/docs/languages/cpp/)

View Source
const TelemetrySdkLanguageDotnet = "dotnet"

TelemetrySdkLanguageDotnet is a value of AttrTelemetrySdkLanguage: [.NET](https://opentelemetry.io/docs/languages/dotnet/)

View Source
const TelemetrySdkLanguageErlang = "erlang"

TelemetrySdkLanguageErlang is a value of AttrTelemetrySdkLanguage: Erlang/Elixir(https://opentelemetry.io/docs/languages/erlang/)

View Source
const TelemetrySdkLanguageGo = "go"

TelemetrySdkLanguageGo is a value of AttrTelemetrySdkLanguage: [Go](https://opentelemetry.io/docs/languages/go/)

View Source
const TelemetrySdkLanguageJava = "java"

TelemetrySdkLanguageJava is a value of AttrTelemetrySdkLanguage: [Java](https://opentelemetry.io/docs/languages/java/)

View Source
const TelemetrySdkLanguageKotlin = "kotlin"

TelemetrySdkLanguageKotlin is a value of AttrTelemetrySdkLanguage: [Kotlin](https://opentelemetry.io/docs/languages/kotlin/)

View Source
const TelemetrySdkLanguageNodejs = "nodejs"

TelemetrySdkLanguageNodejs is a value of AttrTelemetrySdkLanguage: [Node.js](https://opentelemetry.io/docs/languages/js/)

View Source
const TelemetrySdkLanguagePhp = "php"

TelemetrySdkLanguagePhp is a value of AttrTelemetrySdkLanguage: [PHP](https://opentelemetry.io/docs/languages/php/)

View Source
const TelemetrySdkLanguagePython = "python"

TelemetrySdkLanguagePython is a value of AttrTelemetrySdkLanguage: [Python](https://opentelemetry.io/docs/languages/python/)

View Source
const TelemetrySdkLanguageRuby = "ruby"

TelemetrySdkLanguageRuby is a value of AttrTelemetrySdkLanguage: [Ruby](https://opentelemetry.io/docs/languages/ruby/)

View Source
const TelemetrySdkLanguageRust = "rust"

TelemetrySdkLanguageRust is a value of AttrTelemetrySdkLanguage: [Rust](https://opentelemetry.io/docs/languages/rust/)

View Source
const TelemetrySdkLanguageSwift = "swift"

TelemetrySdkLanguageSwift is a value of AttrTelemetrySdkLanguage: [Swift](https://opentelemetry.io/docs/languages/swift/)

View Source
const TelemetrySdkLanguageWebjs = "webjs"

TelemetrySdkLanguageWebjs is a value of AttrTelemetrySdkLanguage: [Browser](https://opentelemetry.io/docs/languages/js/)

Variables

View Source
var KeyAliases = map[string][]string{
	"lk.disconnect_reason": {
		"lk.disconnect.reason",
	},
	"lk.participant_id": {
		"lk.participant.sid",
		"lk.participant_sid",
		"participantID",
		"participant_id",
	},
	"lk.pii.participant_identity": {
		"lk.participant.identity",
		"participantIdentity",
		"participant_identity",
	},
	"lk.pii.remote_participant_identity": {
		"lk.participant.remote_identity",
	},
	"lk.pii.room_name": {
		"lk.room.name",
		"roomName",
		"room_name",
	},
	"lk.room_id": {
		"lk.room.sid",
		"lk.room_sid",
		"roomID",
		"room_id",
	},
	"lk.track_id": {
		"lk.track.sid",
		"lk.track_sid",
		"trackID",
		"track_id",
	},
	"lk.track_source": {
		"lk.track.source",
	},
}

KeyAliases maps a canonical key to its legacy spellings, the OTLP dotted rename first and then the `aliases`. AliasesFor reads it to expand a canonical key to every spelling older captures used, for querying historical ClickHouse/log data or reading mixed payloads.

View Source
var RenamedKeys = map[string]string{
	"lk.disconnect.reason":           "lk.disconnect_reason",
	"lk.participant.sid":             "lk.participant_id",
	"lk.participant_sid":             "lk.participant_id",
	"participantID":                  "lk.participant_id",
	"participant_id":                 "lk.participant_id",
	"lk.participant.identity":        "lk.pii.participant_identity",
	"participantIdentity":            "lk.pii.participant_identity",
	"participant_identity":           "lk.pii.participant_identity",
	"lk.participant.remote_identity": "lk.pii.remote_participant_identity",
	"lk.room.name":                   "lk.pii.room_name",
	"roomName":                       "lk.pii.room_name",
	"room_name":                      "lk.pii.room_name",
	"lk.room.sid":                    "lk.room_id",
	"lk.room_sid":                    "lk.room_id",
	"roomID":                         "lk.room_id",
	"room_id":                        "lk.room_id",
	"lk.track.sid":                   "lk.track_id",
	"lk.track_sid":                   "lk.track_id",
	"trackID":                        "lk.track_id",
	"track_id":                       "lk.track_id",
	"lk.track.source":                "lk.track_source",
}

RenamedKeys maps a legacy attribute key to the canonical key that replaces it, from the `renamed_from` annotations on the shared keys: the OTLP dotted rename and every `aliases` entry (the pre-#7973 Agents span names and the Go logger / collector spellings). A consumer (such as the collector) uses it, via NormalizeKey, to fold a legacy key read from an older capture onto the key this registry defines. The legacy keys are never registered, so they appear only here.

View Source
var RenamedValues = map[string]map[string]string{
	"lk.disconnect.reason": {
		"agent_error":         "AGENT_ERROR",
		"client_initiated":    "CLIENT_INITIATED",
		"connection_timeout":  "CONNECTION_TIMEOUT",
		"duplicate_identity":  "DUPLICATE_IDENTITY",
		"join_failure":        "JOIN_FAILURE",
		"media_failure":       "MEDIA_FAILURE",
		"migration":           "MIGRATION",
		"participant_removed": "PARTICIPANT_REMOVED",
		"reconnect_failed":    "RECONNECT_FAILED",
		"room_closed":         "ROOM_CLOSED",
		"room_deleted":        "ROOM_DELETED",
		"server_shutdown":     "SERVER_SHUTDOWN",
		"signal_close":        "SIGNAL_CLOSE",
		"sip_trunk_failure":   "SIP_TRUNK_FAILURE",
		"state_mismatch":      "STATE_MISMATCH",
		"unknown":             "UNKNOWN_REASON",
		"user_rejected":       "USER_REJECTED",
		"user_unavailable":    "USER_UNAVAILABLE",
	},
	"lk.track.source": {
		"camera":             "SOURCE_CAMERA",
		"microphone":         "SOURCE_MICROPHONE",
		"screen_share":       "SOURCE_SCREENSHARE",
		"screen_share_audio": "SOURCE_SCREENSHARE_AUDIO",
		"unknown":            "SOURCE_UNKNOWN",
	},
}

RenamedValues maps a legacy attribute key to its legacy-value -> canonical-value mapping, for the shared keys whose enum values were also renamed. A renamed key whose values did not change is absent here; look it up in RenamedKeys only.

Functions

func AliasesFor

func AliasesFor(canonical string) []string

AliasesFor returns the canonical key followed by its legacy spellings, for querying historical data that may carry either. A key with no recorded legacy spelling yields just itself.

func NormalizeKey

func NormalizeKey(key string) string

NormalizeKey returns the canonical key for a legacy spelling, or key unchanged when it is not a known legacy spelling. A reader calls it on ingest to fold legacy keys onto canonical ones. During dual-emit a record may carry both: the canonical key is already canonical and returns unchanged, so prefer it over the result of normalizing the legacy key.

func NormalizeValue

func NormalizeValue(key, value string) string

NormalizeValue returns the canonical value for a legacy value under a legacy key, or value unchanged. Pass the legacy key as read from the capture, not the canonical key; only the shared keys whose enum values were renamed have value mappings.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL