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(logs): Upgrade sentry log integration to fix dogfooding issues #88561

Merged
merged 3 commits into from
Apr 2, 2025

Conversation

colin-sentry
Copy link
Member

  • Some things you tried to log would fail because they weren't JSON-able
  • There is now batching logic to reduce CPU load
  • Various things have been renamed (like before_emit_log -> before_send_log)

@colin-sentry colin-sentry requested review from a team as code owners April 2, 2025 15:22
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 2, 2025
@k-fish
Copy link
Member

k-fish commented Apr 2, 2025

@colin-sentry I think we may need to do ignore_logger here since Gabe hasn't landed his PR, and I think they mentioned getting circular dep when the log rate was > 0.

Ignore me, talked with Colin offline, the logging integration using an option wasn't the root cause, should be fine when they land logging with the ignore_logger

@colin-sentry colin-sentry enabled auto-merge (squash) April 2, 2025 15:35
@colin-sentry colin-sentry merged commit 2af6ff7 into master Apr 2, 2025
50 checks passed
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #88561      +/-   ##
==========================================
+ Coverage   87.74%   87.81%   +0.06%     
==========================================
  Files       10014    10019       +5     
  Lines      567451   567753     +302     
  Branches    22296    22296              
==========================================
+ Hits       497934   498591     +657     
+ Misses      69100    68745     -355     
  Partials      417      417              

@colin-sentry colin-sentry deleted the update_sentry_logs branch April 2, 2025 16:01
jan-auer added a commit that referenced this pull request Apr 2, 2025
* master: (96 commits)
  fix(autofix): fix highlight popup behavior (#88552)
  🔧 chore: introduce workflow engine ui links ff (#88569)
  feat(pipeline): Add CoveragePageWrapper component and tests for it (#88519)
  feat(taskworker):Make sdk tasks taskworker compatible (#88488)
  chore(flamegraph): Updating wording to trace (#88516)
  feat(shared-views): Create `GET` `group-search-view/starred` endpoint (#88398)
  DI-612: print flaky pytest errors to log (v2) (#88512)
  chore(nav): Update banner copy (#88566)
  feat(sentryapps): add RPC method to get all installation component contents (#88179)
  chore(issue summary): Add limit to query (#88563)
  fix(dashboards): Add limit suggestion to validation (#88436)
  feat(checkout): show starting PAYG prices (#88510)
  ✨ feat(aci): add workflow_id when creating an ephemeral rule in noa (#88520)
  fix(billing): hide pay now button for self serve partners (#88504)
  chore(HC): Re-adds logging with a low sample rate for cache hits/misses on options (#88464)
  fix(logs): Upgrade sentry log integration to fix dogfooding issues (#88561)
  chore(issue summary): Remove dividers from AI summary alert (#88554)
  feat(insights): Enable bubbles in full-screen mode (#88445)
  fix(explore): Update search bar query on filter change (#88473)
  chore(dependencies): Upgrade drf-spectacular (#88459)
  ...
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
…88561)

- Some things you tried to log would fail because they weren't JSON-able
- There is now batching logic to reduce CPU load
- Various things have been renamed (like before_emit_log ->
before_send_log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants