Skip to content

Unify console instrumentation to a single integration #17702

@AbhiPrasad

Description

@AbhiPrasad

Description

Our console instrumentation is spread across different sdks and integrations, making for a confusing set up experience. We should try to unify this to be a single integration in the next major version of the SDK. This also allows us to look at enabling sending logs by default via console logs if enableLogs is set to true.

Our ideal end state is a single console integration that captures breadcrumbs by default, captures logs if enableLogs is set to true, and optionally captures errors if configured by users. This allows us to delete captureConsoleIntegration, and simplify breadcrumbsIntegration in browser (something we've wanted to do for a long time).

the instrumentConsole utility:

function instrumentConsole(): void {

Previous: #4532

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions