Sdk
in package
Table of Contents
Constants
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
$eventLoggerProvider read-only
private
EventLoggerProviderInterface
$eventLoggerProvider
$loggerProvider read-only
private
LoggerProviderInterface
$loggerProvider
$meterProvider read-only
private
MeterProviderInterface
$meterProvider
$propagator read-only
private
TextMapPropagatorInterface
$propagator
$tracerProvider read-only
private
TracerProviderInterface
$tracerProvider
Methods
__construct()
public
__construct(TracerProviderInterface $tracerProvider, MeterProviderInterface $meterProvider, LoggerProviderInterface $loggerProvider, EventLoggerProviderInterface $eventLoggerProvider, TextMapPropagatorInterface $propagator) : mixed
Parameters
- $tracerProvider : TracerProviderInterface
- $meterProvider : MeterProviderInterface
- $loggerProvider : LoggerProviderInterface
- $eventLoggerProvider : EventLoggerProviderInterface
- $propagator : TextMapPropagatorInterface
builder()
public
static builder() : SdkBuilder
Return values
SdkBuildergetEventLoggerProvider()
public
getEventLoggerProvider() : EventLoggerProviderInterface
Return values
EventLoggerProviderInterfacegetLoggerProvider()
public
getLoggerProvider() : LoggerProviderInterface
Return values
LoggerProviderInterfacegetMeterProvider()
public
getMeterProvider() : MeterProviderInterface
Return values
MeterProviderInterfacegetPropagator()
public
getPropagator() : TextMapPropagatorInterface
Return values
TextMapPropagatorInterfacegetTracerProvider()
public
getTracerProvider() : TracerProviderInterface
Return values
TracerProviderInterfaceisDisabled()
public
static isDisabled() : bool
Return values
boolisInstrumentationDisabled()
Tests whether an auto-instrumentation package has been disabled by config
public
static isInstrumentationDisabled(string $name) : bool
Parameters
- $name : string