We recommend starting with the auto-instrumentation first. For advanced customization and granular control, you can directly utilize our OTEL-compliant instrumentation API.
child
span appears as a nested component under the parent
span.
process_operation()
and ending it when process_operation()
is finished.
To use the decorator, you must have a tracer instance in scope for your function declaration.