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

58 lines
1.7 KiB
Markdown

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
| Property | Type | Description |
| --- | --- | --- |
| [app](./performance.firebaseperformance.md#firebaseperformanceapp) | [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) | The [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) this <code>FirebasePerformance</code> instance is associated with. |
| [dataCollectionEnabled](./performance.firebaseperformance.md#firebaseperformancedatacollectionenabled) | boolean | Controls the logging of custom traces. |
| [instrumentationEnabled](./performance.firebaseperformance.md#firebaseperformanceinstrumentationenabled) | boolean | Controls the logging of automatic traces and HTTP/S network monitoring. |
## FirebasePerformance.app
The [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) 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;
```