OpenTelemetry PHP

TracerTest extends TestCase
in package

Attributes
#[CoversClass]
\OpenTelemetry\SDK\Trace\Tracer::class

Table of Contents

Properties

$instrumentationScope  : InstrumentationScope
$tracer  : Tracer
$tracerSharedState  : TracerSharedState

Methods

nameProvider()  : array<string|int, mixed>
test_enabled()  : void
test_get_instrumentation_scope()  : void
test_returns_noop_span_builder_if_shared_state_is_shutdown()  : void
test_span_builder()  : void
setUp()  : void

Properties

Methods

nameProvider()

public static nameProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

test_get_instrumentation_scope()

public test_get_instrumentation_scope() : void

test_returns_noop_span_builder_if_shared_state_is_shutdown()

public test_returns_noop_span_builder_if_shared_state_is_shutdown() : void
Tags
psalm-suppress

UndefinedMethod

test_span_builder()

public test_span_builder(non-empty-string $name, string $expected) : void
Parameters
$name : non-empty-string
$expected : string
Attributes
#[DataProvider]
'nameProvider'
#[Group]
'trace-compliance'

        
On this page

Search results