Complete Deno README import-hook prerequisites

Open Beginner friendly
#24,556 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
deno
Domain
documentation

Research direction

Start in packages/deno/README.md at the existing auto-instrumentation section, then review the referenced permission guide and troubleshooting details. Update the section to retain the preload approach, document nodeModulesDir: "auto", and separate hook permissions from source-context and system-information permissions. Done means the example's required permissions and relevant guide links are complete and accurate.

Written by the indexing model from the issue text.

Description

Task

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

Dominant language
TypeScript
Stars
8.7k
Forks
1.9k
Avg merge
1d 18h
Merged PRs (30d)
543

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-javascript

All issues in getsentry/sentry-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.