Monitor Media CDN plugins

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:

  1. In the Google Cloud console, go to the Service Extensions page.

    Go to Service Extensions

  2. Click the Plugins tab.
  3. Click a plugin name.
  4. On the Plugin details page, click the Monitoring tab.
  5. On the Monitoring page, the metrics charts show information that can help you monitor plugin performance.

  6. 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.
  7. 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.
  8. 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
DELTAINT641
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
DELTADISTRIBUTIONus
The local execution time, in milliseconds, of the plugin. The metric includes label-delineated entries for each callback.
cpu/usage_times Wasm plugin CPU usage
DELTADISTRIBUTIONus{CPU}
The CPU usage time of plugin invocations, in microseconds.
memory/max_bytes_used Wasm plugin memory usage
GAUGEINT64By
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
DELTAINT641
The number of Service Extensions invocations handled by Media CDN over the selected time span.
wasm_action_invocation_latencies Service Extensions invocation latency
DELTADISTRIBUTIONus
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