getsentry / getsentry/sentry

pip install "sentry-sdk"

Open
#115,548 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Docs Product Area: Other python Waiting for: Product Owner
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

import sentry_sdk

sentry_sdk.init(
dsn="https://5ebd59d6eb7e33caab7d6901bc41b3b7@o4511388030205952.ingest.us.sentry.io/4511388040626176",
# Add data like request headers and IP for users,
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
send_default_pii=True,
)

Expected Result

Install

Install our Python SDK:

pip install "sentry-sdk"

Configure SDK

Import and initialize the Sentry SDK early in your application's setup:


import sentry_sdk

sentry_sdk.init(
    dsn="https://5ebd59d6eb7e33caab7d6901bc41b3b7@o4511388030205952.ingest.us.sentry.io/4511388040626176",
    # Add data like request headers and IP for users,
    # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
    send_default_pii=True,
)

Verify

You can verify your setup by intentionally causing an error that breaks your application:

division_by_zero = 1 / 0
Actual Result

ABH43V9RN___Security___Compliance_Information (1).csv

Product Area

Projects - Project Creation

Link

pip install "sentry-sdk"

DSN

No response

Version

No response

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.

Research direction

The report names only the pip install "sentry-sdk" command and a sentry_sdk.init(...) snippet; start by reproducing that installation and comparing the attached CSV with the reported behavior. It does not identify a failing file, test, or expected code change, so completion cannot be defined until the actual failure and affected project area are clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.