Skip to content

Commit

Permalink
Update getting-started.md in Spring Boot Starter to be easier to copy…
Browse files Browse the repository at this point in the history
… dependency (#5779)
  • Loading branch information
AlexeiZenin authored Dec 16, 2024
1 parent 7894bf6 commit c386693
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,16 @@ The OpenTelemetry starter uses OpenTelemetry Spring Boot
{{< tabpane text=true >}} {{% tab header="Maven (`pom.xml`)" lang=Maven %}}

```xml
<dependencies>
<dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
<artifactId>opentelemetry-spring-boot-starter</artifactId>
</dependency>
</dependencies>
</dependency>
```

{{% /tab %}} {{% tab header="Gradle (`gradle.build`)" lang=Gradle %}}

```kotlin
dependencies {
implementation("io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter")
}
implementation("io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter")
```

{{% /tab %}} {{< /tabpane>}}

0 comments on commit c386693

Please sign in to comment.