Skip to content

chore(sentry): attach stacktrace to logging events #7598

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

Merged
merged 8 commits into from
May 5, 2025

Conversation

andoniaf
Copy link
Contributor

Description

Use attach_stacktrace setting to add stacktrace to all events sent to Sentry. This will add info to our events without changing any code or the logs output.

Also fixed some minor errors in the docs.

Checklist

API

  • Verify if API specs need to be regenerated.
  • Check if version updates are required (e.g., specs, Poetry, etc.).
  • Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

@andoniaf andoniaf requested a review from a team as a code owner April 24, 2025 08:59
Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.94%. Comparing base (c938a25) to head (862a2d0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7598       +/-   ##
===========================================
+ Coverage   79.14%   91.94%   +12.79%     
===========================================
  Files         151       85       -66     
  Lines        7029     7508      +479     
===========================================
+ Hits         5563     6903     +1340     
+ Misses       1466      605      -861     
Flag Coverage Δ
api 91.94% <ø> (?)
prowler ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
prowler ∅ <ø> (∅)
api 91.94% <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Apr 24, 2025
Copy link
Contributor

github-actions bot commented May 5, 2025

You can check the documentation for this PR here -> Prowler Documentation

Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@andoniaf andoniaf merged commit 9828824 into master May 5, 2025
16 checks passed
@andoniaf andoniaf deleted the PRWLR-6643-capture-sentry-exceptions-b branch May 5, 2025 08:38
jfagoagas pushed a commit that referenced this pull request May 8, 2025
Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
andoniaf added a commit that referenced this pull request May 9, 2025
Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
andoniaf added a commit that referenced this pull request May 9, 2025
Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/api documentation github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants