nicoloboschi opened a new issue, #17595: URL: https://github.com/apache/pulsar/issues/17595
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version 2.10.1 ### Minimal reproduce step ``` pulsar-admin produce -m hello mytopic pulsar-admin consume -s sub1 -p Earliest mytopic pulsar-admin stats mytopic ``` The result is ``` ... "filterProcessedMsgCount" : 1, "filterAcceptedMsgCount" : 1, "filterRejectedMsgCount" : 0, "filterRescheduledMsgCount" : 0, .... ``` ### What did you expect to see? I do expect that if no entry filter has been used by the dispatcher, the `filterProcessedMsgCount` and `filterAcceptedMsgCount` metrics should not be increased. ### What did you see instead? The metrics are updated even if there's no entry filter configured ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
