Improve telemetry

This commit is contained in:
Peter Maquiran
2024-08-05 11:12:51 +01:00
parent bf6c4dbbd8
commit 035cb9a6c0
13 changed files with 627 additions and 30 deletions
+9 -1
View File
@@ -125,7 +125,15 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
// new BrowserTracing({
// tracingOrigins: ['localhost', 'https://gd-api.oapr.gov.ao/api/'],
// }) as Integration,
]
],
beforeSend(event, hint) {
// Modify the event here
// console.log('Intercepted Sentry event:', event);
// Optionally, return null to drop the event or return the modified event
return event;
}
},
// Forward the init method to the sibling Framework.
SentrySibling.init