StartSpanAsActive
Applicability
Product |
Supported (Yes/No) |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Creates and activates a Span.
Prototype
1 | static Span StartSpanAsActive(const char* spanName, const char* moduleName = nullptr,bool autoEnd = true) |
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
spanName |
Input |
Span name. |
moduleName |
Input |
(Optional) Module name. |
autoEnd |
Input |
Whether to automatically end the trace; defaults to true. |
Return Value Description
Returns the object of the Span class.
Parent topic: Tracer Class