Join us for Firebase Summit on November 10, 2021. Tune in to learn how Firebase can help you accelerate app development, release with confidence, and scale with ease. Register

Disable Firebase Performance Monitoring

You can control the logging of performance data either before initialization of the SDK or after its initialization.

  • Before initialization — You can make the initialization of the SDK conditional.

  • After initialization — You can use the following boolean flags to control whether your app sends performance data:

    • performance.instrumentationEnabled — controls logging for all automatic (out-of-the-box) monitoring

    • performance.dataCollectionEnabled — controls logging for custom code traces