Create and manage observability groups

Updated at:

This topic describes how to access the console, create groups, configure membership rules, query and view data, configure alerts, and manage groups. It also provides answers to frequently asked questions.

For how observability groups work, core concepts, scope of application, and limits, see Observability group overview.

Access observability groups

  1. Log on to the Cloud Monitor 2.0 console.

  2. Select the target workspace.

  3. In the left-side navigation pane, choose All Features > Observation Groups.

  4. In the observability group list, create a group, or find an existing group by group name, group ID, tag, or follow status.

After you enter the target group, you can use the following tabs.

Tab

Description

Group Information

View and modify the group name, description, resource group, tags, and related observability settings.

Entity List

Configure membership rules, view matched entities, integration status, health status, and golden metrics, and drill down to a single entity.

Alert Rules

Create, query, and maintain alert rules within the current group scope.

Alert History

View the alert records and handling status associated with the current group.

Dashboards

Select a built-in dashboard by entity type, and switch between the group and instance dimensions.

Create an observability group

  1. Log on to the Cloud Monitor 2.0 console, select the target workspace, and in the left-side navigation pane, choose All Features > Observation Groups.

  2. In the upper-right corner of the observability group list, click Create Group. In the Create Observation Group panel on the right, enter the basic information and related settings.

  3. Click Create Group at the bottom of the panel. Return to the group list, enter the group name or group ID in the search box, and confirm that you can find and open the new group before you configure membership rules.

Create parameters

Parameter

Required

Description

Group name

Yes

The name must be unique within the workspace. It supports Chinese characters, letters, digits, underscores (_), and hyphens (-), up to 100 characters. Use a name that expresses the business and environment, such as order-service-prod.

Group description

No

Describes the business scope, owning team, and observability goal. Include the group purpose and the maintainer information.

Resource group

No

Used for the permission boundary and resource ownership. You can select only a resource group that is visible in the current workspace.

Group tags

No

Used to filter and govern groups. You can set up to 20 tags. A tag key can be up to 64 characters and must be unique. A tag value can be empty and up to 128 characters. Tag keys and values cannot use Alibaba Cloud reserved prefixes.

Notification contact group

No

Associates an initial notification contact with the current group. The actual notification is based on the Notification configuration saved in each alert rule.

Alert rule template

No

Initializes alert rules from a template. After creation, verify the rule status, data, and notification contacts on the Alert Rules tab.

A group belongs to the current workspace after it is created and cannot be migrated directly to another workspace. To change the workspace, re-create the group and its membership rules in the target workspace. Use tags to express composable attributes such as environment, team, and cost center, instead of putting all information into the group name. Tag keys and values cannot start with aliyun, acs:, http://, or https://.

Configure entity membership rules

After you create a group, configure membership rules to add entities to the group.

  1. Open the target observability group.

  2. On the Entity List tab, click Manage Entities.

  3. In the Membership Rules panel, click New Membership Rule.

  4. In the membership rule panel, from top to bottom, select the entity scope (all types or specific entity types), the entity type, the region, and the match method, and then enter the match conditions. To set multiple tag or name conditions, select Meet all conditions (AND) in the Condition Relationship drop-down list, or another relationship that the console provides.

  5. Click Preview Match Results and check whether the entity type, region, and entity count match your expectation. Click Confirm Creation when you create a rule, or click Confirm Save when you edit an existing rule.

  6. Close the panel and refresh the entity list. Verify the final members and integration status by entity type.

Common rule parameters

Parameter

Description

Entity scope

Select all entity types or specific entity types. In production, select specific entity types first to reduce the risk of incorrect membership.

Entity type

Select an entity type that observability groups support. The available options are subject to the console.

Region

Select all regions, or one or more specific regions. Selecting specific regions prevents entities of the same type in other regions from being added to the current group.

Match method

Standard methods include tag, resource group, instance name, and manual selection. The available options are subject to the console.

Condition relationship

Multiple conditions can be set to meet all conditions (AND) or meet any condition (OR).

Enable status

After you disable a rule, the rule no longer participates in entity matching. The rule remains in the current group, and you can enable or edit it again.

Select a match method

Match method

When to use

Key items to verify before saving

Manual selection

A small number of core dependencies or temporary membership

Instance ID, entity type, region, and the number selected.

Name fuzzy match

Existing resources with a stable naming convention

Whether the keyword is too short, the preview sample, and the region scope.

