startTrace abstract method

Trace startTrace(
  1. String operationName
)

Starts a new distributed trace.

The operationName should describe the operation (e.g., "odbc.query"). Returns a Trace object containing trace ID and start time.

Thread Safety: The returned Trace object is not thread-safe. Do NOT share across isolates. Use within the creating isolate only.

Implementation

Trace startTrace(String operationName);