OpenTelemetry PHP

Sdk
in package

Table of Contents

Constants

OTEL_PHP_DISABLED_INSTRUMENTATIONS_ALL  = 'all'

Properties

$eventLoggerProvider  : EventLoggerProviderInterface
$loggerProvider  : LoggerProviderInterface
$meterProvider  : MeterProviderInterface
$propagator  : TextMapPropagatorInterface
$tracerProvider  : TracerProviderInterface

Methods

__construct()  : mixed
builder()  : SdkBuilder
getEventLoggerProvider()  : EventLoggerProviderInterface
getLoggerProvider()  : LoggerProviderInterface
getMeterProvider()  : MeterProviderInterface
getPropagator()  : TextMapPropagatorInterface
getTracerProvider()  : TracerProviderInterface
isDisabled()  : bool
isInstrumentationDisabled()  : bool
Tests whether an auto-instrumentation package has been disabled by config

Constants

OTEL_PHP_DISABLED_INSTRUMENTATIONS_ALL

private mixed OTEL_PHP_DISABLED_INSTRUMENTATIONS_ALL = 'all'

Properties

Methods

isDisabled()

public static isDisabled() : bool
Return values
bool

isInstrumentationDisabled()

Tests whether an auto-instrumentation package has been disabled by config

public static isInstrumentationDisabled(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results