Skip to content

feat(apple): Integrate SentryObjC framework and add metrics support - #755

Merged
limbonaut merged 33 commits into
mainfrom
feat/sentryobjc-sdk-integration
Jun 23, 2026
Merged

feat(apple): Integrate SentryObjC framework and add metrics support#755
limbonaut merged 33 commits into
mainfrom
feat/sentryobjc-sdk-integration

Conversation

@limbonaut

@limbonaut limbonaut commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Integrate SentryObjC wrapper SDK replacing previous Sentry-Dynamic.xcframework Cocoa integration, and implement Metrics support on Apple platforms. Also promote Metrics to GA. And fix potential silent attribute data loss across all backends by looking up dictionary values with the original Variant key.

Blockers in the upstream

@limbonaut
limbonaut marked this pull request as ready for review June 17, 2026 13:49
Comment thread src/sentry/cocoa/cocoa_metric.mm
Comment thread src/sentry/sentry_options.cpp
Comment thread src/sentry/cocoa/cocoa_metric.mm Outdated
Comment thread src/sentry/cocoa/cocoa_metric.mm Outdated
Comment thread src/sentry/cocoa/cocoa_sdk.mm Outdated
Comment thread src/sentry/cocoa/cocoa_event.mm
Comment thread src/sentry/cocoa/cocoa_metric.mm Outdated
Comment thread src/sentry/cocoa/cocoa_metric.mm

@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 70cd06d. Configure here.

Comment thread src/sentry/cocoa/cocoa_sdk.mm Outdated
String key = keys[i];
set_attribute(key, p_attributes[key]);
const Variant &key = keys[i];
set_attribute(key.stringify(), p_attributes[key]);

@limbonaut limbonaut Jun 22, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

FYI: Fixed the same bug in JS implementation too (it was flagged by Seer).

@limbonaut limbonaut changed the title WIP: feat(apple): Integrate SentryObjC framework and add metrics support feat(apple): Integrate SentryObjC framework and add metrics support Jun 22, 2026
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against ab616ab

@limbonaut

Copy link
Copy Markdown
Collaborator Author

Comment thread src/sentry/cocoa/cocoa_sdk.mm
Comment thread src/sentry/cocoa/cocoa_sdk.mm
limbonaut added a commit to getsentry/sentry-docs that referenced this pull request Jun 22, 2026
Place the Metrics Options section directly after Logging Options, before the
Godot Logger Options, so the structured logs and metrics feature sections sit
together.

Refs getsentry/sentry-godot#755
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@limbonaut
limbonaut force-pushed the feat/sentryobjc-sdk-integration branch from a2cb752 to e2bbd11 Compare June 22, 2026 13:10

@bitsandfoxes bitsandfoxes 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.

Nice work!

@limbonaut
limbonaut force-pushed the feat/sentryobjc-sdk-integration branch from 1e9ef53 to ab616ab Compare June 23, 2026 10:02
@limbonaut
limbonaut merged commit 3ad0fa7 into main Jun 23, 2026
82 checks passed
@limbonaut
limbonaut deleted the feat/sentryobjc-sdk-integration branch June 23, 2026 10:36
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.

Support Metrics on Apple platforms

4 participants