This page describes how you can use Cloud Monitoring dashboards to view Service Extensions metrics for Media CDN plugins.
For detailed information about Service Extensions metric types, see the Google Cloud metrics page.
View the Monitoring dashboard for Service Extensions
To view the Monitoring dashboard for Service Extensions, do the following:
In the Google Cloud console, go to the Service Extensions page.
Click a plugin name.
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
andHTTP 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 networkactions.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 of the plugin, in milliseconds. The metric includes label-delineated entries for each callback. |
cpu/usage_times
|
Wasm plugin CPU usage
DELTA , DISTRIBUTION , us
The CPU usage time of plugin invocations, in microseconds. |
memory/max_bytes_used
|
Wasm plugin memory usage
GAUGE , INT64 , By
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. |
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 Extensions callbacks. |