Skip to content

Commit 99ac717

Browse files
committed
Update listener observation operation tag
This updates the listener observation operation tag according to latest standard. Signed-off-by: Christian Fredriksson <[email protected]>
1 parent f852c28 commit 99ac717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/KafkaListenerObservation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public KeyValues getLowCardinalityKeyValues(KafkaRecordReceiverContext context)
231231
KeyValues keyValues = KeyValues.of(
232232
ListenerLowCardinalityTags.LISTENER_ID.withValue(context.getListenerId()),
233233
ListenerLowCardinalityTags.MESSAGING_SYSTEM.withValue("kafka"),
234-
ListenerLowCardinalityTags.MESSAGING_OPERATION.withValue("receive"),
234+
ListenerLowCardinalityTags.MESSAGING_OPERATION.withValue("process"),
235235
ListenerLowCardinalityTags.MESSAGING_SOURCE_NAME.withValue(context.getSource()),
236236
ListenerLowCardinalityTags.MESSAGING_SOURCE_KIND.withValue("topic")
237237
);

0 commit comments

Comments
 (0)