Last update:2024-12-25 15:59:46
This document explains how to access function invocation metrics in the CDNetworks console to monitor function performance and health.
Function invocation analysis provides statistics across four dimensions:
Metric | Unit | Description |
---|---|---|
Requests | Count | The total number of requests made to the functions. |
Error Requests | Count | The total number of requests that resulted in 4xx or 5xx HTTP status codes. |
Error Rate | % | Error Rate = (Error Requests / Requests) * 100% |
Average Runtime | ms (milliseconds) | The average function execution time over the specified period, calculated as the total execution time across all functions divided by the total number of requests, rounded to two decimal places. |
View request trends by 5 minutes, 1 hour, or 1 day granularity.
Metric | Unit | Description |
---|---|---|
Function | - | The name of the function. |
Requests | Count | The total number of requests made to the specific function. |
Error Requests | Count | The total number of requests to the specific function that resulted in 4xx or 5xx HTTP status codes. |
Error Rate | % | Error Rate = (Error Requests / Requests) * 100% |
View status code trends by 5 minutes, 1 hour, or 1 day granularity.
Metric | Unit | Description |
---|---|---|
Rank | - | The rank of the status code by frequency of occurrence, from highest to lowest. |
Status Code | - | The HTTP status code returned by the function. |
Requests | Count | The total number of requests for a specific status code. |
Percentage | % | Percentage = (Requests for this status code / Total requests for all functions under the filter) * 100% |
View runtime trends by 5 minutes, 1 hour, or 1 day granularity.
Metric | Unit | Description |
---|---|---|
Function | - | The name of the function. |
Average Runtime | ms (milliseconds) | The average runtime for the selected function within the specified period, calculated as the function’s total runtime divided by its total number of requests, rounded to two decimal places. |