Tag

Resources that scale continuously, use rolling deployments, or are managed by IaC or CMDB

Tag keys and values, condition relationship, and the preview sample.

Resource group

Resources whose governance boundary is already maintained by resource groups

Resource group, entity type, region, and the preview sample.

Match dynamically by tag

Matching by tag applies to resources that have a unified tag convention and that scale continuously or use rolling deployments.

  1. For the match method, select Dynamic match - Tag.

  2. In the tag condition row, enter the tag key, select a condition such as Contains in the Operator drop-down list, and then enter the tag value.

  3. To add a tag condition, click + Add rule below the condition area, and then select the AND or OR relationship in the Condition Relationship drop-down list.

  4. Click Preview Match Results and confirm the type, region, and count of the matched entities. Click Confirm Creation when you create a rule, or click Confirm Save when you edit a rule. Close the panel, refresh the Entity List, and confirm the members, region, and integration status.

Maintain tags through CMDB, IaC, resource orchestration, or a business control plane, and let observability groups consume only stable tags. Do not use values that change frequently, have high cardinality, or contain sensitive information as membership tags.

Match dynamically by resource group

Matching by resource group applies when resource ownership is already governed by Alibaba Cloud resource groups.

  1. For the match method, select Dynamic match - Resource group.

  2. Select the target resource group.

  3. Configure the entity type and region scope.

  4. Preview the match results, and then save the rule.

After a resource joins or leaves the resource group, the group membership updates asynchronously according to the rule.

Match dynamically by instance name

Matching by instance name applies to existing resources that have a stable naming convention but have not yet completed tag governance.

  1. For the match method, select Dynamic match - Instance name.

  2. In the Operator drop-down list of the Instance name condition row, select the match semantics such as Contains, and then enter the full instance name or a name keyword for fuzzy matching in the input field on the right.

  3. Configure the entity type and region scope.

  4. To add a name condition, click + Add rule, and then click Preview Match Results. Avoid a keyword that is too short and causes incorrect matches. After you confirm the preview sample, click Confirm Creation when you create a rule, or click Confirm Save when you edit a rule.

  5. On the rule card, confirm the instance name condition and the region scope. Return to the Entity List to confirm the final members.

Use name rules only as a migration or transition method. When the naming convention changes, entities can automatically join or leave the group.

Manually select entities

Manual selection applies to core dependencies that are few in number, stable in identity, and require precise control of the scope.

  1. In the rule panel, select the entity type and region first, and then set the match method to Manual selection. The console opens a candidate entity dialog box or drawer named Entity List. This dialog box is not the Entity List tab on the group main page.

  2. In the candidate entity list, search by instance name or instance ID.

  3. Select the entities to manage, and verify the region and entity type.

  4. Click OK at the bottom of the candidate list to return to the rule panel. Click Preview Match Results to verify the instance ID, entity type, and region, and then click Confirm Creation.

  5. Refresh the Entity List of the group and confirm that the members appear.

If the candidate entity list is empty, close the candidate entity dialog box or drawer, return to the rule panel, check the entity type, region, and search keyword, and then select Manual selection again.

A manual rule does not automatically manage new entities of the same type created later. After a resource is released or replaced, maintain the rule in time.

Rule combination and exclusivity

  • Multiple rules for different entity types take a union. Any entity matched by any rule can become a group member.

  • Within one group, each entity type can be managed by only one rule. To change the match method, edit or delete the original rule.

  • A rule that selects all entity types is exclusive and cannot coexist with other membership rules.

  • A disabled rule still retains the occupation relationship for its entity type. To let another rule manage the same entity type, delete or adjust the original rule instead of only turning off the switch.

  • One entity can belong to multiple observability groups at the same time.

Preview and maintain membership rules

On the Entity List tab of the target group, click Manage Entities to view the match method, entity type, region, match conditions, current matched entity count, and enable status of each rule. Use Preview Entities, Edit, the enable/disable switch, or Delete on the rule card to maintain rules. After you edit a rule, click Confirm Save, and refresh the Entity List to confirm the membership change. The rule card should echo the match method, entity type, region, conditions, matched count, and enable status.

Operation

Description

Preview entities

View the entities that the rule currently matches. The preview count can change after dynamic resources change.

Edit

Modify the entity type, region, match method, or match conditions. Preview again before you save.

Enable or disable

