NoopTracer implements RequestTracer
Implements a no-op tracer which performs no work. Note that to reduce the performance impact of using this tracer, this class is not actually used by the SDK, and simply acts as a placeholder which triggers a native implementation to be used instead.
- Represents a tracer capable of creating trace spans.
- requestSpan() : mixed
- Creates a new request span.
Creates a new request span.
public requestSpan(string $name[, RequestSpan $parent = null ]) : mixed
- $name : string
The name of the span.
- $parent : RequestSpan = null
The parent of the span, if one exists.