class NoopTracer implements RequestTracer (View source)

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.

Methods

requestSpan(string $name, RequestSpan $parent = null)

Creates a new request span.

Details

requestSpan(string $name, RequestSpan $parent = null)

Creates a new request span.

Parameters

string $name

The name of the span.

RequestSpan $parent

The parent of the span, if one exists.