Skip to content

Unify console instrumentation to a single integration #17702

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:

functioninstrumentConsole(): void{

Previous: #4532

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions