Skip to content

@capgo/capacitor-firebase-performance

Capacitor plugin for Firebase Performance Monitoring.

Capacitor plugin for Firebase Performance Monitoring.

  • startTrace - Starts a trace.
  • stopTrace - Stops a trace.
  • incrementMetric - Atomically increments the metric with the given name for the selected trace by the incrementBy value.
  • setEnabled - Enables or disables performance monitoring. Will be applied with the next start of the app.
MethodDescription
startTraceStarts a trace.
stopTraceStops a trace.
incrementMetricAtomically increments the metric with the given name for the selected trace by the incrementBy value.
setEnabledEnables or disables performance monitoring. Will be applied with the next start of the app.
isEnabledDetermines whether performance monitoring is enabled or disabled.
putAttributeSets a custom attribute of a trace to a given value.
getAttributeReturns the value of a custom attribute of a trace.
getAttributesGets the all the custom attributes of a trace with their values.
removeAttributeRemoves a custom attribute from a trace given its name.
putMetricSets the value of a custom metric.
getMetricGet the value of a custom metric by name.
recordRecords a trace given its name and options.
getPluginVersionGet the version of this plugin.

This reference is synced from src/definitions.ts in capacitor-firebase.

Keep going from @capgo/capacitor-firebase-performance

Section titled “Keep going from @capgo/capacitor-firebase-performance”

If you are using @capgo/capacitor-firebase-performance to plan native plugin work, connect it with Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives, and Capgo Native Builds for the product workflow in Capgo Native Builds.