Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Trask Stalnaker <[email protected]>
  • Loading branch information
zeitlinger and trask authored Jan 6, 2025
1 parent 9491792 commit 1e96fae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions content/en/docs/zero-code/java/agent/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,4 @@ instrumented.
## Next steps

Beyond the use of annotations, the OpenTelemetry API allows you to obtain a
tracer that can be used for [custom instrumentation](../api) and execute code
within the scope of that span.
tracer that can be used for [custom instrumentation](../api).
4 changes: 2 additions & 2 deletions content/en/docs/zero-code/java/agent/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Tracer tracer = GlobalOpenTelemetry.getTracer("application");
Use the `Tracer` to create a span as explained in the
[Span](/docs/languages/java/api/#span) section.

A full example can be found [example repository].
A full example can be found in the [example repository].

## Meter

Expand All @@ -78,7 +78,7 @@ Meter meter = GlobalOpenTelemetry.getMeter("application");
Use the `Meter` to create a counter, gauge or histogram as explained in the
[Meter](/docs/languages/java/api/#meter) section.

A full example can be found [example repository].
A full example can be found in the [example repository].

[example repository]:
https://github.com/open-telemetry/opentelemetry-java-examples/tree/main/javaagent
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,4 @@ annotation:
## Next steps

Beyond the use of annotations, the OpenTelemetry API allows you to obtain a
tracer that can be used for [custom instrumentation](../api) and execute code
within the scope of that span.
tracer that can be used [custom instrumentation](../api).
4 changes: 2 additions & 2 deletions content/en/docs/zero-code/java/spring-boot-starter/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class MyController {
Use the `Tracer` to create a span as explained in the
[Span](/docs/languages/java/api/#span) section.

A full example can be found [example repository].
A full example can be found in the [example repository].

## Meter

Expand All @@ -69,7 +69,7 @@ public class MyController {
Use the `Meter` to create a counter, gauge or histogram as explained in the
[Meter](/docs/languages/java/api/#meter) section.

A full example can be found [example repository].
A full example can be found in the [example repository].

[example repository]:
https://github.com/open-telemetry/opentelemetry-java-examples/tree/main/spring-native

0 comments on commit 1e96fae

Please sign in to comment.