frankjkelly opened a new issue #9634: URL: https://github.com/apache/pulsar/issues/9634
**Describe the bug** The prometheus metric `bookie_journal_JOURNAL_QUEUE_SIZE` exposed by bookie is negative. Shouldn't queue lengths be positive **To Reproduce** 1. Launch Pulsar 2. Inspect metrics endpoint of Bookkeeper ``` $ curl http://platform-pulsar-bookkeeper:8000/metrics | grep QUEUE_SIZE # TYPE bookie_journal_JOURNAL_CB_QUEUE_SIZE counter bookie_journal_JOURNAL_CB_QUEUE_SIZE 57253790 # TYPE bookie_journal_JOURNAL_FORCE_WRITE_QUEUE_SIZE counter bookie_journal_JOURNAL_FORCE_WRITE_QUEUE_SIZE 0 # TYPE bookie_journal_JOURNAL_QUEUE_SIZE counter bookie_journal_JOURNAL_QUEUE_SIZE -57253790 ``` **Expected behavior** Queue lengths are zero or above **Screenshots**  **Additional context** - Pulsar `2.6.1` - Kafkaesque Helm Chart `1.0.24` - Probably has not bearing but `exposeTopicLevelMetricsInPrometheus` is set to `false` as we have a lot of topics ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
