Set Context Propagation on the Java Agent
Set Context Propagation on the Java Agent
In order to enable context propagation on the Java Agent, you will need to set the following flags when starting the test listener:
sl.otelEnabled=true
sl.otelConfiguration.enabled=true
sl.otelConfiguration.loadEmbeddedAgent=true
sl.featuresData.codeCoverageManagerVersion=v3
For example:
-javaagent:/path/to/sl-test-listener.jar -Dsl.tags=backend -Dsl.labId=<lab ID> -Dsl.otelEnabled=true -Dsl.otelConfiguration.enabled=true -Dsl.otelConfiguration.loadEmbeddedAgent=true -Dsl.featuresData.codeCoverageManagerVersion=v3
, multiple selections available,
Related content
Set Context Propagation on the Node Agent
Set Context Propagation on the Node Agent
Read with this
Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
More like this
Using Java Agents - Running Tests
Using Java Agents - Running Tests
More like this
Supporting Special Use Cases - Test Runners & SeaLights Java Agent
Supporting Special Use Cases - Test Runners & SeaLights Java Agent
More like this
SeaLights Java Agent - AWS Lambda Support
SeaLights Java Agent - AWS Lambda Support
More like this
SeaLights CD Agent for Java Application
SeaLights CD Agent for Java Application
More like this