Skip to content

ref(gnu-integration): update clickhouse stacktrace parsing #4598

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MeredithAnya
Copy link
Member

@MeredithAnya MeredithAnya commented Jul 19, 2025

This integration was added back in 2019 #288 but I think since then the stack trace from clickhouse driver has changed, anyway I tried to update it so that it parses the stack trace again (screenshots below)

However, I do see that we have a ClickhouseDriverIntegration now so I'm not sure if this functionality should be rolled up with it. I chose not to since the snuba codebase doesnt use that integration and it seemed reasonable to want the stack trace formatted without having the spans added

Screenshot 2025-07-18 at 5 50 19 PM
Screenshot 2025-07-18 at 5 46 08 PM

@MeredithAnya MeredithAnya requested a review from a team as a code owner July 19, 2025 00:59
Copy link

codecov bot commented Jul 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.66%. Comparing base (34dcba4) to head (3bd6685).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4598      +/-   ##
==========================================
- Coverage   80.70%   80.66%   -0.05%     
==========================================
  Files         156      156              
  Lines       16498    16496       -2     
  Branches     2806     2806              
==========================================
- Hits        13315    13306       -9     
- Misses       2295     2302       +7     
  Partials      888      888              
Files with missing lines Coverage Δ
sentry_sdk/integrations/gnu_backtrace.py 69.81% <100.00%> (-1.10%) ⬇️

... and 4 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant