Spring autoconf deps (#11784)

This commit is contained in:
Gregor Zeitlinger 2024-07-10 17:26:02 +02:00 committed by GitHub
parent fa72a652bc
commit 948a58e591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -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"))

View File

@ -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>",