Control whether the rule participates in entity matching. After you disable it, the members previously managed by the rule leave the group after asynchronous recalculation. After you re-enable it, the members are recalculated.

Delete

Delete the rule. Only the membership condition is deleted. The corresponding cloud resource or application is not deleted.

A successful rule save means only that the configuration is submitted. Entity membership updates asynchronously, and the system does not commit to a fixed completion time. Return to the entity list and refresh the page to verify the final member count, region, and integration status. If the result still differs from the preview after several refreshes, keep the group ID, rule type, entity type, region, preview count, operation time, and page error message, and then submit a ticket or contact technical support. Do not judge the membership result by the success message alone.

Query observability groups and entities

Query observability groups

  1. Log on to the Cloud Monitor 2.0 console, select the target workspace, and in the left-side navigation pane, choose All Features > Observation Groups.

  2. In the search box at the top of the list, enter the full or partial group name, or enter the group ID to locate the group precisely. If needed, use tag filters, All Groups or My Follows, and the sort controls to narrow the results.

  3. In the search results, confirm the group name, group ID, workspace, and expected status, and then click the group name to enter the details.

Query entities in a group

  1. Open the target group and go to the Entity List.

  2. Select an entity type on the left.

  3. Enter an instance name or instance ID to search.

  4. Filter further by region, resource group, or tag.

  5. View the integration status, health status, and golden metrics in the list.

View group observability data

View the group overview and golden metrics

  1. Open the target group, go to the Entity List, and select an entity type on the left.

  2. Filter group members by instance name or instance ID, region, resource group, or tag.

  3. Compare the integration status, health status, and golden metric columns of entities of the same type in the list. Record "No data" or "Pending integration" when there is no data.

Different entity types show different metric columns, subject to the current MetricSet and the data integration status in the console. When a golden metric has no data, record it as "No data" or "Pending integration" first. Do not interpret an empty value as healthy or as the value 0.

Drill down to a single entity from the group

  1. Locate the target entity in the entity list.

  2. Click the instance ID.

  3. In the entity details, view the basic information, related topology, health, metric exploration, or log exploration.

  4. After you localize the issue, return to the original group to keep the overall business context.

View the group topology

  1. Open the Entity List of the target group.

  2. In the upper-right corner of the list, switch to Topology.

  3. View each entity type and its count.

  4. Select a topology node to view the resolved entity relationships and adjacent dependencies.

The topology shows only entity relationships that are currently modeled and resolvable. Nodes without relationship edges do not mean that the entities do not exist. Continue troubleshooting with the entity list and the single-entity related topology, and do not conclude that the group is empty.

View group dashboards

  1. Open the target group and select the Dashboards tab.

  2. Select the built-in dashboard for the entity type on the left.

  3. Select the observability time range.

  4. Set the dimension to Group to view the aggregated metrics of entities of the same type in the group.

  5. To localize a specific object, switch the dimension to Instance and select an entity in the group.

  6. Check the time range, dimension, and metric data source. "No data" is not the same as the value 0.

If a dashboard shows "No data", check the entity integration status, the time range, the metric data source, and the MetricSet. Do not interpret a blank panel as the value 0.

Configure and verify alerts

Configure group alerts

  1. Open the target group, select the Alert Rules tab, and click Create Alert Rule.

  2. In step 1, Alert Configuration, enter the rule name. In the query metric area, select a metric that the current group supports, the detection condition, and the threshold, and set the duration, alert detection period, and severity. Use the data preview to confirm that the rule returns the expected in-group time series.

  3. Click Next at the bottom to go to step 2, Notification Configuration. Configure the notification contact or notification policy, and confirm the final notification configuration.

  4. Use the submit button at the bottom of the notification configuration step to complete the creation (the button text is subject to the console). Return to the alert rule list and confirm that the rule is saved by rule name or ID. To verify the notification loop, go to Alert History and the notification records to confirm the trigger, delivery, and recovery.

A successful alert rule creation does not mean that the notification loop is complete. Before production use, verify rule persistence, data preview, actual triggering, notification delivery, and alert recovery. For how to use the Alert Center overview, see Alert overview.

Verify the alert notification loop

