Required Imports
1. StartSpan
UseStartSpan() to create a custom span. You must call End() to complete the span.
Syntax
Parameter
Example
2. CaptureSpan
UseCaptureSpan() to create a span with automatic lifecycle management. The span ends automatically when the callback completes.
Syntax
Parameter
Example
3. CurrentSpan
UseCurrentSpan to access the active span within the current execution context.