Name
Giving names to your traces for better visbility on Confident AI
Both traces and spans have names, and you can customize them based on your liking for better UI display.
You can name a trace at runtime by providing the name parameter in the update current trace function:
By default, the name on a trace is set to None.
The default name for a span is the name of the function/method you’re observing. If you wish to overwrite this behavior, simply provide a name to the update current span function: