Function Compute generates metrics each time it executes a function. Use Cloud Monitor for real-time and historical metrics, and Simple Log Service (SLS) for detailed execution logs.
View metrics in Cloud Monitor
The Cloud Monitor console displays monitoring information of your Function Compute resources. For a full list of available metrics, see Monitoring data.
Store and query execution logs
To capture detailed execution records, configure a project and a Logstore for your service to send logs to Simple Log Service (SLS). You can then query logs in the SLS console to debug failures and trace individual invocations. For setup instructions, see Configure the logging feature.
该文章对您有帮助吗?