Skip to content

Conversation

@markushi
Copy link
Member

@markushi markushi commented Feb 12, 2024

When working on the Java/Android SDK side for spotlight integration getsentry/sentry-java#3166 I stumbled upon two issues which caused spotlight to crash:

  • sentry-java sends over "Message" events, which contain a top level message object, that clashes with the message: string of error events
  • transactions may contain no spans at all

JS is not my proficiency, happy for any PR feedback!

image

Before opening this PR:

  • I added a Changeset Entry with pnpm changeset:add
  • I referenced issues that this PR addresses

@vercel
Copy link

vercel bot commented Feb 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 9:10am

@romtsn romtsn requested a review from HazAT February 12, 2024 15:50
Copy link
Collaborator

@Shubhdeep12 Shubhdeep12 left a comment

Choose a reason for hiding this comment

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

Hi @markushi added some suggestions, let make type attribute separate for both types of event - Error event and transaction.

Copy link
Collaborator

@Shubhdeep12 Shubhdeep12 left a comment

Choose a reason for hiding this comment

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

LGTM 🔎

@markushi markushi merged commit 2d37041 into main Feb 20, 2024
@markushi markushi deleted the feat/sentry-java-support branch February 20, 2024 07:58
dcramer pushed a commit that referenced this pull request Jun 3, 2025
* Improve support for sentry-java

* Add changeset

* Address PR feedback

* Add java txn fixture envelope

* Move message to CommonEventAttrs
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.

3 participants