Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions content/en/real_user_monitoring/operations_monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -99,6 +100,16 @@ DdRum.startFeatureOperation(
attributes?: Record<string, any>
)

```
{{% /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 >}}
Expand Down Expand Up @@ -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 >}}

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading