Turns out Byteman doesn’t like $this as a reference
Their docs were misleading. Also fix the readme’s maven dependency.
This commit is contained in:
parent
bc0bd51c8e
commit
b85b7aed1d
|
@ -190,7 +190,7 @@ For Maven, add this to pom.xml:
|
||||||
<!-- OpenTracing Util -->
|
<!-- OpenTracing Util -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.opentracing</groupId>
|
<groupId>io.opentracing</groupId>
|
||||||
<artifactId>io.opentracing:opentracing-util</artifactId>
|
<artifactId>opentracing-util</artifactId>
|
||||||
<version>0.30.0</version>
|
<version>0.30.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ HELPER com.datadoghq.trace.agent.integration.AWSClientHelper
|
||||||
AT ENTRY
|
AT ENTRY
|
||||||
IF TRUE
|
IF TRUE
|
||||||
DO
|
DO
|
||||||
patch($this);
|
patch($0);
|
||||||
ENDRULE
|
ENDRULE
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ HELPER com.datadoghq.trace.agent.integration.MongoHelper
|
||||||
AT ENTRY
|
AT ENTRY
|
||||||
IF getState($0) == 0
|
IF getState($0) == 0
|
||||||
DO
|
DO
|
||||||
patch($this);
|
patch($0);
|
||||||
ENDRULE
|
ENDRULE
|
||||||
|
|
||||||
RULE opentracing-mongo-driver-helper
|
RULE opentracing-mongo-driver-helper
|
||||||
|
@ -104,7 +104,7 @@ HELPER com.datadoghq.trace.agent.integration.OkHttpHelper
|
||||||
AT ENTRY
|
AT ENTRY
|
||||||
IF TRUE
|
IF TRUE
|
||||||
DO
|
DO
|
||||||
patch($this)
|
patch($0)
|
||||||
ENDRULE
|
ENDRULE
|
||||||
|
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ HELPER com.datadoghq.trace.agent.integration.JettyServletHelper
|
||||||
AT EXIT
|
AT EXIT
|
||||||
IF getState($0.getServletContext()) == 0
|
IF getState($0.getServletContext()) == 0
|
||||||
DO
|
DO
|
||||||
patch($this)
|
patch($0)
|
||||||
ENDRULE
|
ENDRULE
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,5 +133,5 @@ HELPER com.datadoghq.trace.agent.integration.TomcatServletHelper
|
||||||
AT EXIT
|
AT EXIT
|
||||||
IF TRUE
|
IF TRUE
|
||||||
DO
|
DO
|
||||||
patch($this)
|
patch($0)
|
||||||
ENDRULE
|
ENDRULE
|
||||||
|
|
Loading…
Reference in New Issue