diff --git a/dd-trace/README.md b/dd-trace/README.md index fc8bc15c27..fea1c8e44c 100644 --- a/dd-trace/README.md +++ b/dd-trace/README.md @@ -115,15 +115,15 @@ You can start as shown below, here is an example how to use both of them to inst ```java class InstrumentedClass { - - @Trace - void methodAnnoted() { - // The annotation will do the same thing as the manual instrumentation below - //Do some thing here ... - Thread.sleep(1_000); - } - - void methodSDK() { + + @Trace + void methodAnnoted() { + // The annotation will do the same thing as the manual instrumentation below + //Do some thing here ... + Thread.sleep(1_000); + } + + void methodSDK() { // Retrieve the tracer using the resolver provided // Make sure you have : // 1. added the agent to the jvm (-javaagent;/path/to/agent.jar) @@ -137,7 +137,7 @@ class InstrumentedClass { // Close the span, the trace will automatically reported to the writer configured span.close(); - } + } } ```