Stay organized with collections
Save and categorize content based on your preferences.
This page describes how you can use Cloud Monitoring dashboards
to view metrics for Application Load Balancer plugins that are configured using
Service Extensions. You can monitor plugins from either the plugin
perspective or the load balancer perspective.
On the Plugin details page, click the Monitoring tab.
On the Monitoring page, the metrics charts show information that can
help you monitor plugin performance.
To view the metrics for plugin lifecycle operations, select values from the
Operation filter list. By default, the values HTTP request header
and HTTP response header are selected.
To view the metrics for a specific plugin version, select a value from the
Plugin version filter list. By default, metrics are displayed for
all versions.
To change the period for which you want to view the data, either select a
predefined period from the time selector or click Custom and define a
start and end time. By default, the selector is set to 1 day.
Plugin metrics for Service Extensions
You can monitor the following metrics for plugins from the
Service Extensions perspective. These metrics have the prefix
networkservices.googleapis.com/wasm_plugin/. The prefix is omitted from the entries in the table.
Metric type
Display name
Kind, Type, Unit
Description
invocation_count
Wasm plugin invocation count
DELTA, INT64, 1 The number of invocations of the plugin over the selected time
span. Each plugin callback
invocation counts as a separate plugin invocation.
invocation_latencies
Wasm plugin invocation latency
DELTA, DISTRIBUTION, us The local execution time, in milliseconds, of the plugin. The
metric includes label-delineated entries for each
callback.
cpu/usage_times
Wasm plugin normalized CPU usage
DELTA, DISTRIBUTION, us{CPU} The CPU usage time of plugin invocations, in microseconds.
memory/bytes_used
Wasm plugin memory usage
GAUGE, DISTRIBUTION, By Total memory allocated by Wasm plugin VMs, in bytes.
Monitoring from the load balancer perspective
This section describes Service Extensions monitoring for plugins from
the load balancer perspective.
View the Monitoring dashboard for Cloud Load Balancing
Application Load Balancers export monitoring data to
Cloud Monitoring.
Use Monitoring metrics for the following purposes:
Evaluating a load balancer's configuration, usage, and performance
Troubleshooting problems
Improving resource utilization and user experience
To view a predefined dashboard, follow these steps:
In the Google Cloud console, go to the Dashboards overview page.
To view a list of dashboards for all your load balancers, in the
GCP Dashboards list, click the dashboard named Google Cloud Load Balancers.
To view a specific load balancer's dashboard, locate the load balancer in the list
and click its name.
To view the predefined dashboards for only your load balancers, select the
appropriate dashboard.
In addition to the predefined dashboards in Monitoring, you can
create custom dashboards, set up alerts, and query the metrics through the
Cloud Monitoring API.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["This page describes how you can use [Cloud Monitoring dashboards](/monitoring/charts/dashboards#view-dashboard)\nto view metrics for Application Load Balancer plugins that are configured using\nService Extensions. You can monitor plugins from either the plugin\nperspective or the load balancer perspective.\n\nFor a product overview, see [Service Extensions overview](/service-extensions/docs/overview).\n\nMonitoring from a plugins perspective\n\nThis section describes Service Extensions monitoring from a plugins\nperspective.\n\nFor detailed information about Service Extensions metric types,\nsee the [Google Cloud metrics](/monitoring/api/metrics_gcp_i_o#gcp-loadbalancing)\npage.\n\nView the Monitoring dashboard for Service Extensions\n\n\nTo view the Monitoring dashboard for Service Extensions, do the following:\n\n1. In the Google Cloud console, go to the **Service Extensions** page.\n\n [Go to Service Extensions](https://console.cloud.google.com/net-services/service-extensions)\n2. Click the **Plugins** tab.\n3. Click a plugin name.\n4. On the **Plugin details** page, click the **Monitoring** tab.\n5. On the **Monitoring** page, the metrics charts show information that can help you monitor plugin performance.\n6. To view the metrics for plugin lifecycle operations, select values from the **Operation filter** list. By default, the values `HTTP request header` and `HTTP response header` are selected.\n7. To view the metrics for a specific plugin version, select a value from the **Plugin version filter** list. By default, metrics are displayed for all versions.\n8. To change the period for which you want to view the data, either select a predefined period from the time selector or click **Custom** and define a start and end time. By default, the selector is set to `1 day`.\n\n\u003cbr /\u003e\n\nPlugin metrics for Service Extensions\n\n\nYou can monitor the following metrics for plugins from the\nService Extensions perspective. These metrics have the prefix\n`networkservices.googleapis.com/wasm_plugin/`. The prefix is omitted from the entries in the table.\n\n| Metric type | Display name Kind, Type, Unit Description |\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `invocation_count` | Wasm plugin invocation count `DELTA`, `INT64`, `1` The number of invocations of the plugin over the selected time span. Each plugin [callback](/service-extensions/docs/prepare-plugin-code#callbacks) invocation counts as a separate plugin invocation. |\n| `invocation_latencies` | Wasm plugin invocation latency `DELTA`, `DISTRIBUTION`, `us` The local execution time, in milliseconds, of the plugin. The metric includes label-delineated entries for each [callback](/service-extensions/docs/prepare-plugin-code#callbacks). |\n| `cpu/usage_times` | Wasm plugin normalized CPU usage `DELTA`, `DISTRIBUTION`, `us{CPU}` The CPU usage time of plugin invocations, in microseconds. |\n| `memory/bytes_used` | Wasm plugin memory usage `GAUGE`, `DISTRIBUTION`, `By` Total memory allocated by Wasm plugin VMs, in bytes. |\n\n\u003cbr /\u003e\n\nMonitoring from the load balancer perspective\n\nThis section describes Service Extensions monitoring for plugins from\nthe load balancer perspective.\n\nView the Monitoring dashboard for Cloud Load Balancing\n\n\nApplication Load Balancers export monitoring data to\n[Cloud Monitoring](/monitoring/docs).\n\nUse Monitoring metrics for the following purposes:\n\n- Evaluating a load balancer's configuration, usage, and performance\n- Troubleshooting problems\n- Improving resource utilization and user experience\n\nTo view a predefined dashboard, follow these steps:\n\n1. In the Google Cloud console, go to the **Dashboards overview** page.\n\n [Go to Dashboards overview](https://console.cloud.google.com/monitoring/dashboards)\n2. In the **Categories** section, click **GCP** .\n - To view a list of dashboards for *all* your load balancers, in the **GCP Dashboards** list, click the dashboard named **Google Cloud Load Balancers**. To view a specific load balancer's dashboard, locate the load balancer in the list and click its name.\n - To view the predefined dashboards for only your load balancers, select the appropriate dashboard.\n\nIn addition to the predefined dashboards in Monitoring, you can\ncreate custom dashboards, set up alerts, and query the metrics through the\n[Cloud Monitoring API](/monitoring/api).\n\nFor more information, see the \"Monitor and troubleshoot\" pages of the\nCloud Load Balancing documentation---for example,\n[Internal Application Load Balancer logging and monitoring](/load-balancing/docs/l7-internal/monitoring).\n\n\u003cbr /\u003e\n\nPlugin metrics for Cloud Load Balancing\n\nYou can monitor the following metrics for plugins from a Cloud Load Balancing\nperspective.\n\n\nThese metrics have the prefix `loadbalancing.googleapis.com/`. The prefix is omitted\nfrom the entries in the table.\n\n| Metric type | Display name Kind, Type, Unit Description |\n|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `https/backend_request_count`, `https/external/regional/backend_request_count`, `https/internal/backend_request_count` | Backend request count `DELTA`, `INT64`, `1` The number of times that a plugin is called from the Application Load Balancer. |\n| `https/backend_request_bytes_count`, `https/external/regional/backend_request_bytes_count`, `https/internal/backend_request_bytes_count` | Backend request bytes `DELTA`, `INT64`, `By` The number of bytes sent from the load balancer to the plugin. |\n| `https/backend_response_bytes_count`, `https/external/regional/backend_response_bytes_count`, `https/internal/backend_response_bytes_count` | Backend response bytes `DELTA`, `INT64`, `By` The number of bytes received by the load balancer from the extension backend. |\n\n\u003cbr /\u003e\n\nView plugin metrics\n\nTo view the metrics of a specific plugin, do the following:\n\n1. In the Google Cloud console, go to the **Metrics explorer** page.\n\n [Go to Metrics explorer](https://console.cloud.google.com/monitoring/metrics-explorer)\n2. In the **Metric** element, expand the **Select a metric** menu. Then, do the\n following:\n\n 1. From the list of resources, select the appropriate\n Application Load Balancer rule.\n\n 2. From metric categories list, select **Https**.\n\n 3. From the list of metrics, select a [plugin metric](/service-extensions/docs/monitor-lb-plugins#lb-plugin-metrics).\n\n 4. Click **Apply**.\n\n3. In the **Filter** element, do the following:\n\n 1. Select the **backend_target_type** label and set the value to `WASM_PLUGIN`.\n\n 2. Select the **backend_target_name** label and set the plugin name as the value.\n\nFor more information about load balancer metric types, see the\n[loadbalancing](/monitoring/api/metrics_gcp_i_o#gcp-loadbalancing)\nsection of the Google Cloud metrics page.\n\nWhat's next\n\n- [View log messages for plugins](/service-extensions/docs/view-lb-plugin-log-messages)"]]