Docs » Visualize and alert on your application in Splunk APM » Configure detectors and alerts in Splunk APM

Configure detectors and alerts in Splunk APM πŸ”—

You can use detectors to dynamically monitor request rate, error rate, and latency in the services you are tracing with Splunk APM. APM detectors use built-in algorithms to generate alerts about sudden spikes, historical anomalies, or a static threshold in your APM metrics or Business Workflows. See Use built-in alert metrics and conditions in Splunk APM for more information about alert conditions.

You can also use AutoDetect detectors that are available by default for service latency, error rate, and request rate. See Use and customize AutoDetect alerts and detectors for more information.

Create an APM detector πŸ”—

There are several entry points for creating APM detectors.

From the Splunk Observability Cloud create menu πŸ”—

  1. Select the plus icon to open the create menu (plus sign) on the navigation bar.

  2. Select APM Detector.

  3. See Steps to create a detector to complete your detector configuration.

Screenshot of the create menu in Splunk Observability Cloud.

From a dashboard πŸ”—

To create an APM detector from Splunk APM dashboards, select the bell icon within a specific chart in the dashboard and select New detector from chart. See Steps to create a detector to complete your detector configuration.

Screenshot of the create menu in Splunk Observability Cloud.

From Tag Spotlight in Splunk APM πŸ”—

To create an APM detector from Tag Spotlight in Splunk APM, select the 3-dot menu from the Tag Spotlight menu bar and select Create Detector. See Steps to create a detector to complete your detector configuration.

Screenshot of the create menu in Splunk Observability Cloud.

From the landing page in Splunk APM πŸ”—

To create an APM detector from the landing page in Splunk APM, select the 3-dot icon to open the More menu in the metric charts for services and Business Workflows under the APM Overview and select Create Detector. See Steps to create a detector to complete your detector configuration.

Screenshot of the create menu in Splunk Observability Cloud.

From the service map in Splunk APM πŸ”—

To create an APM detector from the service map in Splunk APM, select a service from the service map. Then, select the 3-dot icon in the panel for the service and select Create Detector. See Steps to create a detector to complete your detector configuration.

Screenshot of the create menu in Splunk Observability Cloud.

Steps to create a detector πŸ”—

Follow these steps to create a detector for Splunk APM:

  1. Name your detector.

  2. Select your metric. You can select request rate, error rate, or latency for a workflow, service, or endpoint.

  3. Set the condition for your alert: Static threshold, Sudden change, or Historic anomaly. See Use built-in alert metrics and conditions in Splunk APM for more information about alert conditions.

  4. Select the scope of your alert. You can select specific environments, workflows, services, and endpoints.

  5. Configure your alert details:
    1. See Static Threshold to review options for the static threshold condition.

    2. See Sudden Change to review options for the static threshold condition.

    3. See Historical Anomaly to review options for the static threshold condition.

  6. Select the alert severity. See Severity for more information about alert severity.

  7. (Optional) Share your alert with others by integrating with your team’s incident response tool and add a link to your runbook.

  8. Select Activate.