For the complete documentation index, see llms.txt. This page is also available as Markdown.

Disabling/Enabling APM

Turn App Performance Monitoring off or on in your Flutter app with one call after SDK initialization, and what happens to data already on the device.

You can disable APM by calling the following API right after initializing the SDK. This completely prevents the SDK from collecting any performance data or executing any APM related logic.

Dart
// Enable APM
APM.setEnabled(true);

// Disable APM
APM.setEnabled(false);

Please note that disabling APM will also clear any data that has already been collected and stored on your users' devices but hasn't been synced to our servers yet.

Last updated