Skip to content

Commit

Permalink
Spring autoconf deps (#11784)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger authored Jul 10, 2024
1 parent fa72a65 commit 948a58e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ otelJava {
dependencies {
val springBootVersion = "3.2.4"
library("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
compileOnly(project(":instrumentation:spring:spring-boot-autoconfigure"))
implementation(project(":instrumentation:spring:spring-boot-autoconfigure"))
implementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
implementation(project(":instrumentation:spring:spring-web:spring-web-3.1:library"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@
"description": "Enables the DB statement sanitization.",
"defaultValue": true
},
{
"name": "otel.instrumentation.common.default-enabled",
"type": "java.lang.Boolean",
"description": "Enables all instrumentations. Set to <code>false</code> to disable all instrumentations and then enable specific modules individually, e.g. <code>otel.instrumentation.jdbc.enabled=true</code>.",
"defaultValue": true
},
{
"name": "otel.instrumentation.common.peer-service-mapping",
"type": "java.util.Map<java.lang.String, java.lang.String>",
Expand Down

0 comments on commit 948a58e

Please sign in to comment.