Back to Firebase Js Sdk

FirebasePerformance interface

docs-devsite/performance.firebaseperformance.md

12.12.11.7 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

FirebasePerformance interface

The Firebase Performance Monitoring service interface.

<b>Signature:</b>

typescript
export interface FirebasePerformance 

Properties

PropertyTypeDescription
appFirebaseAppThe FirebaseApp this <code>FirebasePerformance</code> instance is associated with.
dataCollectionEnabledbooleanControls the logging of custom traces.
instrumentationEnabledbooleanControls the logging of automatic traces and HTTP/S network monitoring.

FirebasePerformance.app

The FirebaseApp this FirebasePerformance instance is associated with.

<b>Signature:</b>

typescript
app: FirebaseApp;

FirebasePerformance.dataCollectionEnabled

Controls the logging of custom traces.

<b>Signature:</b>

typescript
dataCollectionEnabled: boolean;

FirebasePerformance.instrumentationEnabled

Controls the logging of automatic traces and HTTP/S network monitoring.

<b>Signature:</b>

typescript
instrumentationEnabled: boolean;