Class Trace.Builder
- All Implemented Interfaces:
Trace._FinalStage,Trace.EnvironmentStage,Trace.IdStage,Trace.PublicStage,Trace.TimestampStage
- Enclosing class:
Trace
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(List<String> tags) The tags associated with the trace.additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) The tags associated with the trace.build()environment(String environment) The environment from which this trace originated.The unique identifier of a traceThe input data of the trace.The input data of the trace.The metadata associated with the trace.The metadata associated with the trace.The name of the traceThe name of the traceThe name of the traceThe output data of the trace.The output data of the trace.public_(boolean public_) Public traces are accessible via url without loginThe release version of the application when the trace was createdThe release version of the application when the trace was createdThe release version of the application when the trace was createdThe session identifier associated with the traceThe session identifier associated with the traceThe session identifier associated with the traceThe tags associated with the trace.timestamp(OffsetDateTime timestamp) The timestamp when the trace was createdThe user identifier associated with the traceThe user identifier associated with the traceThe user identifier associated with the traceThe version of the traceThe version of the traceThe version of the trace
-
Method Details
-
from
- Specified by:
fromin interfaceTrace.IdStage
-
id
The unique identifier of a trace
The unique identifier of a trace
- Specified by:
idin interfaceTrace.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
The timestamp when the trace was created
The timestamp when the trace was created
- Specified by:
timestampin interfaceTrace.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
public_
Public traces are accessible via url without login
Public traces are accessible via url without login
- Specified by:
public_in interfaceTrace.PublicStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
- Specified by:
environmentin interfaceTrace.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllTags
The tags associated with the trace.
- Specified by:
addAllTagsin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTags
The tags associated with the trace.
- Specified by:
addTagsin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
The tags associated with the trace.
- Specified by:
tagsin interfaceTrace._FinalStage
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTrace._FinalStage
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTrace._FinalStage
-
version
The version of the trace
- Specified by:
versionin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTrace._FinalStage
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTrace._FinalStage
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTrace._FinalStage
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTrace._FinalStage
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTrace._FinalStage
-
name
The name of the trace
- Specified by:
namein interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTrace._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTrace._FinalStage
-
build
- Specified by:
buildin interfaceTrace._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceTrace._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceTrace._FinalStage
-