On theMonitoringpage, the metrics charts show information that can
help you monitor plugin performance.
To view the metrics for plugin lifecycle operations, select values from theOperation filterlist. By default, the valuesHTTP request headerandHTTP response headerare selected.
To view the metrics for a specific plugin version, select a value from thePlugin version filterlist. 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 clickCustomand define a
start and end time. By default, the selector is set to1 day.
Plugin metrics for Service Extensions
You can monitor the following metrics for plugins from the
Service Extensions perspective. These metrics have the prefixnetworkactions.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 plugincallbackinvocation 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 eachcallback.
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.
Plugin metrics for Media CDN
You can monitor the following metrics for plugins from the
Media CDN perspective. The metric type
strings follow this prefix:edgecache.googleapis.com/edge_cache_route_rule/network_actions/.
The prefix is omitted from the entries in the table.
Metric type
Display name Kind, Type, Unit Description
wasm_action_invocation_count
Service Extensions invocation count DELTA, INT64, 1 The number of Service Extensions invocations
handled by Media CDN over the selected time span.
wasm_action_invocation_latencies
Service Extensions invocation latency DELTA, DISTRIBUTION, us The total time, in milliseconds, that Media CDN
takes to dispatch and execute the plugin. The metric includes
label-delineated entries for Service Extensionscallbacks.
[[["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,["| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis page describes how you can use [Cloud Monitoring dashboards](/monitoring/charts/dashboards#view-dashboard)\nto view Service Extensions metrics for Media CDN plugins.\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`networkactions.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\nPlugin metrics for Media CDN\n\nYou can monitor the following metrics for plugins from the\nMedia CDN perspective. The metric type\nstrings follow this prefix:\n`edgecache.googleapis.com/edge_cache_route_rule/network_actions/`.\nThe prefix is omitted from the entries in the table.\n\n| Metric type | Display name Kind, Type, Unit Description |\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `wasm_action_invocation_count` | Service Extensions invocation count `DELTA`, `INT64`, `1` The number of Service Extensions invocations handled by Media CDN over the selected time span. |\n| `wasm_action_invocation_latencies` | Service Extensions invocation latency `DELTA`, `DISTRIBUTION`, `us` The total time, in milliseconds, that Media CDN takes to dispatch and execute the plugin. The metric includes label-delineated entries for Service Extensions [callbacks](/service-extensions/docs/prepare-plugin-code#callbacks). |\n\nWhat's next\n\n- [View log messages](/service-extensions/docs/view-media-cdn-plugin-log-messages)"]]