Skip to content

ref(internal): add sentry_telemetry module - #1943

Merged
jpnurmi merged 1 commit into
masterfrom
jpnurmi/ref/sentry-telemetry
Aug 4, 2026
Merged

ref(internal): add sentry_telemetry module#1943
jpnurmi merged 1 commit into
masterfrom
jpnurmi/ref/sentry-telemetry

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Adds an internal sentry_telemetry module with a shared coordination API for starting up, flushing, and shutting down logs and metrics. Later on, the telemetry module will be used to manage a shared thread pool. Also, lifting up the "shutting down logs/metrics system" etc. debug logs to the shared module helps to reduce those repetitive logs.

#skip-changelog (internal)

@jpnurmi jpnurmi changed the title jpnurmi/ref/sentry telemetry ref(internal): add sentry_telemetry module Aug 3, 2026
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.97%. Comparing base (a2fc552) to head (cdc41e7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1943      +/-   ##
==========================================
+ Coverage   75.94%   75.97%   +0.02%     
==========================================
  Files          93       94       +1     
  Lines       22183    22161      -22     
  Branches     3951     3936      -15     
==========================================
- Hits        16847    16836      -11     
+ Misses       4451     4440      -11     
  Partials      885      885              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Base automatically changed from jpnurmi/ref/transport-crash-dump to master August 3, 2026 16:22
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/sentry-telemetry branch from 7dc8f85 to 0583e02 Compare August 3, 2026 16:28
@jpnurmi
jpnurmi marked this pull request as ready for review August 3, 2026 16:28

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0583e02. Configure here.

Comment thread src/sentry_core.c Outdated
Comment thread src/sentry_core.c Outdated
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/sentry-telemetry branch from ff2f6a7 to 8bfdf9d Compare August 4, 2026 08:09
@jpnurmi
jpnurmi requested a review from JoshuaMoelans August 4, 2026 08:44
Add an internal telemetry lifecycle layer for logs and metrics startup,
shutdown, force flush, and crash-safe flush.

Keep the existing logs and metrics behavior behind the shared coordination API.
@jpnurmi
jpnurmi force-pushed the jpnurmi/ref/sentry-telemetry branch from 8bfdf9d to cdc41e7 Compare August 4, 2026 12:36
@jpnurmi
jpnurmi merged commit 77c8c58 into master Aug 4, 2026
103 of 104 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/ref/sentry-telemetry branch August 4, 2026 13:51
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.

2 participants