Torch Log Service
Observability | Description |
Observability | Description |
Performance analysis |
|
Error tracking |
|
Cost optimization |
|
Category | Description |
Category | Description |
Software limits | The server for deploying TLS LLM must have NPM and Node.js 22 or later installed. |
Region restriction | The server for deploying TLS LLM must be in the same region as TLS to ensure network connectivity. |
Authentication method | Obtain the user's Access Key ID, Secret Access Key, or APIKey according to the authentication method.
Notice API Key is in closed beta. If needed, contact your account manager for access to the allowlist. |
Parameters | Description |
Parameters | Description |
Region | The region where the accessed log application data is stored. |
Log project | Select the project where the log application data is stored. Notice After the log application is successfully created, a log topic with the TLSLLM tag will be automatically created in the project to store trace data. Details of this log topic are as follows:
|
Application name | Enter the name of the TLS LLM log application.
|
Description | Description of the log application. Length limit is 0–128 characters. |
Type | Chart |
Type | Chart |
Homepage |
|
Trace analysis |
|
Session analysis |
|
Token analysis |
|
Topic list | Display the log types, projects, log topics, description information, and more generated by the current TLS application. |
Field | Type | Description |
Field | Type | Description |
Attributes | json | Custom key-value pairs mounted on the Span, recording business-related information. |
Duration | long | Duration of the Span (End - Start), measuring the time consumed by the operation. |
End | long | Span end time. |
Events | text | Events occurring during the Span's lifecycle. |
Host | text | The host running the service. |
Kind | text | Type of the Span. |
Links | text | References to other Spans (used for cross-Trace associations, such as asynchronous task scenarios). |
Name | text | Name of the Span, usually a description of the operation. |
OTLPName | text | Original name reported via the OTLP protocol (OTLP = OpenTelemetry Line Protocol). |
OTLPVersion | text | Version number of the OTLP protocol used. |
ParentSpanID | text | ID of the parent Span, indicating which operation triggered the current operation. This field is empty for the root node. |
Resource | json | A set of attributes describing the service itself (more comprehensive than ServiceName), such as service name, version, runtime environment, and so on. |
ServiceName | text | Name of the service that generated this Span. |
SpanID | text | Unique ID of the current Span. |
Start | long | Span start time. |
StatusCode | text | Execution result of the Span. |
StatusDescription | text | Supplementary description of the Span's execution result. |
TracelD | text | TraceID for the entire call chain. All Spans for the same request share the same TraceID. |
TraceState | text | Custom trace context metadata. |
Field | Type | Description |
Field | Type | Description |
error.type | text | Error category for this call. |
gen_ai.input.messages | text | Complete list of input messages sent to the model. |
gen_ai.output.messages | text | Content of the model's output message, that is, the full reply text returned by the LLM. |
gen_ai.provider.name | text | Name of the model provider. |
gen_ai.request.model | text | Name of the model specified in the request. |
gen_ai.response.finish_reasons | text | Reason for generation completion, indicating why the model stopped outputting. |
gen_ai.response.first_output_time_unix_nano | long | Time when the first token was output, Unix nanosecond timestamp. |
gen_ai.response.model | text | Name of the model actually used for the response. |
gen_ai.tool.name | text | Name of the tool involved in this invocation. |
gen_ai.tool.type | text | Type of tool when invoking an external tool. |
gen_ai.usage.cache_read.input_tokens | long | Number of input tokens that hit the KV Cache. |
gen_ai.usage.input_tokens | long | Number of input tokens consumed by this request. |
gen_ai.usage.output_tokens | long | Number of output tokens consumed by this request. |
gen_ai.usage.reasoning.output_tokens | long | Number of output tokens consumed by Reasoning. |
gen_ai.usage.total_tokens | long | Total number of tokens. |
otel.status_code | text | OpenTelemetry status code, used to quickly determine whether this Span completed normally. |
session.id | text | Session ID of the current session. |
tls.openai.request.model_parameters | text | Model parameters passed in the request, recording the parameter configuration carried when invoking the LLM. |
tls.span.type | text | Custom Span type defined by TLS. |
user.id | text | User ID. |