PerformanceSettings interface
Stay organized with collections
Save and categorize content based on your preferences.
Defines configuration options for the Performance Monitoring SDK.
Signature:
export interface PerformanceSettings
Properties
Whether to collect custom events.
Signature:
dataCollectionEnabled?: boolean;
Whether to collect out of the box events.
Signature:
instrumentationEnabled?: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["# PerformanceSettings interface\n\nDefines configuration options for the Performance Monitoring SDK.\n\n**Signature:** \n\n export interface PerformanceSettings \n\nProperties\n----------\n\n| Property | Type | Description |\n|----------------------------------------------------------------------------------------------------------|---------|-------------------------------------------|\n| [dataCollectionEnabled](./performance.performancesettings.md#performancesettingsdatacollectionenabled) | boolean | Whether to collect custom events. |\n| [instrumentationEnabled](./performance.performancesettings.md#performancesettingsinstrumentationenabled) | boolean | Whether to collect out of the box events. |\n\nPerformanceSettings.dataCollectionEnabled\n-----------------------------------------\n\nWhether to collect custom events.\n\n**Signature:** \n\n dataCollectionEnabled?: boolean;\n\nPerformanceSettings.instrumentationEnabled\n------------------------------------------\n\nWhether to collect out of the box events.\n\n**Signature:** \n\n instrumentationEnabled?: boolean;"]]