October 1, 2019

How to monitor Salesforce Platform Events daily or 24-hour or hourly period usage?

Execute the below code and download the log.

  1. for ( OrgLimit o : OrgLimits.getAll() ) {  
  2.       
  3.     system.debug( o.getName() + ' - ' + o.getValue() + ' - ' + o.getLimit() );  
  4.       

Check DailyStandardVolumePlatformEvents


Check HourlyPublishedStandardVolumePlatformEvents


Check MonthlyPlatformEvents


Use the below link to subscribe using Workbench.

https://www.infallibletechie.com/2019/09/how-to-subscribe-to-salesforce-platform.html

No comments:

Post a Comment