OptionalenvironmentEnvironment where the operation is running (e.g., 'production', 'staging')
OptionalinputInput data for the operation being tracked
OptionallevelSeverity level of the observation
OptionalmetadataAdditional metadata as key-value pairs
OptionaloutputOutput data from the operation
OptionalstatusHuman-readable status message
OptionalversionVersion 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.