Please follow the steps below to apply a change to the function.
- Navigate to Configuration | Definitions in the Foglight Management Console
- Select the All Definitions item
- Search for system:dbwc_mssql_realtime_sql20activity_deadlocks.14
- Select the function named Process Deadlock Data
- Click the Edit button to edit the Process Deadlock Data function
- Add the following line below the line "import java.sql.Timestamp". The number is the count of the deadlocks. This can be modified to the value that you want.
- Click the Save button for the function.
* Please note that the FMS userid must have the "Cartridge Developer" role to make a change to the function.
