Track service performance using dashboards in Splunk APM

Learn how to use built-in dashboards in Splunk APM to help you see problems occurring in real time.

Splunk APM provides a set of built-in dashboards that present charts and visualized metrics to help you see problems occurring in real time and quickly determine whether the problem is associated with a service, a specific endpoint, or the underlying infrastructure. To learn about dashboards in Splunk Observability Cloud, see Dashboards in Splunk Observability Cloud.

The following image shows an example service dashboard for paymentservice.

This image shows an example APM service dashboard.

APM dashboards present request, error, and duration (RED) metrics based on Monitoring MetricSets created from endpoint spans for your services, endpoints, and Business Workflows. They also present related host and Kubernetes metrics to help you determine whether problems are related to the underlying infrastructure, as in the following image.

This image shows Kubernetes metrics in an APM service dashboard.

To view host and Kubernetes metrics in your dashboards, you need to have a Splunk Distribution of OpenTelemetry Collector instance installed on your hosts and clusters. See Deploy the Splunk Distribution of the OpenTelemetry Collector on your hosts to learn how.

Note: See Scenario: Deepu monitors service performance using a built-in dashboard for a scenario involving built-in dashboards in Splunk APM.

You can customize built-in dashboards to present the information you’re most interested in, or build your own from scratch. To learn more, see Customize APM dashboards.

You can also create detectors directly from dashboards to receive alerts on the problems that matter most to you. See Create a detector from a dashboard to learn how.

You can access dashboards in APM in several places, described in the following table:

Location

Instructions

From the main menu

  1. Select Dashboards in the main menu

  2. Select APM Services to view service and service endpoint dashboards, or select APM Business Workflows to view workflow dashboards.

  3. Use the filters in the filter bar at the top of each dashboard to select the service or workflow of interest, as well as to set the environment, time range, and other optional filters for your view.

From the APM landing page

  1. Scroll to a specific service or Business Workflow in the Services or Business Workflows table.

  2. Select the more menu (⋯) in the rightmost column and select View Dashboard from the menu.

From the service map

  1. Select on a service in the service map to open its sidebar.

  2. Select View Dashboard to view a dashboard that preserves the filters you were using in the service map.

Use dashboards to troubleshoot issues in APM

You can navigate from within a dashboard directly to the relevant troubleshooting view with all the relevant data populated. In a dashboard, select the more menu (⋯) within a chart and select Troubleshoot from the Time Window to open the troubleshooting view (which includes the service map). The dashboard’s filters are preserved so that you can continue troubleshooting issues in context.

See Scenario: Kai investigates the root cause of an error with the Splunk APM service map for a sample scenario of the troubleshooting view in Splunk APM.

Note: Dashboards are powered by Monitoring MetricSets, which are based on service endpoints. For this reason, dashboards only display data when the selected service has at least one instrumented endpoint.

Customize APM dashboards

You can customize your dashboard by setting filters, chart type, and chart resolution on a pre-built dashboard.

Edit a specific chart by selecting its more menu (⋯) and selecting Open. This opens a detailed chart editor you can use to adjust chart type, axis labels, formulas, and more. Once you edit a chart or dashboard, select the more menu (⋯) and select Save As from the dropdown to save your customizations for future reference.

You can also create a new dashboard from scratch. See Create a dashboard to learn more. See Create and manage dashboard groups to learn how you can share your custom dashboards in groups.

Use SignalFlow to create charts

The dashboard editor provides a lot of customization options for your charts, but if you need even more flexibility, you can use SignalFlow to run calculations and create charts from your data. See the Analyze Data Using SignalFlow topic in the Splunk Observability Cloud Developer Guide to learn more.

Note: See Best practices for creating dashboards in Splunk Observability Cloud for more tips on building informative dashboards.

Create a detector from a dashboard

Prerequisite

To create a detector from a dashboard, you must have the admin or power user role.

To create a detector from a dashboard, select the bell icon within a specific chart in the dashboard and select New Detector From Chart.

If you don’t have write permissions on the dashboard you’re viewing, a Detector Linking pop-up informs you the detector is not linked directly to the dashboard. You can select Ok to proceed, or save a copy of the dashboard to gain write permissions so that you can create a linked detector based on your new dashboard. To learn more about linking detectors, see Link detectors to charts.

In the New APM Detector window, enter a name for your detector and follow the steps in the guided setup to configure your detector, or see Configure detectors and alerts in Splunk APM for more information.