Separates metric data by dimension so that alert conditions are evaluated independently for each dimension value. For example, if you group CPU usage by node type, CPU usage is evaluated separately for each node category, instead of evaluating all node types together. This array supports these values:
-
entity_id. Include this by name to group the response data using the entity_id values included in the request.
-
dimension_label. This represents the desired dimension from a monitoring metric. To get a dimension_label, run the List metrics for a service type operation, review the available dimensions for the specified serviceType, and store the applicable dimension_label values.
You can group these fields using these combinations:
-
Group by entity_id values and one or more dimensions_label values. For example, [entity_id, node_type] groups response data based on values set for the entity_id parameter and the node_type dimension that's available for a service_type of dbaas.
-
Group by only the entity_id values. For example, ["entity_id"] exclusively groups response data based on values set for the entity_id parameter.
-
Group by one or more dimension_label values. For example, ["node_type"] groups response data based on the node_type dimension that's available for a service_type of dbaas.
If you leave this out of a request, data is aggregated across all series.