codelipenghui opened a new issue #9535: URL: https://github.com/apache/pulsar/issues/9535
**Is your enhancement request related to a problem? Please describe.** The acknowledgment state is persistent to the Ledger or Zookeeper(can't persistent to the Ledger). But currently, we don't have any metrics for the persistence of the acknowledgment state such as the total count of the success/failed persistent operations. **Describe the solution you'd like** Add metrics for the ManagedCursor: brk_ml_cursor_persistence_count(ml_name="", cursor_name="", persistent_type:"ledger/zookeeper") And we should provide a way to enable or disable the per cursor metrics since if enabled the cursor metrics, this will generate many metrics. exposeCursorMetricsInPrometheus=true (since the topic level metrics exposed by default, we can keep consistent with the topic level metrics) ---------------------------------------------------------------- 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]
