Skip to content

Commit

Permalink
πŸ“ [RUMF-792] add RUM browser support (#682)
Browse files Browse the repository at this point in the history
* rework logs support

* add RUM browser support

* Update browser support mentions
  • Loading branch information
bcaudan authored Jan 19, 2021
1 parent a9a79ac commit 5415a6f
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 13 deletions.
24 changes: 12 additions & 12 deletions packages/logs/BROWSER_SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Browser Support

| Feature | Chrome | Firefox | Safari | Edge | Chrome Android | Safari iOS | Android Browser (4.4) | IE11 | IE10 | IE9 | IE8 | Opera |
| -------------- | ------ | ------- | ------ | ---- | -------------- | ---------- | --------------------- | ---- | ---- | --- | --- | ----- |
| loading | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| init | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| global context | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| logs request | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| flush on hide | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ— | βœ— | βœ— | βœ— | βœ“ |
| console error | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| network error | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| runtime error | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| custom logger | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| handler | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ— | βœ“ | βœ“ | βœ— | βœ— | βœ“ |
| Feature | Chrome | Firefox | Safari | Edge | Chrome Android | Safari iOS | IE11 | < IE11 | Opera |
| -------------- | ------ | ------- | ------ | ---- | -------------- | ---------- | ---- | ------ | ----- |
| loading | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| init | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| global context | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| logs request | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| flush on hide | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | ❌ | βœ… |
| console error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| network error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| runtime error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| custom logger | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| handler | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
2 changes: 1 addition & 1 deletion packages/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ With the browser logs SDK, you can send logs directly to Datadog from JS clients

**Datadog browser logs SDK**: Configure the SDK through [NPM](#npm) or use the [CDN async](#cdn-async) or [CDN sync](#cdn-sync) code snippets in the head tag.

**Supported browsers**: The browser logs SDK supports all modern desktop and mobile browsers including IE10 and IE11. See the [browser support][4] table.
**Supported browsers**: The browser logs SDK supports all modern desktop and mobile browsers including IE11. See the [browser support][4] table.

### Choose the right installation method

Expand Down
25 changes: 25 additions & 0 deletions packages/rum/BROWSER_SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Browser Support

| Feature | Chrome | Firefox | Safari | Edge | Chrome Android | Safari iOS | IE11 | < IE11 | Opera |
| ----------------- | ------ | ------- | ------ | ---- | -------------- | ---------- | ----- | ------ | ----- |
| loading | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| init | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| rum request | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| flush on hide | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | ❌ | ❌ | βœ… |
| console error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| network error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| runtime error | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| auto action | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| custom action | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| long task | βœ… | ❌ | ❌ | βœ… | βœ… | ❌ | ❌ | ❌ | βœ… |
| tracing | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| route change | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| loading time | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| resource timing | βœ… | βœ… | ⚠️(2) | βœ… | βœ… | ⚠️(2) | ⚠️(3) | ❌ | βœ… |
| navigation timing | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | βœ… | ❌ | βœ… |
| web vitals | βœ… | ⚠️(1) | ⚠️(1) | βœ… | βœ… | ⚠️(1) | ❌ | ❌ | βœ… |
| FCP | βœ… | ❌ | ❌ | βœ… | βœ… | ❌ | ❌ | ❌ | βœ… |

1. FID only
2. size information not available
3. firstByte and download only
3 changes: 3 additions & 0 deletions packages/rum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ To set up Datadog RUM browser monitoring:

**Note**: Your application shows up on the application list page as "pending" until Datadog starts receiving data.

**Supported browsers**: The RUM SDK supports all modern desktop and mobile browsers including IE11. See the [browser support][8] table.

### Choose the right installation method

| Installation method | Use case |
Expand Down Expand Up @@ -178,3 +180,4 @@ init(configuration: {
[5]: https://docs.datadoghq.com/account_management/api-app-keys/#client-tokens
[6]: https://docs.datadoghq.com/real_user_monitoring/data_collected/user_action/#automatic-collection-of-user-actions
[7]: https://docs.datadoghq.com/real_user_monitoring/faq/proxy_rum_data/
[8]: https://github.com/DataDog/browser-sdk/blob/master/packages/rum/BROWSER_SUPPORT.md

0 comments on commit 5415a6f

Please sign in to comment.