Admins / Developers

17 Free Ways to Monitor Your Salesforce Org

By Nicholas Fiorendi

Companies can spend millions on Salesforce and related services, such as sales and service enablement, optimizing processes, materials and technologies, and recruiting top talent – to only name a few! Companies are open to investing in Salesforce beyond the licenses because it positively impacts the productivity of the entire organization. This is why you need to monitor your Salesforce org.

By monitoring your Salesforce org, you’ll be able to identify issues, report them to Salesforce or your own team, and get quicker resolutions. From Apex classes failing, Case create errors troubling your Service Team, to Opportunities that can’t be ‘closed’ because of unmanaged exceptions, it’s vital to set up a proper Monitoring solution. Here are 17 ways I monitor the Salesforce orgs that I work on in order to anticipate implementation breakdowns bfore they actually happen.

1. Application Logging Framework

To promote good error handling practices, reuse and provide a framework for handling common coding patterns, the Salesforce Cloud Services team shared a wonderful tool called Application Logging Framework on GitHub, which can be used as framework baseline and extended with Events.

Custom Setting Exception_LoggingSetting to define which types of messages to store, how long to store them for, and character cap
Custom Setting Integration_LoggingSetting to define in integration logging in enabled, how long to store them for, and payload stored cap
Custom Object Platform_LogObject to hold custom logging records
Apex Class PlatformLoggingUtil class to control exceptions and integrations logging

This framework can be customized and extended to include Events functionalities. Here is an example:

2. Tooling API

Use Tooling API to build custom development tools or apps for Lightning Platform applications. Tooling API exposes metadata used in developer tooling that you can access through REST or SOAP. You can use this API to retrieve Apex Code Coverage, Apex Test Result, Entity Limits and other metadata related information. Tooling API Object List

3. REST API – Limits

Use REST API to list information about limits in your org:

  • Max is the limit total for the org.
  • Remaining is the total number of calls or events left for the org.

This resource is available in REST API version 29.0 and later for API users with the View Setup and Configuration permission.

4. Setup Audit Trail

With Setup Audit Trail you can proactively check any metadata change performed by Users in your org.

5. Health Check

How well does your org meet Salesforce’s security standards?

Health Check will help you identify gaps in your settings and improve your org security.

6. Salesforce Optimizer

Salesforce Optimizer analyzes your implementation to determine ways that you can simplify customizations and drive adoption of features. After analyzing your org, it provides you with an extensive report.

7. System Overview

System Overview provides a summary of key usage data for your org. It’s a one-page dashboard where you can also add system overview messages to your home page. These messages appear when your organization approaches its usage limits.

8. Apex Exception Emails

Set the email addresses that receive notifications when your Apex code encounters unhandled exceptions. Emails can be sent to your Salesforce org’s users and to external email addresses.

9. API Usage Notification

Define API Usage threshold and get notified when this is exceeded.

10. Paid Solutions

Salesforce Shield’s Event Monitoring is a great product to gain access to detailed performance, security, and usage data on all your Salesforce apps. Every interaction is tracked and accessible via APIs, so you can view it in the data visualization app of your choice. See who is accessing critical business data, understand user adoption, troubleshoot and optimize performance to improve end-user experience.

Additionally, on AppExchange there are also other great tools to monitor your org, like Appneta or Catchpoint.

11. Additional Logging Frameworks

In addition to Salesforce Cloud Services framework shared in previous article, there are 2 loggers ready to be deployed and used in productive environments:

  • Nebula Logger: This is a robust logger for Apex, Flow, and Integrations. It is specially designed for Salesforce admins, developers & architects by my former colleague Jongpie. You can install it as a Managed Package.
  • CB Logger: Salesforce logging tool powered by Platform Events and Big Objects. It can also be installed as Package

12. Limits Dashboard

We have seen how to use REST API with LWC to display governor limits in an App Page. If you don’t want to code, Salesforce Labs has created a set of dashboards to display the same information: Limits Dashboard. When limits reach a certain threshold, you can also configure a scheduler to get alerts.

13. Code Scanner

To perform a static analysis scan of all unpackaged code in your organization (Security and Quality rules), you can use this free tool from Salesforce (in partnership with Checkmarx). The results will be sent to the email address on the Admin tab requesting it in the portal.

Partners are encouraged to use the Partner Security Portal, which offers advanced functionality specifically for them. Scanner support is only available for the Partner Security Portal.

14. OrgDoctor

Salesforce Org Doctor is a free, automated tool that will scan your Org against a set of metrics and provide you with a detailed report explaining your progress in those areas. It runs on Heroku and sends the report on the email address of the requesting Salesforce user.

15. OrgCheck

Although invisible, technical debt impacts your project, IT budget, Salesforce app, your end-users and your business. To tackle this problem, Salesforce employee, Vincent Finet, has developed a Salesforce application in order to quickly analyze your org and its technical debt. This app is easy to install and use.

His vision of this tool is:

  • The tool should run on a Salesforce org and must be easy to install and use.
  • Require no additional software or platform.
  • No need to have a Salesforce employee with magical access.
  • The code of the application is available. If you need, you can modify it.

Note: for the time being, Vincent recommends installing it only on Sandboxes or Dev Orgs.

16. Happy Soup

Happy Soup is a 100% free and open source Salesforce Impact and Dependency Analysis tool. It pushes the boundaries of the MetadataComponentDependency API, helping you to create Deployment Boundaries and translate them into SFDX Scratch Orgs. It also breaks up your metadata and plans your move to SFDX Unlocked Packages.

17. Measuring your Experienced Page Time

As reported in this Salesforce Help article, you have different tools to measure performance in Experienced Page Time (EPT). You can measure EPT in 3 free ways:

  • Add an EPT counter to the header of your app
    • To add an EPT counter to the header of your app, use the Lightning Component Debug Mode, or append ?eptVisible=1 to your URL.
  • Use the Lightning Usage App to view page and browser performance
    • To measure EPT with the Lightning Usage App, select a tab in the Activity or Usage section on the left side of the page. You can view EPT by the browser used, or by page. Because the Lightning Usage App aggregates performance metrics, using the EPT counter can be better for measuring specific pages.
  • Build a custom report using Lightning Usage App objects
    • To measure EPT with custom reports in the Lightning Usage App, create a report type using a Lightning Usage App object. After you create the report type, build the report using Report Builder. Available Lightning Usage App objects are:
      • LightningUsageByAppTypeMetrics
      • LightningUsageByBrowserMetrics
      • LightningUsageByPageMetrics
      • LightningUsageByFlexiPageMetrics


It’s clear how important is to monitor your org, and how many possibilities are given by out-of-the-box Salesforce features or paid solutions, if your budget permits.

Many of these functionalities can be also displayed using Lightning Web Components to create a summary dashboard:

So, be proactive instead of reactive, and start implementing these controls as soon as possible!

The Author

Nicholas Fiorendi

Nicholas is a Salesforce Application Architect at LIDL, Barcelona (ES)

Leave a Reply

24th - 27th November


50% off

all courses