RUM for Roku is not available on the US1-FED Datadog site.

RUM for Roku is in beta.

Overview

Error Tracking processes errors collected from the RUM Roku SDK.

Enable Roku Crash Reporting and Error Tracking to get comprehensive crash reports and error trends with Real User Monitoring. With this feature, you can access:

  • Aggregated Roku crash dashboards and attributes
  • Trend analysis with Roku error tracking

Your crash reports appear in Error Tracking.

Setup

If you have not set up the Roku SDK yet, follow the in-app setup instructions or see the Roku RUM setup documentation.

  1. Add the latest version of the RUM Roku SDK to your ROPM dependencies (or download the zip archive).
  2. Configure your application’s env when initializing the SDK.

For any given error, you can access the file path, line number, and a code snippet for each frame of the related stack trace.

Forward errors to Datadog

Whenever you perform an operation that might throw an exception, you can forward the error to Datadog by adding the following code snippet:

    try
        doSomethingThatMightThrowAnException()
    catch error
        m.global.datadogRumAgent.callfunc("addError", error)
    end try

Further Reading