Function type for processing function results into OpenTelemetry attributes.
This function type defines the signature for custom output processors that convert
function return values into OpenTelemetry attributes for span enrichment. The function
receives the original function's return value and should return an attributes object
that will be added to the span.
Function type for processing function results into OpenTelemetry attributes.
This function type defines the signature for custom output processors that convert function return values into OpenTelemetry attributes for span enrichment. The function receives the original function's return value and should return an attributes object that will be added to the span.