Monitor metrics for multicast
This page describes the metrics that are available to multicast administrators for monitoring multicast groups.
You can use these metrics to help you understand performance and actions in a multicast group, such as how many multicast consumers are joining, leaving, or are in a group.
The metrics on this page are available in multicast administrator projects that contain multicast domain and group range configurations. The metrics aren't available in multicast consumer projects, such as in the Network Connectivity Center (NCC) star topology that supports multicast consumers in separate projects.
About Cloud Monitoring metrics for multicast
Google Cloud reports monitoring metrics for multicast to Cloud Monitoring.
Data is reported in one-minute intervals to Monitoring and is retained in Monitoring for six weeks.
The following section describes the corresponding monitored resource type and the available metrics.
Multicast metrics reference
This section describes the available metric types for multicast that
are reported to Monitoring. These metrics are reported for the
MulticastGroup
monitored resource type.
For a list of other metric types in Google Cloud, see Google Cloud metrics.
The "metric type" strings in this table must be prefixed
with networkservices.googleapis.com/. That prefix has been
omitted from the entries in the table.
When querying a label, use the metric.labels. prefix; for
example, metric.labels.LABEL="VALUE".
| Metric type Launch stage (Resource hierarchy levels) Display name |
|
|---|---|
| Kind, Type, Unit Monitored resources |
Description Labels |
multicast/admin/group_control_messages
GA
(project)
The number of control messages received for the specific multicast group |
|
DELTA, INT64, 1
networkservices.googleapis.com/MulticastGroup |
The number of multicast group control messages. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
consumer_project_number:
Consumer project ID (numeric string).
consumer_location:
The consumer's zone.
message_type:
The type of the control message. (e.g. "IGMP_CONSUMER_JOINED")
result:
"UNKNOWN" for all but "IGMP_JOIN_REJECTED" messages. For "IGMP_JOIN_REJECTED", contains the rejection reason.
|
multicast/admin/number_of_active_consumers
GA
(project)
The number of consumers currently subscribed to the specific multicast group |
|
GAUGE, INT64, 1
networkservices.googleapis.com/MulticastGroup |
The number of active consumers per multicast group. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
consumer_project_number:
Consumer project ID (numeric string).
consumer_location:
The consumer's zone.
|
Use Cloud Monitoring metrics
The following sections describe how to use Cloud Monitoring metrics.
In addition to the predefined dashboards in Monitoring, you can create custom dashboards, set up alerts, and query the metrics through the Monitoring API.
View metrics in Monitoring
Console
To view the metrics for a monitored resource by using the Metrics Explorer, do the following:
-
In the Google Cloud console, go to the leaderboard Metrics explorer page:
If you use the search bar to find this page, then select the result whose subheading is Monitoring.
- In the toolbar of the Google Cloud console, select your Google Cloud project. For App Hub configurations, select the App Hub host project or the app-enabled folder's management project.
- In the Metric element, expand the Select a metric menu,
enter
Multicast Groupin the filter bar, and then use the submenus to select a specific resource type and metric:- In the Active resources menu, select Multicast Group.
- To select a metric, use the Active metric categories and Active metrics menus.
- Click Apply.
To add filters, which remove time series from the query results, use the Filter element.
To combine time series, use the menus on the Aggregation element. For example, to display the CPU utilization for your VMs, based on their zone, set the first menu to Mean and the second menu to zone.
All time series are displayed when the first menu of the Aggregation element is set to Unaggregated. The default settings for the Aggregation element are determined by the metric type you selected.
- For quota and other metrics that report one sample per day, do the following:
- In the Display pane, set the Widget type to Stacked bar chart.
- Set the time period to at least one week.
Define alerting policies
Console
You can create alerting policies to monitor the values of metrics and to notify you when those metrics violate a condition.
-
In the Google Cloud console, go to the notifications Alerting page:
If you use the search bar to find this page, then select the result whose subheading is Monitoring.
- If you haven't created your notification channels and if you want to be notified, then click Edit Notification Channels and add your notification channels. Return to the Alerting page after you add your channels.
- From the Alerting page, select Create policy.
- To select the metric, expand the Select a metric menu and then do the following:
- To limit the menu to relevant entries, enter
Multicast Groupinto the filter bar. If there are no results after you filter the menu, then disable the Show only active resources & metrics toggle. - For the Resource type, select Multicast Group.
- Select a Metric category and a Metric, and then select Apply.
- To limit the menu to relevant entries, enter
- Click Next.
- The settings in the Configure alert trigger page determine when the alert is triggered. Select a condition type and, if necessary, specify a threshold. For more information, see Create metric-threshold alerting policies.
- Click Next.
- Optional: To add notifications to your alerting policy, click Notification channels. In the dialog, select one or more notification channels from the menu, and then click OK.
- Optional: Update the Incident autoclose duration. This field determines when Monitoring closes incidents in the absence of metric data.
- Optional: Click Documentation, and then add any information that you want included in a notification message.
- Click Alert name and enter a name for the alerting policy.
- Click Create Policy.
Create custom Monitoring dashboards
Console
-
In the Google Cloud console, go to the Dashboards page:
If you use the search bar to find this page, then select the result whose subheading is Monitoring.
- Click Create dashboard
- Optional: Update the dashboard title with a descriptive name for your dashboard.
- Click Add Widget and then select Metric.
- Expand the Metric menu, enter
Multicast Groupin the filter bar, and then use the submenus to select a specific resource type and metric:- In the Active resources menu, select Multicast Group.
- In the Active metric categories menu, select Multicast.
- In the Active metrics menu, select the metric that you want to view.
- Click Apply.
- Combine time series:
- To display every time series, in the Aggregation element, ensure the first menu is set to Unaggregated and the second menu is set to None.
To combine time series, in the Aggregation element, use the first menu to select a function and the second menu to select the labels. If the second menu is set to None, then the chart displays one time series.
For example, to display the average value of time series after grouping by zone, set the first menu to Mean and the second to zone.
For information about combining time series, see Choose how to display charted data.
For each additional widget that you want to add to your dashboard, click Add widget, complete the dialog, and then select Apply.
For more information about adding widgets, see the following pages:
What's next
- Get an overview of multicast observability
- View multicast group membership event logs
- View flow logs for multicast