콘텐츠로 건너뛰기

@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.