Skip to content

Commit 75ecd10

Browse files
Update README.md
1 parent 54582e1 commit 75ecd10

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/react/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,15 @@ const traceoInstance = new TraceoClient({
4646

4747
```
4848

49+
### Performance
50+
To enable collect of web-vitals data, you have to set `performance` param to `true` like below:
51+
52+
```ts
53+
new TraceoClient(<app_api_key>, {
54+
host: <traceo_host>,
55+
performance: true
56+
});
57+
```
58+
4959
## Support
5060
Feel free to create Issues, Pull Request and Discussion.

0 commit comments

Comments
 (0)