Skip to main content

Home

Databricks cost anomaly detection app

This app detects and notifies you about cost anomalies, which are abnormal rise or fall in the cost. These anomalies are showcased in trend graphs, from where you can view more insights into the cost anomaly, such as the cost breakdown based on user, workspace, or tag.

You can set the app to view the trends on a daily basis or on a weekly basis. You can also set the notification channels to receive alerts when a cost anomaly is detected.

Installing and opening Databricks cost anomaly detection app

Refer to Installing Databricks cost anomaly detection app.

Refer to Launching Databricks cost anomaly detection app.

After installing, you can open the Databricks cost anomaly detection app and add the following settings:

  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app and then click the Setting tab.

  3. In the Trend intervals section, select either the Daily or Weekly option. Accordingly, the trend graphs will display the data on a daily or weekly basis.

  4. Click Save. You can view the corresponding changed settings from the Analysis tab.

    daily.png
    weekly.png

    Daily and Weekly time series

  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app and then click the Setting tab.

  3. In the Notifications settings section, select the channels where you want to send alerts when a cost anomaly is detected. The notifications that were created earlier are available for selection.

  4. Click Save. Alerts are sent to the specified notification channels whenever a cost anomaly is detected. Following is a notification of the cost anomaly detection sent to a slack channel.

    notification-slack.png
  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app and then click the Setting tab.

  3. In the Microsoft Azure container configurations section, specify the following configurations:

    • Azure Subscription Type: Choose either Pay As You Go Account or Enterprise Agreement Account.

    • Azure Account: Specify the Azure Accounts that must be considered for cost anomaly detection.

    • Azure Container Blob Path: Specify the path to Azure Blob storage to fetch the latest CSV files for processing.

  4. Click Save.

Negative anomalies indicate points where the cost is abnormally low. By default, the option to suppress negative anomalies is selected. You can specify the tolerance level for suppressing the negative cost anomalies.

  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app, and then click the Setting tab.

  3. In the Anomaly settings section, do the following:

    • Check the Suppress negative anomalies option if it is not checked already.

    • Use the Tolerance slider to adjust the tolerance level to suppress negative anomalies. This can be a value between 0 to 1.

      0.95 is the recommended value.

  4. Click Save.

  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app, and then click the Job Cluster Analysis tab.

  3. From the Date Range calendars, select a period. Click on any two dates to select the range.

  4. From the Group by tag, select a tag to view the breakdown in the time series charts.

  5. Click Submit. The following cost and anomaly charts are shown along with the Anomaly insight.

    anomaly

    • Anomaly insight

      anomaly_insight.png
    • Tags

      Time series graphs with the cost incurred by the selected tag values and the anomaly detected for the selected tags

      time-series-tag-values.png
      anomaly-tag-values.png
    • User

      Time series graphs with the cost incurred by the users and the anomaly detected for the users

      time-series-tag-users.png
      anomaly-usrs.png
    • Workspaces

      Time series graphs with the cost incurred by the workspaces and the anomaly detected for the workspaces

      time-series-tag-workspaces.png
      anomaly-usrs.png
  1. On the Unravel UI, from the upper-right corner, click appstore-icon.png. The App Store page is displayed.

  2. Click the Dbx Cost Anomaly image to open the app, and then click the All-purpose Cluster tab.

  3. From the Date Range calendars, select a period. Click on any two dates to select the range.

  4. Click Submit. The following cost and anomaly charts are shown along with the Anomaly insight for interactive clusters.

    • Anomaly insight

      anomaly_insight.png
    • Interactive clusters total cost

      Time series graphs with the cost incurred by the interactive clusters and the anomaly detected for the interactive clusters

      time-series-total-cost-interactive-clusters.png
      time-series-total-anomaly-cost-interactive-clusters.png
  5. From the Select Interactive Cluster list, select an interactive cluster, and the charts plotting the cost and anomalies for the selected interactive cluster are displayed.

    • Interactive cluster-specific cost

      Time series graphs with the cost incurred for interactive clusters and the anomaly detected for the job clusters.

      time-series-clusters.png
      time-series-clusters-anomaly.png