Perform the following operations only in a non-production environment or on authorized test entities. Do not create alerts by stress-testing customer traffic or the production core path.

  1. Create a low-risk test rule. Confirm that the rule is saved, is enabled, and has a computable time series in the data preview.

  2. Create a trigger condition through a recoverable test load, or use a known safe threshold in a test environment.

  3. In Alert History, confirm that the alert enters the alerting state. In the notification records, confirm the delivery, and have the recipient confirm receipt. A delivery record is not the same as terminal delivery.

  4. Stop the test load or restore the threshold, and confirm that the alert recovers.

  5. Delete or disable the test rule according to your change convention, and restore the original threshold and notification configuration.

View alert history

  1. Open the target group and select the Alert History tab.

  2. Filter alerts by alert status, severity, rule name, or time range.

  3. Open the target record to view the trigger time, duration, associated entity, notification history, and handling status.

If there is no record in the list, first confirm that the alert rule is enabled, that the query data exists, and that the detection condition was met within the effective time.

Manage observability groups

Manage group information

Open the target group and select the Group Information tab to maintain information such as the group name, description, resource group, tags, contacts, and alert template.

If the page provides the **Output og_entity_info metric** setting, you can select a target Prometheus instance and enable the output. og_entity_info expresses the membership relationship between an entity and an observability group. It is not a business performance metric. After you enable it, you can associate instance metrics with the group dimension through a common entity identifier, for PromQL aggregation, dashboards, or alerts.

After you modify the group information, reopen the group or refresh the page to confirm the save result. When multiple people edit the same group at the same time and the page reports a version conflict, refresh and modify again based on the latest configuration, to avoid overwriting changes made by others.

Follow or unfollow a group

  • In the group list or group details, click the follow icon to add the group to My Follows.

  • Click the follow icon again to unfollow.

  • Following affects only the quick filter of the current user. It does not change the group rules, members, or the follow status of other users.

Delete an observability group

  1. Locate the target group in the observability group list.

  2. Choose Delete in the Actions column.

  3. Confirm the deletion after you verify the group name and the affected scope.

Deleting a group does not delete the managed cloud resources, applications, or PAI services, but it deletes the observability group and its membership rules. The group relationship on the entity side is cleaned up asynchronously, so you can still query the old relationship for a short time after deletion. Before deletion, check whether dashboards, alerts, PromQL, and automation scripts still reference the group ID. The specific handling of references is subject to the prompts on each feature page.

FAQs

The rule preview shows entities, but they do not appear in the entity list yet. What do I do?

Membership updates asynchronously, and the system does not commit to a fixed completion time. Refresh the entity list, and check whether the rule is enabled, the region is correct, and the entity type is supported. If the entities still do not appear after several refreshes, check whether the resources still meet the tag, resource group, or name conditions. Keep the group ID, rule conditions, region, preview count, and operation time for troubleshooting.

An entity is managed, so why do the golden metrics or dashboards have no data?

Membership and data integration are two independent states. Check whether the entity shows Integrated, whether the data source is normal, whether the time range covers the business traffic, and whether the current entity type has a corresponding MetricSet configured. If the entity is not integrated, go to the Integration Center in the left-side navigation pane and check the integration policy and metric set for the entity type. For more information, see Integration Center.

Why can I no longer create a rule for the same entity type?

An entity type in one group can be managed by only one rule, and a disabled rule still retains the configuration occupation for that type. Edit, delete, or adjust the existing rule.

Why does saving a rule report that the membership limit is exceeded?

The system counts the expected matched entities across multiple rules after deduplication. If the expected member count exceeds the single-group quota of the current account, the save is rejected. Narrow the region, entity type, or match conditions, or split into multiple groups with clear responsibility boundaries.

I submitted the alert rule successfully, so why did I not receive a notification?

First confirm that the rule is persisted and enabled by name or ID in the rule list. Then check the data preview, trigger condition, duration, detection period, and the notification configuration saved in the rule. Next, verify the alert history, the notification delivery record, and the recipient's terminal separately. These three cannot substitute for each other. A creation success message alone does not prove that the notification loop is complete.

Can one entity belong to multiple observability groups?

Yes. The same entity can be referenced by different observability groups to express different business or ownership views. Avoid configuring duplicate and conflicting notification policies for the same entity across multiple groups.

References

  • Alert overview: Learn about the Alert Center overview and the overall alert view.

  • Alert rules: Create and manage alert rules, notification contacts, and notification policies.

  • Alert history: Troubleshoot historical alerts by status, severity, and time.

  • Integration Center: Integrate metric, log, and trace data for entities.