From 22bc94784c270e25f8722df3e49ea4c0cc415ee3 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 12 Apr 2024 11:34:36 +0200 Subject: [PATCH] add instrumentation for RestClient --- .../spring/spring-boot-autoconfigure-3/build.gradle.kts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure-3/build.gradle.kts b/instrumentation/spring/spring-boot-autoconfigure-3/build.gradle.kts index e12bc812fb5e..edcd85ae5c85 100644 --- a/instrumentation/spring/spring-boot-autoconfigure-3/build.gradle.kts +++ b/instrumentation/spring/spring-boot-autoconfigure-3/build.gradle.kts @@ -6,9 +6,12 @@ plugins { base.archivesName.set("opentelemetry-spring-boot-3") group = "io.opentelemetry.instrumentation" +otelJava { + minJavaVersionSupported.set(JavaVersion.VERSION_17) +} + dependencies { val springBootVersion = "3.2.4" -// implementation("org.springframework.boot:spring-boot-autoconfigure:$springBootVersion") implementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion") implementation(project(":instrumentation:spring:spring-boot-autoconfigure")) implementation(project(":instrumentation:spring:spring-web:spring-web-3.1:library"))