Monitoring transactions for failures

Use end-to-end monitoring to trace transactions across your installation. Create transaction groups to logically associate related transactions, and configure alerts to notify when transactions violate defined conditions.

Before you begin

  • To create transaction groups and alert rules, you must have the end-to-end monitoring monitoring-viewer role. For more information, see Cloud Pak roles and permissions.
  • End-to-end monitoring provides predefined alert rules to simplify alert setup and ensure standardized monitoring. Review the following table, which describes the predefined rules for triggering alerts.
    Table 1. Predefined rules for triggering alerts
    Rule Description Group KPI Time range Operator Value Show app notification Send email
    Average response time is out of compliance The average response time for all transactions in the last 1 hour is greater than 1000 ms. All Transactions Average response time In the last 1 hour > 1000 (ms) True False
    Error count is out of compliance The error count for all transactions in the last 1 hour is more than 100. All Transactions Error count In the last 1 hour > 100 True False
    Error rate is out of compliance The error rate for all transactions in the last 1 hour exceeds 10%. All Transactions Error rate In the last 1 hour > 10% True False
  • To receive end-to-end monitoring alerts in your messaging application (Slack or Microsoft Teams), create an alert that sends webhook notifications. This configuration requires a webhook URL that is created for your messaging application. Make sure that this webhook URL is tested and available before you create the alert.

    You can create the webhook URL in two ways:

    • Create the workflow in Cloud Pak for Integration with the connector for your messaging application.
    • Create the webhook URL manually from your messaging application. For details, see the application documentation.

Procedure

  1. Create a transaction group.
    1. In End-to-end monitoring, from the Main menu, click Hybrid Control Plane > End-to-end monitoring.
    2. On the Dashboard page, click the Groups tab, then click Create group.
    3. Enter a name for the group.
    4. Specify the details that align with your monitoring requirements, then click Save.
  2. Create rules to trigger alerts.
    1. From the left navigation pane, go to the Alert page, click the Rule list tab, then click Create rule.
    2. Enter the information, select the group created earlier, then click Next.
    3. Specify the conditions under which alerts must be triggered.
    4. Select how you want to be notified (email, in-app notification, or webhook) then click Next.
      If you use a webhook, provide the webhook URL, required authentication credentials, and the expected payload format. Optionally, use a JSON schema to validate the alert payload.
    5. Review the rule settings, then click Save.

What to do next

Filter failed transactions from the Dashboard, open the business flow map, and analyze the cause of failure. You can also create a deep link and bookmark the URL for quick access. For more information, see Getting quick access to transactions with deep links.