Files
firebase-js-sdk/docs-devsite/performance.firebaseperformance.md

1.7 KiB

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.

Signature:

export interface FirebasePerformance 

Properties

Property Type Description
app FirebaseApp The FirebaseApp this FirebasePerformance instance is associated with.
dataCollectionEnabled boolean Controls the logging of custom traces.
instrumentationEnabled boolean Controls the logging of automatic traces and HTTP/S network monitoring.

FirebasePerformance.app

The FirebaseApp this FirebasePerformance instance is associated with.

Signature:

app: FirebaseApp;

FirebasePerformance.dataCollectionEnabled

Controls the logging of custom traces.

Signature:

dataCollectionEnabled: boolean;

FirebasePerformance.instrumentationEnabled

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

Signature:

instrumentationEnabled: boolean;