Skip to content

Commit

Permalink
Fix import for @WithSpan in docs. (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Dec 14, 2020
1 parent 4c8b8a7 commit 67371ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ OpenTelemetry `getTracer` and API directly, configure a `@WithSpan`
annotation. Add the trace annotation to your application's code:

```java
import io.opentelemetry.extensions.auto.annotations.WithSpan;
import io.opentelemetry.extension.annotations.WithSpan;

public class MyClass {
@WithSpan
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/spring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import io.opentelemetry.context.Scope;
import io.opentelemetry.extensions.auto.annotations.WithSpan;
import io.opentelemetry.extension.annotations.WithSpan;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.Tracer;

Expand Down
2 changes: 1 addition & 1 deletion instrumentation/spring/spring-boot-autoconfigure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Note - This annotation can only be applied to bean methods managed by the spring
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import io.opentelemetry.extensions.auto.annotations.WithSpan;
import io.opentelemetry.extension.annotations.WithSpan;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.Tracer;

Expand Down

0 comments on commit 67371ec

Please sign in to comment.