dulvac commented on PR #3058: URL: https://github.com/apache/jackrabbit-oak/pull/3058#issuecomment-5178593945
Good catch, there are no metrics at all right now. A slow listener runs synchronously on the commit thread, so it directly costs commit latency, and there's currently no way to see that from outside. I'll wire a `StatisticsProvider` into the pipeline for a per-domain event counter and a per-listener timer around `onEvents` + a counter for events dropped at the per-session cap. This last one is a gap in the audit trail and today only shows up as a WARN. Both will go in the implementation PR with a monitoring section here. If you have other metric counters we should add, let me know -- 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]
