The Firebase Performance Monitoring service interface.

Do not call this constructor directly. Instead, usefirebase.performance().

Index

Properties

app

app:App

Theapp associated with thePerformance serviceinstance.

example
var app = analytics.app;

dataCollectionEnabled

dataCollectionEnabled:boolean

Controls the logging of custom traces.

instrumentationEnabled

instrumentationEnabled:boolean

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

Methods

trace

  • trace(traceNamestring):Trace
  • Creates an uninitialized instance oftrace and returnsit.

    Parameters

    • traceName:string

      The name of the trace instance.

    ReturnsTrace

    The Trace instance.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-27 UTC.