Firebase is back at Google I/O on May 10! Register now

Disable Firebase Performance Monitoring

Stay organized with collections Save and categorize content based on your preferences.

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