browser-sdk
browser-sdk copied to clipboard
Datadog Browser SDK
There's currently no automatic/manual way to instruct the SDK to scrub potentially sensitive properties. ```javascript import { datadogLogs } from '@datadog/browser-logs' datadogLogs.logger.info('Button clicked', { name: 'buttonName', id: 123, password: 'myPlainTextPassword'...
The logs forwarded in case of `forwardErrorsToLogs: true` is as follows: - `console.error` logs - exceptions - network errors Currently, I use `beforeSend` to avoid forwarding the `console.error` logs as...
our app is a large single page application, and we've had bugs in the past that caused a lot of memory bloat in the browser, or where the browser UI...
spin off from https://github.com/DataDog/browser-sdk/issues/729#issuecomment-861464930, cc @philippeLepage What I am trying to do is to duplicate the traceId in another header before sending my request. 1. creating a request with axios...
## Motivation Fixes an issue where resource timing where not matched to a resource when the same resource is requested twice at the same time. e.g. ```js Promise.all([ fetch("http://localhost:8080/"), fetch("http://localhost:8080/")...
## Motivation Avoid to loose telemetry events happening before the start of the SDK. ## Changes Use a `BoundedBuffer` to store early events and drain it when the telemetry is...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [yarn](https://togithub.com/yarnpkg/berry) ([source](https://togithub.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli)) | [`3.8.2` -> `4.2.2`](https://renovatebot.com/diffs/npm/yarn/3.8.2/4.2.2) |...
## Motivation ## Changes ## Testing - [ ] Local - [ ] Staging - [ ] Unit - [ ] End to end --- I have gone over the...
## Motivation trackCumulativeLayoutShift keep track of the LCP target Element using a sliding window of layout shift events but this window is cleared [5 minutes](https://github.com/DataDog/browser-sdk/blob/b0d638c02da5b9316cb8c8cf4aa3b5e8297f683b/packages/rum-core/src/domain/view/trackViews.ts#L74) after the view ends. Within...
**Describe the bug** When using the browser agent with RUM enabled, the agent will attempt to resolve a unique selector for every click event. That process uses `getSelectorFromElement` to perform...