OpenTelemetry PHP

TracerProviderInterface extends TracerProviderInterface, Configurable

Table of Contents

Methods

forceFlush()  : bool
getTracer()  : TracerInterface
shutdown()  : bool
updateConfigurator()  : void

Methods

getTracer()

public getTracer(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<string|int, mixed> $attributes = [] ]) : TracerInterface
Parameters
$name : string
$version : string|null = null
$schemaUrl : string|null = null
$attributes : iterable<string|int, mixed> = []
Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/api.md#get-a-tracer
Return values
TracerInterface

        
On this page

Search results