Torch Log Service
Observability | Description |
Observability | Description |
Performance analysis |
|
Error tracking |
|
Cost optimization |
|
Category | Description |
Category | Description |
Region restriction | Deploy the server for the Langfuse SDK application and TLS in the same region 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 log application data is stored. |
Log project | Select the project where the log application data is stored. Notice After the log application is created successfully, a log topic with the LANGFUSE tag will be automatically created in the project to store trace data. The relevant information for this log topic is as follows:
|
Application name | Enter the name of the Langfuse log application.
|
Description | Description information for the log application. Length limit is 0–128 characters. |
Type | Chart |
Type | Chart |
Homepage |
|
Trace analysis |
|
Session analysis |
|
Token analysis |
|
Topic list | Displays the log types, projects, log topics, description information, and more generated by the current log application. |
Field | Type | Description |
Field | Type | Description |
Attributes | json | Custom key-value pairs mounted on the Span, recording business-related information. |
Duration | long | Span duration (End - Start), measuring the time consumed by the operation. |
End | long | Span end time. |
Events | text | Events occurring during the Span lifecycle. |
Host | text | The host running the service. |
Kind | text | The type of the Span. |
Links | text | References to other Spans (used for cross-Trace associations, such as asynchronous task scenarios). |
Name | text | The name of the Span, usually describing the operation. |
OTLPName | text | The original name when reported via the OTLP protocol (OTLP = OpenTelemetry Line Protocol). |
OTLPVersion | text | The version number of the OTLP protocol used. |
ParentSpanID | text | The 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 | The name of the service that generated this Span. |
SpanID | text | The unique ID of the current Span. |
Start | long | Span start time. |
StatusCode | text | The execution result of the Span. |
StatusDescription | text | Supplementary description of the Span's execution result. |
TracelD | text | The TraceID of 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 |
langfuse.observation.cost_details | text | Cost details, typically including input token cost, output token cost, total cost, and so on. |
langfuse.observation.input | text | Observed input content, such as prompt and similar items. |
langfuse.observation.metadata.provider | text | The LLM service provider called. |
langfuse.observation.model.name | text | The name of the model called. |
langfuse.observation.output | text | Observed output content. |
langfuse.observation.type | text | Type of the observed node. |
langfuse.observation.usage_details | text | Token usage details, typically including input_tokens (number of input tokens), output_tokens (number of output tokens), and total_tokens (total number of tokens). |
session.id | text | Session ID. |
user.id | text | User ID. |