Skip to content

Koa instrument docs are incorrect #12803

Open
@timfish

Description

@timfish

Problem Statement

The Koa docs are wrong here at the top of this screenshot. This is a direct conversion from the CommonJS code but import "./instrument" will not give you instrumentation:

Image

Solution Brainstorm

At the bottom of the above screenshot, the Running with ESM section is correct that you'll need to import the Sentry Initialization file before importing any other modules

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions