Skip to content

Commit

Permalink
use info boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Jan 10, 2025
1 parent 7dd6e44 commit 7752053
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions content/en/docs/languages/java/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,9 @@ public class AttributesUsage {

### OpenTelemetry

{{% alert title="Spring Boot Starter" %}}
The Spring Boot starter is a special case where `OpenTelemetry` is available as
a Spring bean. Simply inject `OpenTelemetry` into your Spring components.
{{% alert title="Spring Boot Starter" %}} The Spring Boot starter is a special
case where `OpenTelemetry` is available as a Spring bean. Simply inject
`OpenTelemetry` into your Spring components.

Read more about
[extending the Spring Boot starter with custom manual instrumentation](/docs/zero-code/java/spring-boot-starter/api/).
Expand Down Expand Up @@ -610,11 +610,9 @@ public class OpenTelemetryUsage {

### GlobalOpenTelemetry


{{% alert title="Java agent" %}}
The Java agent is a special case where `GlobalOpenTelemetry` is set by the
agent. Simply call `GlobalOpenTelemetry.get()` to access the `OpenTelemetry`
instance.
{{% alert title="Java agent" %}} The Java agent is a special case where
`GlobalOpenTelemetry` is set by the agent. Simply call
`GlobalOpenTelemetry.get()` to access the `OpenTelemetry` instance.

Read more about
[extending the Java agent with custom manual instrumentation](/docs/zero-code/java/agent/api/).
Expand Down

0 comments on commit 7752053

Please sign in to comment.