MeterProviderInterface
extends
MeterProviderInterface, Configurable
in
Table of Contents
Methods
- forceFlush() : bool
- getMeter() : MeterInterface
- Returns a `Meter` for the given instrumentation scope.
- shutdown() : bool
- updateConfigurator() : void
Methods
forceFlush()
public
forceFlush() : bool
Return values
boolgetMeter()
Returns a `Meter` for the given instrumentation scope.
public
getMeter(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<non-empty-string, string|bool|float|int|array<string|int, mixed>|null> $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<non-empty-string, string|bool|float|int|array<string|int, mixed>|null> = []
-
instrumentation scope attributes
Tags
Return values
MeterInterface —meter instance for the instrumentation scope
shutdown()
public
shutdown() : bool
Return values
boolupdateConfigurator()
public
updateConfigurator(Configurator $configurator) : void
Parameters
- $configurator : Configurator