OpenTelemetry PHP

LateBindingMeterProvider
in package
implements MeterProviderInterface

Table of Contents

Interfaces

MeterProviderInterface

Properties

$factory  : Closure
$meterProvider  : MeterProviderInterface|null

Methods

__construct()  : mixed
getMeter()  : MeterInterface
Returns a `Meter` for the given instrumentation scope.

Properties

Methods

getMeter()

Returns a `Meter` for the given instrumentation scope.

public getMeter(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<string|int, mixed> $attributes = [] ]) : MeterInterface
Parameters
$name : string

name of the instrumentation scope

$version : string|null = null

version of the instrumentation scope

$schemaUrl : string|null = null

schema url to record in the emitted telemetry

$attributes : iterable<string|int, mixed> = []

instrumentation scope attributes

Return values
MeterInterface

meter instance for the instrumentation scope


        
On this page

Search results