OpenTelemetry PHP

SpanLimitsBuilderTest extends TestCase
in package
uses TestState

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

Table of Contents

Properties

$environmentVariables  : array<string|int, mixed>

Methods

test_span_limits_builder_throws_exception_on_invalid_value_from_environment()  : void
test_span_limits_builder_uses_configured_value()  : void
test_span_limits_builder_uses_default_values()  : void
test_span_limits_builder_uses_environment_variable()  : void
restoreEnvironmentVariables()  : void
setEnvironmentVariable()  : void
tearDownSharedState()  : void

Properties

$environmentVariables

private array<string|int, mixed> $environmentVariables = []

Methods

test_span_limits_builder_throws_exception_on_invalid_value_from_environment()

public test_span_limits_builder_throws_exception_on_invalid_value_from_environment() : void
Attributes
#[Group]
'trace-compliance'

test_span_limits_builder_uses_configured_value()

public test_span_limits_builder_uses_configured_value() : void
Attributes
#[Group]
'trace-compliance'

test_span_limits_builder_uses_default_values()

public test_span_limits_builder_uses_default_values() : void

test_span_limits_builder_uses_environment_variable()

public test_span_limits_builder_uses_environment_variable() : void
Attributes
#[Group]
'trace-compliance'

restoreEnvironmentVariables()

protected restoreEnvironmentVariables() : void
Attributes
#[After]

setEnvironmentVariable()

protected setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
$variable : string
$value : mixed

tearDownSharedState()

protected tearDownSharedState() : void
Attributes
#[After]

        
On this page

Search results