TracingPluginType.startSpan() method
Starts a span.
Signature:
startSpan(name: string, options?: StartSpanOptions, enterOrCtx?: boolean | object): any;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
operation name |
|
options |
(Optional) span attributes; see StartSpanOptions | |
|
enterOrCtx |
boolean | object |
(Optional) |
Returns:
any
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.