Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sentry_sdk 0.19.0 crash #848

Merged
merged 1 commit into from Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -75,6 +75,7 @@ ADD patches /patches
RUN apt-get update && \
apt-get install -y --no-install-suggests --no-install-recommends python3-dev gcc g++ patch && \
pip3 install --no-cache-dir -r /server/requirements.txt && \
pip3 uninstall -y flask && \
patch /usr/local/lib/python*/dist-packages/databases/backends/postgres.py /patches/databases.patch && \
patch /usr/local/lib/python*/dist-packages/prometheus_client/exposition.py /patches/prometheus_client.patch && \
patch /usr/local/lib/python*/dist-packages/aiomcache/client.py /patches/aiomcache_version.patch && \
Expand Down
1 change: 1 addition & 0 deletions server/athenian/api/__init__.py
Expand Up @@ -511,6 +511,7 @@ def filter_sentry_events(event: dict, hint) -> Optional[dict]:
integrations=[AioHttpIntegration(), SqlalchemyIntegration(),
LoggingIntegration(level=logging.INFO, event_level=logging.ERROR),
PureEvalIntegration(), ExecutingIntegration()],
auto_enabling_integrations=False,
send_default_pii=True,
debug=sentry_env != "production",
max_breadcrumbs=20,
Expand Down
2 changes: 1 addition & 1 deletion server/requirements.txt
Expand Up @@ -8,7 +8,7 @@ xxhash==2.0.0
# remember to change these versions in Dockerfile, too!
numpy==1.19.1
scipy==1.5.2
sentry-sdk[pure_eval]==0.19.0
sentry-sdk[pure_eval]==0.19.1
prometheus_client==0.8.0
alembic==1.4.3
pandas==1.1.3
Expand Down