Skip to content

Capture even more Apex cursor limits #935

@jongpie

Description

@jongpie

In release v4.16.5, capturing several limits related to Apex cursors was first introduced into Nebula Logger (see #760 too). Apex cursors will be generally available (GA) in the upcoming Spring '26 release, and the release notes mention several new Apex cursor limits being introduced into the System.Limits class.

Image

A few more fields should be introduced on LogEntryEvent__e and LogEntry__c:

  • Track the number of Apex cursors that are created and their upper bounds:
    • Limits.getApexCursors()
    • Limits.getLimitApexCursors()
  • Track the number of Apex pagination cursors that are created and their upper bounds:
    • Limits.getApexPaginationCursors()
    • Limits.getLimitApexPaginationCursors()
  • Track the number of rows returned by an Apex pagination cursor and their upper bounds:
    • Limits.getApexPaginationCursorRows()
    • Limits.getLimitApexPaginationCursorRows()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions