This topic describes how to configure Insights for a service and view the runtime metrics for all functions under the service in the Function Compute console

Background information

Overview

Configure Insights when you create a service

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Service/Function. On the Service/Function page, click Create Service in the upper-right corner.
  4. On the Create Service page, enter a service name in the Service Name field, select Enable Insights, and click Create.
    Note After you select Enable Insights, Insights is enabled for all functions under the service.

Configure Insights for a created service

You can take the following steps to enable Insights for a created service:

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Service/Function. In the Services pane, click the required service.
  4. On the Service/Function page, click Service Configurations. On the Service Configurations tab, click Modify Configurations.
  5. In the Insights section on the Configure Service page, turn on Enable Insights and click Submit.

View the runtime metrics for all functions

After you enable Insights for your service, Function Compute automatically records the runtime metrics for all functions under the service. You can take the following steps to view the runtime metrics for all functions:

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. On the Functions tab, find the required function and click the name of the function.
  4. On the details page of the function, click Runtime Metrics to view the runtime metrics for the function.