tianyk opened a new pull request #45:
URL: https://github.com/apache/skywalking-client-js/pull/45
Add `originAllowlist` option, only the request origin on this list will be
tracked.
```js
import ClientMonitor from 'skywalking-client-js';
ClientMonitor.setPerformance({
collector: 'http://127.0.0.1:8080',
service: 'browser-app',
serviceVersion: '1.0.0',
pagePath: location.href,
useFmp: true,
originAllowlist: ['http://example1.com', /\.example2\.com$/]
});
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]