Increment Metric
This function allows adding or updating a custom metric to a Firebase Performance custom trace, increasing its numerical value. The Firebase Performance custom trace should be created first using the Start Trace function.
Parameter Configuration
This function requires you to complete the input parameters with the custom trace ID, the custom metric ID and the metric increment.
Function ID
Register | Value |
---|---|
110 | 3 |
Input Registers
Register | Description | Mandatory | Value |
---|---|---|---|
390 | Trace ID. ID of the custom trace previously created | X | STRING |
391 | Metric ID. ID of the custom metric to be added or updated | X | STRING |
393 | Metric Increment. Numerical value that indicates by how much should that trace's metric be incremented | X | INT |
Output Registers
Register | Description | Value | ||||||
---|---|---|---|---|---|---|---|---|
112 | Call Result |
|