From f90ef0c5c1dac6c7b45dc5edb33b06e9b166569b Mon Sep 17 00:00:00 2001 From: luyi Date: Mon, 16 Mar 2026 15:21:55 +0100 Subject: [PATCH] Update Roku documentation for RUM operations page --- .../operations_monitoring.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/content/en/real_user_monitoring/operations_monitoring.md b/content/en/real_user_monitoring/operations_monitoring.md index abd4e857f67..fa3d63d9c01 100644 --- a/content/en/real_user_monitoring/operations_monitoring.md +++ b/content/en/real_user_monitoring/operations_monitoring.md @@ -40,6 +40,7 @@ The following table shows additional example features and their associated featu - [iOS (3.1.0)][3] - [Kotlin Multiplatform (1.4.0)][4] - [React Native (3.0.0)][5] + - [Roku (1.4.0)][6] ## Setup @@ -99,6 +100,16 @@ DdRum.startFeatureOperation( attributes?: Record ) +``` +{{% /tab %}} + +{{% tab "Roku" %}} +```brightscript +m.global.datadogRumAgent@.startOperation( + name as string, + operationKey = invalid as dynamic, ' optional: string or invalid for unkeyed operations + context = {} as object ' optional: AssocArray of custom attributes +) ``` {{% /tab %}} {{< /tabs >}} @@ -163,6 +174,16 @@ DdRum.succeedFeatureOperation( ) ``` +{{% /tab %}} + +{{% tab "Roku" %}} +```brightscript +m.global.datadogRumAgent@.succeedOperation( + name as string, + operationKey = invalid as dynamic, ' optional: string or invalid for unkeyed operations + context = {} as object ' optional: AssocArray of custom attributes +) +``` {{% /tab %}} {{< /tabs >}} @@ -218,6 +239,17 @@ RUMMonitor.shared().failFeatureOperation( ``` {{% /tab %}} +{{% tab "Roku" %}} +```brightscript +m.global.datadogRumAgent@.failOperation( + name as string, + failureReason as string, ' "error", "abandoned", or "other" + operationKey = invalid as dynamic, ' optional: string or invalid for unkeyed operations + context = {} as object ' optional: AssocArray of custom attributes +) +``` +{{% /tab %}} + {{% tab "React Native" %}} ```javascript @@ -283,3 +315,5 @@ Similarly to metrics, those events come with specific attributes you can use in [3]: https://github.com/DataDog/dd-sdk-ios/releases/tag/3.1.0 [4]: https://github.com/DataDog/dd-sdk-kotlin-multiplatform/releases/tag/1.4.0 [5]: https://github.com/DataDog/dd-sdk-reactnative/releases/tag/3.0.0 + +[6]: https://github.com/DataDog/dd-sdk-roku/releases/tag/1.4.0 \ No newline at end of file