OpenTelemetry PHP

NoopMeterProvider
in package
implements MeterProviderInterface

Table of Contents

Interfaces

MeterProviderInterface

Methods

forceFlush()  : bool
getMeter()  : MeterInterface
Returns a `Meter` for the given instrumentation scope.
shutdown()  : bool
updateConfigurator()  : void

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