Skip to content

Commit

Permalink
initial commit (#25377)
Browse files Browse the repository at this point in the history
  • Loading branch information
cswatt authored Oct 4, 2024
1 parent 947563c commit 633624b
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,18 @@ Optional [proxy configuration][13].
**Default**: `true`<br/>
Determines whether the accessibility labels are used to name RUM actions (default is true).

`bundleLogsWithRum`
: Optional<br/>
**Type**: Boolean<br/>
**Default**: `true`<br/>
Enables RUM correlation with logs (default is true).

`bundleLogsWithTraces`
: Optional<br/>
**Type**: Boolean<br/>
**Default**: `true`<br/>
Enables trace correlation with logs (default is true).

## Manual instrumentation

If automatic instrumentation doesn't suit your needs, you can manually create RUM Events and Logs:
Expand Down Expand Up @@ -322,6 +334,14 @@ DdSdkReactNative.setAttributes({
});
```

## Clear all data

Use `clearAllData` to clear all data that has not been sent to Datadog.

```js
DdSdkReactNative.clearAllData();
```

## Modify or drop RUM events

To modify attributes of a RUM event before it is sent to Datadog, or to drop an event entirely, use the Event Mappers API when configuring the RUM React Native SDK:
Expand Down

0 comments on commit 633624b

Please sign in to comment.