Conversation
5ce970d to
d327971
Compare
alwx
commented
Nov 25, 2025
Contributor
|
@sentry review |
antonis
reviewed
Nov 25, 2025
antonis
reviewed
Nov 25, 2025
Collaborator
|
Sentry docs mention this for JavaScript EDIT: getsentry/sentry-docs#15632 Lets keep it as is |
Contributor
This looks like an oversight in the docs since we don't mention the experimental elsewhere https://docs.sentry.io/platforms/javascript/metrics/ 🤔 |
Collaborator
|
Thank you for the PR! |
6 tasks
Contributor
Author
|
Docs changes are here: getsentry/sentry-docs#15646 |
0a27b75 to
d040c6c
Compare
� Conflicts: � CHANGELOG.md
d040c6c to
06fa7fa
Compare
Contributor
Author
|
Added Metrics to all sample apps in the last commit. |
antonis
reviewed
Nov 27, 2025
Contributor
Android (legacy) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| e2fa43d | 451.68 ms | 462.42 ms | 10.74 ms |
| c1573b3 | 400.85 ms | 411.82 ms | 10.97 ms |
| 9bf5446+dirty | 442.47 ms | 452.14 ms | 9.67 ms |
| 5526494 | 440.84 ms | 448.36 ms | 7.52 ms |
| bc9680d | 375.15 ms | 401.12 ms | 25.97 ms |
| 64cd15c | 439.02 ms | 427.63 ms | -11.39 ms |
| a31630c+dirty | 408.91 ms | 416.80 ms | 7.89 ms |
| 7e9c42c+dirty | 513.69 ms | 517.50 ms | 3.81 ms |
| 69602ce | 417.47 ms | 443.52 ms | 26.05 ms |
| 534ba8c | 484.00 ms | 499.93 ms | 15.93 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| e2fa43d | 17.75 MiB | 20.15 MiB | 2.41 MiB |
| c1573b3 | 17.75 MiB | 20.15 MiB | 2.41 MiB |
| 9bf5446+dirty | 43.75 MiB | 48.04 MiB | 4.29 MiB |
| 5526494 | 17.75 MiB | 19.68 MiB | 1.93 MiB |
| bc9680d | 17.75 MiB | 20.15 MiB | 2.41 MiB |
| 64cd15c | 17.75 MiB | 20.15 MiB | 2.41 MiB |
| a31630c+dirty | 17.75 MiB | 19.68 MiB | 1.94 MiB |
| 7e9c42c+dirty | 43.75 MiB | 48.02 MiB | 4.27 MiB |
| 69602ce | 17.75 MiB | 19.68 MiB | 1.94 MiB |
| 534ba8c | 17.75 MiB | 20.15 MiB | 2.41 MiB |
Contributor
Android (new) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 9bf5446+dirty | 423.53 ms | 461.73 ms | 38.20 ms |
| 8490686+dirty | 344.38 ms | 364.37 ms | 19.98 ms |
| 1e7a472+dirty | 319.58 ms | 372.29 ms | 52.71 ms |
| 7e9c42c+dirty | 362.94 ms | 375.58 ms | 12.65 ms |
| c9e95bd+dirty | 339.32 ms | 401.24 ms | 61.92 ms |
| 3e0a5f9+dirty | 379.92 ms | 450.96 ms | 71.04 ms |
| 955f2eb+dirty | 388.13 ms | 433.56 ms | 45.44 ms |
| 1853710+dirty | 360.67 ms | 396.28 ms | 35.61 ms |
| 5526494+dirty | 380.79 ms | 432.70 ms | 51.91 ms |
| 128ee72+dirty | 362.16 ms | 380.63 ms | 18.47 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 9bf5446+dirty | 43.94 MiB | 48.87 MiB | 4.93 MiB |
| 8490686+dirty | 7.15 MiB | 8.43 MiB | 1.28 MiB |
| 1e7a472+dirty | 7.15 MiB | 8.43 MiB | 1.28 MiB |
| 7e9c42c+dirty | 43.94 MiB | 48.85 MiB | 4.91 MiB |
| c9e95bd+dirty | 7.15 MiB | 8.41 MiB | 1.26 MiB |
| 3e0a5f9+dirty | 7.15 MiB | 8.42 MiB | 1.27 MiB |
| 955f2eb+dirty | 7.15 MiB | 8.42 MiB | 1.27 MiB |
| 1853710+dirty | 7.15 MiB | 8.41 MiB | 1.26 MiB |
| 5526494+dirty | 7.15 MiB | 8.41 MiB | 1.26 MiB |
| 128ee72+dirty | 43.94 MiB | 48.82 MiB | 4.88 MiB |
Contributor
iOS (legacy) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2b89ce9+dirty | 1229.30 ms | 1239.40 ms | 10.10 ms |
| 1226664+dirty | 1220.59 ms | 1221.61 ms | 1.02 ms |
| 818a608+dirty | 1205.76 ms | 1208.00 ms | 2.24 ms |
| ee69ed5+dirty | 1206.79 ms | 1213.98 ms | 7.19 ms |
| 73f2455+dirty | 1213.49 ms | 1211.96 ms | -1.53 ms |
| 90afdd3+dirty | 1233.90 ms | 1240.90 ms | 7.00 ms |
| 1bea095+dirty | 1234.14 ms | 1233.96 ms | -0.18 ms |
| 652f785+dirty | 1219.66 ms | 1223.62 ms | 3.96 ms |
| 55b77fc+dirty | 1223.71 ms | 1224.12 ms | 0.41 ms |
| c771b48+dirty | 1224.02 ms | 1219.72 ms | -4.30 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2b89ce9+dirty | 2.63 MiB | 3.91 MiB | 1.28 MiB |
| 1226664+dirty | 2.63 MiB | 4.00 MiB | 1.37 MiB |
| 818a608+dirty | 2.63 MiB | 3.91 MiB | 1.28 MiB |
| ee69ed5+dirty | 3.41 MiB | 4.59 MiB | 1.18 MiB |
| 73f2455+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
| 90afdd3+dirty | 2.63 MiB | 3.99 MiB | 1.35 MiB |
| 1bea095+dirty | 2.63 MiB | 3.99 MiB | 1.35 MiB |
| 652f785+dirty | 3.41 MiB | 4.57 MiB | 1.16 MiB |
| 55b77fc+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
| c771b48+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
Contributor
iOS (new) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2b89ce9+dirty | 1241.19 ms | 1254.20 ms | 13.01 ms |
| 1226664+dirty | 1237.10 ms | 1245.27 ms | 8.16 ms |
| 818a608+dirty | 1218.84 ms | 1223.18 ms | 4.34 ms |
| ee69ed5+dirty | 1212.78 ms | 1214.91 ms | 2.13 ms |
| 73f2455+dirty | 1219.85 ms | 1218.29 ms | -1.56 ms |
| 90afdd3+dirty | 1216.17 ms | 1225.55 ms | 9.38 ms |
| 1bea095+dirty | 1218.93 ms | 1212.37 ms | -6.57 ms |
| 652f785+dirty | 1216.42 ms | 1212.21 ms | -4.21 ms |
| 55b77fc+dirty | 1213.08 ms | 1218.19 ms | 5.11 ms |
| c771b48+dirty | 1189.46 ms | 1191.15 ms | 1.69 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 2b89ce9+dirty | 3.19 MiB | 4.48 MiB | 1.29 MiB |
| 1226664+dirty | 3.19 MiB | 4.57 MiB | 1.38 MiB |
| 818a608+dirty | 3.19 MiB | 4.48 MiB | 1.29 MiB |
| ee69ed5+dirty | 3.41 MiB | 4.59 MiB | 1.18 MiB |
| 73f2455+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
| 90afdd3+dirty | 3.19 MiB | 4.55 MiB | 1.37 MiB |
| 1bea095+dirty | 3.19 MiB | 4.55 MiB | 1.37 MiB |
| 652f785+dirty | 3.41 MiB | 4.57 MiB | 1.16 MiB |
| 55b77fc+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
| c771b48+dirty | 3.41 MiB | 4.58 MiB | 1.17 MiB |
alwx
added a commit
to getsentry/sentry-docs
that referenced
this pull request
Nov 27, 2025
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This PR introduces the "Metrics" docs section for React Native docs. Comes in combination with this PR that introduces Metrics to RN: getsentry/sentry-react-native#5402 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
philipphofmann
pushed a commit
to getsentry/sentry-docs
that referenced
this pull request
Nov 28, 2025
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This PR introduces the "Metrics" docs section for React Native docs. Comes in combination with this PR that introduces Metrics to RN: getsentry/sentry-react-native#5402 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
philprime
pushed a commit
to getsentry/sentry-docs
that referenced
this pull request
Nov 28, 2025
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This PR introduces the "Metrics" docs section for React Native docs. Comes in combination with this PR that introduces Metrics to RN: getsentry/sentry-react-native#5402 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📢 Type of change
📜 Description
Fixes #5384
This PR does the following:
Sentry.metrics,enableMetricsflag andbeforeSendMetriccallback work;💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled🔮 Next steps