System Queue Monitor
Form ID: (SM302010)
You use this form to monitor statuses of the queues for push notifications, business event, and commerce push notifications.
Form Toolbar
The form toolbar includes standard buttons and form-specific buttons and commands. For the list of standard buttons, see Form Toolbar and More Menu. The form-specific commands can be shown as buttons on the form toolbar, as commands on the More menu, or in both places. These commands are listed in the following table in alphabetical order.
Element | Description |
---|---|
Show Errors | Opens the Errors dialog box where you can review the list of errors occurred during processing of the selected queue. |
Clear Queue | Clears the selected queue. |
Restart Dispatcher | Restarts services that are processing records in the selected queue. |
Notification Settings | Opens the Notification Settings dialog box, where you can turn on notifications about the growth of the system queue (which are sent when a threshold is reached) or review the notification settings. |
Errors Dialog Box
You use this dialog box to view the list of errors occurred during processing of the selected queue.
api:push-notifications:enable-dead-message-log
key is set to True
in the web.config file. You add the key to the
<appSettings>
section of the file as follows:
<add key="api:push-notifications:enable-dead-message-log" value="True" />
Button | Description |
---|---|
Delete All | Deletes all error records in the table. |
Show Source Data | Opens the Source Data dialog box, where you can view details of the notification whose processing raised an error. |
Column | Description |
---|---|
Destination ID | The internal identifier of a destination defined for the notification on the Push Notifications (SM302000) form. |
Notification Source | The identifier of a generic inquiry defined for the notification on the Push Notifications (SM302000) or Business Events (SM302050) form. |
Internal Source Event | The details of the notification whose processing raised an error. |
Error | The description of an error. |
Date | The date and time of an error occurrence. |
Notification Settings Dialog Box
You use this dialog box to review or specify the settings of the notifications about the growth of the system queue, which are sent when a threshold is reached. This dialog box opens when you click Notification Settings on the form toolbar.
Element | Description |
---|---|
Notification Threshold (% of Maximum Queue Size) |
The notification threshold, which is defined as the percent of the maximum queue size. If the number of messages in the queue exceeds this threshold and at least one check box is selected in the Send section, the system sends a notification by using the notification template specified in the respective Template box. The default threshold is 50%. |
Element | Description |
---|---|
By Email |
A check box that indicates (if selected) that the system sends notifications about system queue growth by email. You can select a template for the email notifications in the Template box that is right of this check box. By default, the check box is cleared. |
Template | The template to be used for the email notification. This type of template can
be created and edited on the Email Templates (SM204003) form. By default, the predefined System queue exceeded size threshold notification template is used. |
By Mobile SMS |
A check box that indicates (if selected) that the system sends mobile SMS notifications about system queue growth. You can select a template for the mobile SMS notifications in the Template box that is right of this check box. By default, the check box is cleared. |
Template | The template to be used for the mobile SMS notification. This type of template
can be created and edited on the Mobile Notifications (SM204004)
form. By default, the predefined System queue exceeded size threshold notification template is used. |
By Mobile Push |
A check box that indicates (if selected) that the system sends mobile push notifications about system queue growth. You can select a template for the mobile push notifications in the Template box that is right of this check box. By default, the check box is cleared. |
Template | The template to be used for the mobile push notification. This type of template
can be created and edited on the Mobile Notifications (SM204004)
form. By default, the predefined System queue exceeded size threshold notification template is used. |
Button | Description |
---|---|
OK | Saves the notifications settings and closes the dialog box. |
Cancel | Closes the dialog box without saving the notification settings. |
Summary Area
In this area, you can select a queue type to clear queues and restart dispatchers for the selected queue type.
Element | Description |
---|---|
Queue Type | There are three types available: Push Notifications, Business Events, Commerce. |
Status | A read-only box that displays the processing status of a queue which can be either OK or Invalid. The system displays a warning with an error details, in case of the Invalid status. |
Messages | A read-only box that displays the current number of records in the queue. |
Queue Size, KB | Current and maximum queue size. By default, the maximum size is of a queue is limited by 100 MB, which is the recommended size of the queue. If the current queue size reaches 80% of the limit, the system displays a warning that limit will be exceeded soon. You can use this parameter to monitor the queue growing size. |
Queue Name | A read-only box that displays the name of the queue that was generated by the queue service for the website during the site installation. |
Statistics Tab
You use this tab to view statistics of a queue type selected in the Summary area. You can specify for how long the system should keep statistics and longs for a queue type and whether it should log trigger details. There two tabs where statistics is grouped by hours and by minute, that include the same list of parameters that is described in the table below.
Element | Description |
---|---|
Keep Statistics and Logs for (Days) | The number of days the system should keep statistics and long processing logs in database. The records that are older than the specified period will be removed automatically. If you do not need to keep the statistics at all, specify 0 value in the box. |
Log Trigger Details | A check box that indicates (if selected), that the system will save detailed statistics for the selected queue type. You can view the details by clicking a link in the Date column of the table on the Grouped by Hour or Grouped by Minute tabs. |
Column | Description |
---|---|
Date | Time interval rounded by an hour or by minute, listed in descending order. You can click the link in the column to open the Trigger Details dialog box. If the Log Trigger Detailsis selected for the queue type, the dialog box will display the detailed statistics, otherwise the dialog box will display no details. |
Queued | The number of messages came to the queue within the selected period of time. |
Processed | The number of messages processed by the dispatcher within the selected period of time |
Max. Queue Size (KB) | Maximum size of a queue for the selected period of time. |
Avg Processing Time (ms) | Average processing time within the selected period of time. |
Max Processing Time (ms) | Maximum processing time within the selected period of time. |
Trigger Details Dialog Box
You use this dialog box to review detailed statistics about the source of incoming messages in the queue within the period of time selected in the Date column on the Grouped by Hour or Grouped by Minute tab. You can change the time period using the From and To boxes.
Element | Description |
---|---|
From | The start time of the time period rounded to hour. |
To | The end time of the time period rounded to hour. |
Column | Description |
---|---|
Handler Definition | A definition of a handler that triggered the messages (generic inquiry or business event). |
Field | The field name that triggered the messages within the selected period of time. |
Messages | The number of messages triggered within the selected period of time |
Column | Description |
---|---|
Screen | An identifier of a screen which was the source of transaction. |
DAC | The name of a DAC which was the source of transaction. |
Messages | The number of messages triggered within the selected period of time |
Performance Issues Tab
You use this tab to configure saving of processing details for queues whose processing time exceeds the specified threshold.
Element | Description |
---|---|
Number of Records in Detailed Log | The number of log events to be logged during processing of a transaction. The log is to be displayed in the Queue Processing Log dialog box that you open by clicking a link in the Date column from the table below. |
Processing Time Threshold (s) | The processing time threshold in seconds, set to 2 second by default. If processing time of a record exceeds this value the system saves the processing details. |
Button | Description |
---|---|
Clear Logs | Removes the saved logs for the selected queue. |
Element | Description |
---|---|
Date | Time interval rounded by an hour, listed in descending order. |
Processing Time | The processing time of the queue within the selected period of time. |
Queries | Queries involved in the processing. |