The Firebase Performance Monitoring service interface.

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

Index

Properties

app

app: App

The app associated with the Performance service instance.

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 ( traceName string ) : Trace
  • Creates an uninitialized instance of trace and returns it.

    Parameters

    • traceName: string

      The name of the trace instance.

    Returns Trace

    The Trace instance.