Skip to content

Conversation

@kinyoklion
Copy link
Member

@kinyoklion kinyoklion commented Jan 31, 2025

When using browser-telemetry for just metrics it is probably best to disable all breadcrumbs and stack information. This PR makes it simple to do so.

initTelemetry({breadcrumbs: false, stack: false});

@github-actions
Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 19014 bytes
Size limit: 21000

@github-actions
Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15354 bytes
Size limit: 20000

@github-actions
Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19826 bytes
Size limit: 21000

@kinyoklion kinyoklion force-pushed the rlamb/emsr-24/easily-disable-breadcrumbs branch from 5a4313f to 1a3dc19 Compare January 31, 2025 00:08
@kinyoklion kinyoklion marked this pull request as ready for review January 31, 2025 00:16
@kinyoklion kinyoklion requested a review from a team as a code owner January 31, 2025 00:16
@kinyoklion kinyoklion merged commit 2c51838 into main Jan 31, 2025
22 checks passed
@kinyoklion kinyoklion deleted the rlamb/emsr-24/easily-disable-breadcrumbs branch January 31, 2025 17:08
@github-actions github-actions bot mentioned this pull request Jan 31, 2025
kinyoklion pushed a commit that referenced this pull request Jan 31, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>browser-telemetry: 0.3.0</summary>

##
[0.3.0](browser-telemetry-v0.2.0...browser-telemetry-v0.3.0)
(2025-01-31)


### Features

* Option to disable all breadcrumbs and stack.
([#770](#770))
([2c51838](2c51838))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants