After creating a function and trigger, you can monitor the invocation and running statuses of the function in real time.
FunctionGraph differentiates the metrics of a function by version, allowing you to query the metrics of a specific function version.
Create an alarm rule for a function to report metrics to Cloud Eye so that you can view monitoring graphs and alarm messages on the Cloud Eye console.
Table 1 lists the function metrics that can be monitored by Cloud Eye.
Metric |
Display Name |
Description |
Unit |
Upper Limit |
Lower Limit |
Recommended Threshold |
Value Type |
Dimension |
---|---|---|---|---|---|---|---|---|
count |
Invocations |
Number of function invocations |
Count |
- |
0 |
- |
int |
package-functionname |
failcount |
Errors |
Number of invocation errors |
Count |
- |
0 |
- |
int |
package-functionname |
rejectcount |
Throttles |
Number of function throttles |
Count |
- |
0 |
- |
int |
package-functionname |
duration |
Average Duration |
Average duration of function invocation |
ms |
- |
0 |
- |
int |
package-functionname |
maxDuration |
Maximum Duration |
Maximum duration of function invocation |
ms |
- |
0 |
- |
int |
package-functionname |
minDuration |
Minimum Duration |
Minimum duration of function invocation |
ms |
- |
0 |
- |
int |
package-functionname |