Skip to content

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Dec 22, 2025

📜 Description

Register SentryMetricsEvents.Deserializer as known deserializer and implement SentryEnvelopeItem.getMetrics

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Member Author

adinauer commented Dec 22, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- [Trace Metrics 11] Metrics Envelope item deserialization ([#4990](https://github.com/getsentry/sentry-java/pull/4990))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against cc1c361

@adinauer adinauer changed the title Metrics Envelope item deserialization feat(metrics): [Trace Metrics 11] Metrics Envelope item deserialization Dec 22, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 299.70 ms 350.69 ms 50.99 ms
Size 1.58 MiB 2.13 MiB 560.27 KiB

@adinauer adinauer force-pushed the 12-19-metrics_gauge_api branch from 95094ac to c1dee70 Compare December 22, 2025 13:41
@adinauer adinauer force-pushed the 12-19-metrics_envelope_item_deserialization branch from 17ad9d6 to cc1c361 Compare December 22, 2025 13:41
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