Back to Firebase Js Sdk

PerformanceSettings interface

docs-devsite/performance.performancesettings.md

12.12.11.2 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 %}

PerformanceSettings interface

Defines configuration options for the Performance Monitoring SDK.

<b>Signature:</b>

typescript
export interface PerformanceSettings 

Properties

PropertyTypeDescription
dataCollectionEnabledbooleanWhether to collect custom events.
instrumentationEnabledbooleanWhether to collect out of the box events.

PerformanceSettings.dataCollectionEnabled

Whether to collect custom events.

<b>Signature:</b>

typescript
dataCollectionEnabled?: boolean;

PerformanceSettings.instrumentationEnabled

Whether to collect out of the box events.

<b>Signature:</b>

typescript
instrumentationEnabled?: boolean;