OpenTelemetry PHP

MeterConfigTest extends TestCase
in package

Attributes
#[CoversNothing]

Table of Contents

Constants

T0  = 0
T1  = 1
T2  = 2

Methods

test_disable_scopes()  : void
test_metrics_not_exported_when_disabled()  : void
If a Meter is disabled, it MUST behave equivalently to No-op Meter
test_streams_recreated_on_enable()  : void
If a meter is disabled, its streams should be dropped. Any previously collected data will be lost. If a disabled meter is re-enabled, the streams should be recreated.

Constants

Methods

test_metrics_not_exported_when_disabled()

If a Meter is disabled, it MUST behave equivalently to No-op Meter

public test_metrics_not_exported_when_disabled() : void
Attributes
#[Group]
'metrics-compliance'

test_streams_recreated_on_enable()

If a meter is disabled, its streams should be dropped. Any previously collected data will be lost. If a disabled meter is re-enabled, the streams should be recreated.

public test_streams_recreated_on_enable() : void

        
On this page

Search results