Capture Apex cursor limits
Salesforce has introduced Apex cursors (currently in beta) as a new way to query large data sets. This new functionalty has some new transaction limits, available in the class System.Limits. From this page:
To get Apex cursor limits, use these new methods in the Limits class.
Limits.getApexCursorRows()and its upper boundLimits.getLimitApexCursorRows()methodLimits.getFetchCallsOnApexCursor()and its upper boundLimits.getLimitFetchCallsOnApexCursor()method
Nebula Logger should automatically capture & store these new limits in the same way it captures other limits. New fields will need to be created on LogEntryEvent__e and LogEntry__c to store the data.
I can work on this @jongpie
@twentyTwo that would be amazing! Feel free to submit a PR for this at your convenience, and let me know if you have any questions along the way
@jongpie I would like to work on this.
@vikashkrml sure, that sounds great!
@jongpie really sorry for this pending item. You can assign this to @vikashkrml
@twentyTwo no worries at all, and no need to apologize! It's open source work, there's no pressure to contribute! If/when you'd like to contribute to another item in the future, just let me know.
@vikashkrml I've reassigned this issue to you - whenever you have a PR ready, I can review it.
This is now available in release v4.16.5! Once the version has been installed, the Apex cursor transaction limits will be automatically tracked on LogEntryEvent__e and LogEntry__c.