Metadata
Adding metadata to your traces for additional information
Overview
With Confident AI, you can attach additional metadata to both traces and spans. This information can be used for filtering, grouping, and analyzing your traces in the observatory.
Add Metadata
Use the update current span and update current trace functions to add span-level and trace-level metadata.
Each metadata argument is a dictionary whose keys are strings and whose values are any JSON-serializable type.
Python
TypeScript
main.py