OpenTelemetry PHP

Instrumentation

Table of Contents

Namespaces

AutoInstrumentation
Configuration

Interfaces

ConfigurationResolverInterface
InstrumentationInterface

Classes

CachedInstrumentation
Provides access to cached {@link TracerInterface} and {@link MeterInterface} instances.
ConfigurationResolver
Configurator
Configures the global (context scoped) instrumentation instances.
SpanAttribute
For function and methods that have the {@link WithSpan} attribute, adding this attribute to an argument will add the argument as a span attribute.
WithSpan
Functions and methods with this attribute will be auto-instrumented by the OpenTelemetry extension.
WithSpanHandler
Generic pre-hook and post-hook handlers for attribute-based auto instrumentation

Traits

InstrumentationTrait
This trait in conjunction with the InstrumentationInterface is meant as a base for instrumentations for the OpenTelemetry API.

        
On this page

Search results