-
-
Notifications
You must be signed in to change notification settings - Fork 213
Fix #760: Capture Apex cursor limits #892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #760: Capture Apex cursor limits #892
Conversation
…ic to Capture Apex cursor limits, updated permission sets, updated Test classes
jongpie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vikashkrml thanks so much for working on this! I did a quick preliminary review, and overall this looks really great. I'm hoping that later this week, I'll be able to do a more thorough review - I'll keep you updated on my progress!
|
@jongpie Thank you. |
…me of the new lines of code to be ordered by field name
…ws' in the name for clarity + to align with the Limits method names
…r limits used vs max
…erage to not be updated on the main branch
|
@vikashkrml I've pushed some additional commits to your branch. Overall your changes look awesome, I just made a few clean-up changes, including:
I'll do one more round of review/testing just to be safe, but my hope is to merge this tomorrow. If you have any questions/comments about the changes I made, let me know! |
|
@jongpie Thanks for reviewing and pushing the additional commits! Appreciate the extra round of testing before merge! 🚀 |
…CallsOnApexCursorUsed__c on LogEntryEvent__e and LogEntry__c to LimitsApexCursorFetchCallsMax__c and LimitsApexCursorFetchCallsUsed__c These field names deviate from the method naming convention used in the Limits class - but the method names getFetchCallsOnApexCursor() & getLimitFetchCallsOnApexCursor() are kind of.... bad. And also inconsistent with the other Limits method names getApexCursorRows() & getLimitApexCursorRows()
|
Thanks @vikashkrml for the feedback! I did another review today, and after looking at the field names some more, I decided to slightly rename the
With those changes, all of the new Apex cursor fields now have a consistent naming convention within Nebula Logger (even if it differs a bit from the method names in the
Here's a screenshot showing the end result via the 2
I think this is the last change I'll make 😅, I'm going to try to merge & release this later today! Thanks again for all of your help with this! |
|
Alright, this is now available in release |
|
Thanks @jongpie for the update and for explaining the renaming decision — that makes total sense 👍. I agree the new names are much clearer and having everything aligned within Nebula Logger definitely improves readability. Really glad to see this merged and released in v4.16.5 🎉. Thanks for walking me through the review process and for refining the changes along the way! I’d be happy to contribute more in the future as well. Thanks again! 🙌 |

Created new fields for Apex cursor limits, Added logic to Capture Apex cursor limits, updated permission sets, updated Test classes