rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Bug] Producer connection is incorrect when use otel statistics

Open zhiliatom opened this issue 2 years ago • 0 comments

Before Creating the Bug Report

  • [X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

centos7

RocketMQ version

5.1.5.SNAPSHOT

JDK Version

jdk1.8

Describe the Bug

the producer connections is actually include the group of "CLIENT_INNER_PRODUCER" which doesn't want to be counted to user. Chinese version: 生产者的数量统计结果包含了CLIENT_INNER_PRODUCER 这个内部组的生产者,对用户展示的结果不符合实际启动的生产者数量

Steps to Reproduce

  1. use otel metrics minitor producer connections
  2. when start "N" consumer client and no producer client

What Did You Expect to See?

producer connection is zero

What Did You See Instead?

producer connection is "N" ,the same with consumer connections

Additional Context

No response

zhiliatom avatar Dec 18 '23 06:12 zhiliatom