From a51be7035234c04ba82e3d7b5a9fd6225c3a693b Mon Sep 17 00:00:00 2001 From: 0marperez Date: Wed, 27 Nov 2024 14:37:23 -0500 Subject: [PATCH] Add issue creation link --- .../runtime/http/interceptors/BusinessMetricsInterceptor.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/BusinessMetricsInterceptor.kt b/aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/BusinessMetricsInterceptor.kt index 010b303b83a..5115ddf47cc 100644 --- a/aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/BusinessMetricsInterceptor.kt +++ b/aws-runtime/aws-http/common/src/aws/sdk/kotlin/runtime/http/interceptors/BusinessMetricsInterceptor.kt @@ -44,7 +44,10 @@ public class BusinessMetricsInterceptor : HttpInterceptor { private fun formatMetrics(metrics: MutableSet, logger: Logger): String { val allowedMetrics = metrics.filter { if (it.identifier.length > 2) { - logger.warn { "Business metric '${it.identifier}' will be skipped due to length being > 2" } + logger.warn { + "Business metric '${it.identifier}' will be skipped due to length being > 2. " + + "This is likely a bug. Please raise an issue at https://github.com/awslabs/aws-sdk-kotlin/issues/new/choose" + } false } else { true