Monitor plugin performance

This page describes how you can use Monitoring dashboards to view Service Extensions metrics.

Service Extensions metrics charts

The following table describes the plugin charts that appear on the Monitoring dashboard for Service Extensions. The metric type strings follow this prefix: networkactions.googleapis.com/wasm_plugin/.

Metric chart and type Description
Wasm plugin invocation count
invocation_count
The number of invocations of the plugin over the selected time span. Each plugin callback invocation counts as a separate plugin invocation.
Wasm plugin errors
invocation_count
The number of errors generated by the plugin over the selected time span
Wasm plugin invocation latency
invocation_latencies
The local execution time of the plugin, in milliseconds. The metric includes label-delineated entries for each callback.
Wasm plugin CPU usage
cpu/usage_times
The CPU usage time of plugin invocations, in microseconds
Wasm plugin memory usage
memory/max_bytes_used
The average of the peak memory allocation across hosts for plugin invocations, in bytes. For each host, the peak memory allocation is measured since the plugin started running on the host.

Media CDN metrics charts

The following table describes the plugin charts that appear on the Monitoring dashboard for Media CDN. The metric type strings follow this prefix: edgecache.googleapis.com/edge_cache_route_rule/.

Metric chart and type Description
Service Extensions invocation count
wasm_action_invocation_count
The number of Service Extensions invocations handled by Media CDN over the selected time span
Service Extensions invocation latency
wasm_action_invocation_latencies
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.

What's next