From 7873609d778e9374044142a18f9cb41335877a7c Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Mon, 15 Apr 2024 16:22:15 -0400 Subject: [PATCH] Remove getPreix() from observation conventions --- .../kafka/support/micrometer/KafkaListenerObservation.java | 6 ------ .../kafka/support/micrometer/KafkaTemplateObservation.java | 6 ------ 2 files changed, 12 deletions(-) diff --git a/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaListenerObservation.java b/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaListenerObservation.java index 571c2ab253..41bd285fe9 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaListenerObservation.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaListenerObservation.java @@ -48,12 +48,6 @@ public Class> getDefaultConve return DefaultKafkaListenerObservationConvention.class; } - @Override - @NonNull - public String getPrefix() { - return "spring.kafka.listener"; - } - @Override @NonNull public KeyName[] getLowCardinalityKeyNames() { diff --git a/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaTemplateObservation.java b/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaTemplateObservation.java index c233795e66..e926f98661 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaTemplateObservation.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaTemplateObservation.java @@ -47,12 +47,6 @@ public Class> getDefaultConve return DefaultKafkaTemplateObservationConvention.class; } - @Override - @NonNull - public String getPrefix() { - return "spring.kafka.template"; - } - @Override @NonNull public KeyName[] getLowCardinalityKeyNames() {