From 47de70d401bc7ce41f335453b679ad835e6763e0 Mon Sep 17 00:00:00 2001 From: Ethan Bishop Date: Fri, 2 Nov 2018 10:41:26 +0000 Subject: [PATCH] Port SpanTag fix to 1.3.x (#1119) Fixes gh-990 --- .../org/springframework/cloud/sleuth/annotation/SpanTag.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/annotation/SpanTag.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/annotation/SpanTag.java index e1053b0be..9da85d1f4 100644 --- a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/annotation/SpanTag.java +++ b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/annotation/SpanTag.java @@ -45,6 +45,7 @@ public @interface SpanTag { /** * The name of the key of the tag which should be created. */ + @AliasFor("key") String value() default ""; /**