InstrumentationTraitTest
        
        extends TestCase
    
    
            
            in package
            
        
    
    
    
Attributes
- #[CoversClass]
- \OpenTelemetry\API\Instrumentation\InstrumentationTrait::class
Table of Contents
Constants
- INSTRUMENTATION_NAME = 'test-instrumentation'
- INSTRUMENTATION_SCHEMA_URL = null
- INSTRUMENTATION_VERSION = '1.2.3'
Methods
- test_activate() : void
- test_activate_throws_exception_on_non_instrumentation_interface() : void
- test_logger() : void
- test_meter() : void
- test_propagator() : void
- test_tracer() : void
- createInvalidImplementation() : object
- createValidImplementation() : InstrumentationInterface
Constants
INSTRUMENTATION_NAME
    public
        mixed
    INSTRUMENTATION_NAME
    = 'test-instrumentation'
    
    
    
    
INSTRUMENTATION_SCHEMA_URL
    public
        mixed
    INSTRUMENTATION_SCHEMA_URL
    = null
    
    
    
    
INSTRUMENTATION_VERSION
    public
        mixed
    INSTRUMENTATION_VERSION
    = '1.2.3'
    
    
    
    
Methods
test_activate()
    public
                    test_activate() : void
    test_activate_throws_exception_on_non_instrumentation_interface()
    public
                    test_activate_throws_exception_on_non_instrumentation_interface() : void
    test_logger()
    public
                    test_logger() : void
    test_meter()
    public
                    test_meter() : void
    test_propagator()
    public
                    test_propagator() : void
    test_tracer()
    public
                    test_tracer() : void
    createInvalidImplementation()
    private
                    createInvalidImplementation() : object
    Return values
objectcreateValidImplementation()
    private
                    createValidImplementation() : InstrumentationInterface