OtelTracer
in package
implements
Tracer
FinalYes
Tags
Table of Contents
Interfaces
Methods
- __construct() : mixed
- startSpan() : Span
Methods
__construct()
public
__construct(TracerInterface $tracer) : mixed
Parameters
- $tracer : TracerInterface
startSpan()
public
startSpan(string $name[, SpanKind $kind = SpanKind::Internal ][, array<string|int, mixed> $attributes = [] ][, Context|null $parent = null ]) : Span
Parameters
- $name : string
- $kind : SpanKind = SpanKind::Internal
- $attributes : array<string|int, mixed> = []
- $parent : Context|null = null