Apex Code Monitoring for Salesforce Cloud (Configure)
Feature
Here are details on how to configure Germain UX to monitor SFDC Apex Classes and Triggers and test coverage statistics.
Configure
Enable
This monitoring is enabled when you deploy Salesforce monitoring using the Salesforce Application wizard.
Disable
Follow these steps to disable ongoing Salesforce Instance Status monitoring:
Go to Germain Workspace.
Access the Left Menu.
Choose "Germain" and then switch to the "State" tab.
Search for Type Name = Salesforce Code Monitor.
Salesforce Code Monitor - Germain UX
Disable the selected component by switching the toggle in the "ENABLED" column to the (disabled state).
Frequency
By default, this monitoring is configured to run once per day. You have two options to update this component's execution frequency:
First Deployment
You can set the execution frequency value during the initial Salesforce Application monitoring deployment in the Salesforce Application wizard. Click "SHOW ADVANCED"
Set the "Code Monitoring Interval" value.
![Code Monitoring Interval settings](../__attachments/3685842945/image-20230330-102847.png?inst-v=05acefbf-62f3-491c-b70c-aa2db4e449b6)
Code Monitoring Interval settings- Germain UX
Runtime
Go to Germain Workspace.
Access the Left Menu.
Choose "Germain" and then switch to the "State" tab.
Search for Type Name = Salesforce Code Monitor.
Select a component.
Update the "Execution Schedule" value and click to save your change.
![Execution Schedule configuration for SFDC Instance Status component](../__attachments/3685842945/image-20230329-120617.png?inst-v=05acefbf-62f3-491c-b70c-aa2db4e449b6)
Execution Schedule configuration for SFDC Salesforce Code component - Germain UX
KPIs
Dashboard
Dashboards > IT > Application > Salesforce > Salesforce Code
Example
Apex Class and Trigger Monitoring
![Apex Class and Trigger Monitoring](../__attachments/3685842945/image-20230330-102410.png?inst-v=05acefbf-62f3-491c-b70c-aa2db4e449b6)
Apex Class and Trigger Monitoring
Apex Class Content on RCA
![Apex Class Content on RCA](../__attachments/3685842945/image-20230330-102518.png?inst-v=05acefbf-62f3-491c-b70c-aa2db4e449b6)
Apex Class Content on RCA
Component: Engine
Feature Availability: 2022.1 or later