Optional
environmentEnvironment where the operation is running (e.g., 'production', 'staging')
Optional
inputInput data for the operation being tracked
Optional
levelSeverity level of the observation
Optional
metadataAdditional metadata as key-value pairs
Optional
outputOutput data from the operation
Optional
statusHuman-readable status message
Optional
versionVersion identifier for the code/model being tracked
Attributes for Langfuse span observations.
Spans are used to track operations, functions, or logical units of work. They can contain other spans, generations, or events as children.