-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- INP Data does not seem to be sent #13666 closed
- INP not showing on self-hosted self-hosted#2970 --> was with older versions
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/browser
SDK Version
8.30.0
Framework Version
Magento 2
Link to Sentry event
No response
Reproduction Example/SDK Setup
<script>
function heavyComputation() {
let total = 0;
for (let i = 0; i < 1e10; i++) {
total += i;
}
return total;
}
document.getElementById('testButton').addEventListener('click', () => {
window.alert(heavyComputation());
});
</script>
<script src="https://polyfill-fastly.io/v2/polyfill.min.js?features=Promise" crossorigin></script>
<script src="https://browser.sentry-cdn.com/8.30.0/bundle.tracing.min.js" crossorigin="anonymous"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: 'https://[email protected]/5',
release: '1726060779',
environment: 'local',
integrations: [
Sentry.browserTracingIntegration({
enableInp: true,
}),
],
tracesSampleRate: 1,
ignoreErrors: null,
});
}
</script>
In the self hosted instance I had to activate the feature flags "organizations:insights-entry-points", "organizations:insights-initial-modules" and "organizations:insights-addon-modules" to see the web vitals tab.
Other web vitals are showing.
Chrome Version 128.0.6613.84 (Official Build) (64-bit)
Am I triggering the INP wrong?
Is the initialization wrong?
Steps to Reproduce
- Click the test button
- Check sentry
Expected Result
INP data is visible; INP Attribution data is visible
Actual Result
Metadata
Metadata
Assignees
Labels
Projects
Status
No status