Skip to content

Complete Deno README import-hook prerequisites #24556

Description

@nicohrubec

Update the existing auto-instrumentation section in packages/deno/README.md:

  • Keep the supported --preload=npm:@sentry/deno/import approach.
  • Document nodeModulesDir: "auto" for local dependency resolution.
  • Add the permissions needed to run the example and send events.
  • Distinguish permissions needed by the hook from those providing source context and system information. The docs cover network access, --allow-env, --allow-read=., and --allow-sys=hostname,osRelease; system-information permission is not required for instrumentation itself.

Link to the guide for permission details and troubleshooting. The docs PR shows a first-import approach; retaining preload is supported by the SDK's own import-hook entry point.

Docs PR: getsentry/sentry-docs#19365

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

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions