Flow PHP

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
see
https://opentelemetry.io/docs/specs/semconv/general/naming/

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_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'
On this page

Search results