From d1061a9f047a6ec1c8cfc68cefcf8ae74d869f29 Mon Sep 17 00:00:00 2001 From: "Mengyi Zhou (bjrara)" Date: Thu, 14 Dec 2023 12:13:48 -0800 Subject: [PATCH] change dep config to compileOnly to fix high cardinality metrics (#653) --- awsagentprovider/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awsagentprovider/build.gradle.kts b/awsagentprovider/build.gradle.kts index 4a46a83e7..459343f78 100644 --- a/awsagentprovider/build.gradle.kts +++ b/awsagentprovider/build.gradle.kts @@ -35,7 +35,7 @@ dependencies { // AWS Resource Detectors implementation("io.opentelemetry.contrib:opentelemetry-aws-resources") // Export configuration - implementation("io.opentelemetry:opentelemetry-exporter-otlp") + compileOnly("io.opentelemetry:opentelemetry-exporter-otlp") testImplementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure") testImplementation("io.opentelemetry:opentelemetry-sdk-testing")