@capgo/capacitor-firebase-performance
Capacitor plugin for Firebase Performance Monitoring.
Overview
Section titled “Overview”Capacitor plugin for Firebase Performance Monitoring.
Core Capabilities
Section titled “Core Capabilities”startTrace- Starts a trace.stopTrace- Stops a trace.incrementMetric- Atomically increments the metric with the given name for the selected trace by theincrementByvalue.setEnabled- Enables or disables performance monitoring. Will be applied with the next start of the app.
Public API
Section titled “Public API”| Method | Description |
|---|---|
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. |
isEnabled | Determines whether performance monitoring is enabled or disabled. |
putAttribute | Sets a custom attribute of a trace to a given value. |
getAttribute | Returns the value of a custom attribute of a trace. |
getAttributes | Gets the all the custom attributes of a trace with their values. |
removeAttribute | Removes a custom attribute from a trace given its name. |
putMetric | Sets the value of a custom metric. |
getMetric | Get the value of a custom metric by name. |
record | Records a trace given its name and options. |
getPluginVersion | Get the version of this plugin. |
Source Of Truth
Section titled “Source Of Truth”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.