PHPUnitTelemetryAttributes
FinalYes
Flow-specific PHPUnit attribute keys.
Official test semantic convention keys (test.case.name, test.case.result.status,
test.suite.name, test.suite.run.status) come from SemConvAttributes;
per OTel naming guidance flow-custom keys must not extend the test. namespace and live under
flow.phpunit. instead.
Tags
Constants
- ATTR_SUITE_IS_ROOT : string = 'flow.phpunit.suite.is_root'
- ATTR_SUITE_TEST_COUNT : string = 'flow.phpunit.suite.test_count'
- ATTR_TEST_CLASS : string = 'flow.phpunit.test.class'
- ATTR_TEST_ID : string = 'flow.phpunit.test.id'
- ATTR_TEST_MEMORY_DELTA : string = 'flow.phpunit.test.memory.delta'
- Value expressed in bytes.
- ATTR_TEST_MEMORY_PEAK : string = 'flow.phpunit.test.memory.peak'
- Value expressed in bytes.
- ATTR_TEST_METHOD : string = 'flow.phpunit.test.method'
Constants
ATTR_SUITE_IS_ROOT
public
string
ATTR_SUITE_IS_ROOT
= 'flow.phpunit.suite.is_root'
ATTR_SUITE_TEST_COUNT
public
string
ATTR_SUITE_TEST_COUNT
= 'flow.phpunit.suite.test_count'
ATTR_TEST_CLASS
public
string
ATTR_TEST_CLASS
= 'flow.phpunit.test.class'
ATTR_TEST_ID
public
string
ATTR_TEST_ID
= 'flow.phpunit.test.id'
ATTR_TEST_MEMORY_DELTA
Value expressed in bytes.
public
string
ATTR_TEST_MEMORY_DELTA
= 'flow.phpunit.test.memory.delta'
ATTR_TEST_MEMORY_PEAK
Value expressed in bytes.
public
string
ATTR_TEST_MEMORY_PEAK
= 'flow.phpunit.test.memory.peak'
ATTR_TEST_METHOD
public
string
ATTR_TEST_METHOD
= 'flow.phpunit.test.method'