| | |
| | Operation name: identifies the action type of this AI invocation. |
| | Conversation ID: uniquely identifies a complete conversation. |
| | AI Agent name (OTel standard field): identifies the name of the agent that triggered this invocation. |
| | Input messages, the complete conversation history sent to the model. |
| | Output messages, the complete reply content returned by the model. |
| | |
| | Model specified in the request, the model name filled in by the client when initiating the request. |
| | Actual response model, the model version actually used by the server. |
| | Tool name when the agent calls an external tool (Function Calling). |
gen_ai.usage.input_tokens | | Number of input tokens, total input tokens consumed by this request. |
gen_ai.usage.output_tokens | | Number of output tokens, total output tokens generated by this request. |
gen_ai.usage.cache_read.input_tokens | | Number of tokens read from cache, amount of tokens read from the prompt cache (cache hits can significantly reduce costs). |
gen_ai.usage.cache_creation.input_tokens | | Number of tokens written to cache, amount of tokens newly written to the prompt cache by this request. |
gen_ai.usage.reasoning.output_tokens | | Number of reasoning tokens, tokens consumed during the internal reasoning process of models such as DeepSeek-R1 (content within the <think> tag). |
gen_ai.response.time_to_first_chunk | | Time to first chunk (TTFC), elapsed time from sending the request to receiving the first streaming chunk, measures the speed at which the model begins to respond. |
| | Session ID: associates multiple invocations with the same conversation session, used to reconstruct the complete multi-turn conversation chain. |
| | Error type: records the error category when an invocation fails. |
| | |
| | Application type of TLS log application. |
| | |
| | Agent name (TLS Custom field), same meaning as gen_ai.agent.name, Extra specs for the platform side. |
| | AI Agent version (OTel standard field): records the version number of the agent. |
| | Agent version (TLS Custom field), same meaning as gen_ai.agent.version. |
| | User name, the user's readable name, used together with user.id. |
| | User ID: identifies the end user who triggered this request, used for usage and cost statistics per user. |