From 9899855a2e5792ecd95129c2d97aeb415b5a5d0a Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 18 Jan 2024 13:29:52 +0100 Subject: [PATCH] @AutoService is not needed here --- .../autoconfigure/resources/DistroVersionResourceProvider.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/resources/DistroVersionResourceProvider.java b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/resources/DistroVersionResourceProvider.java index 53a7bcb7e718..57c163b1ac01 100644 --- a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/resources/DistroVersionResourceProvider.java +++ b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/resources/DistroVersionResourceProvider.java @@ -5,7 +5,6 @@ package io.opentelemetry.instrumentation.spring.autoconfigure.resources; -import com.google.auto.service.AutoService; import io.opentelemetry.api.common.AttributeKey; import io.opentelemetry.api.common.Attributes; import io.opentelemetry.instrumentation.api.internal.EmbeddedInstrumentationProperties; @@ -13,7 +12,6 @@ import io.opentelemetry.sdk.autoconfigure.spi.ResourceProvider; import io.opentelemetry.sdk.resources.Resource; -@AutoService(ResourceProvider.class) public class DistroVersionResourceProvider implements ResourceProvider { public static final String VERSION =