Skip to content

TPT-4573: add group_by parameter to alert definitions for metric aggregation - #852

Open
zliang-akamai wants to merge 1 commit into
devfrom
zhiwei/aclp-group-by
Open

TPT-4573: add group_by parameter to alert definitions for metric aggregation#852
zliang-akamai wants to merge 1 commit into
devfrom
zhiwei/aclp-group-by

Conversation

@zliang-akamai

Copy link
Copy Markdown
Member

📝 Description

Add group_by parameter to alert definitions for metric aggregation.

✔️ How to Test

make test-int TEST_SUITE=monitor_services_alert_definition

@zliang-akamai
zliang-akamai requested review from a team as code owners August 11, 2026 17:32
@zliang-akamai
zliang-akamai requested review from lgarber-akamai, psnoch-akamai and yec-akamai and a balanced review from Copilot and removed request for a team August 11, 2026 17:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds group_by support for metric aggregation in alert definitions.

Changes:

  • Adds create/update handling for group_by.
  • Updates generated documentation and examples.
  • Adds integration coverage and updates the SDK dependency.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
plugins/modules/monitor_services_alert_definition.py Adds the new module parameter.
requirements.txt Raises the SDK minimum version.
tests/integration/targets/monitor_services_alert_definition/tasks/main.yaml Tests creation and persistence.
plugins/module_utils/doc_fragments/alert_definition.py Updates examples and return sample.
plugins/module_utils/doc_fragments/alert_definition_info.py Updates the info return sample.
plugins/module_utils/doc_fragments/alert_definitions_list.py Updates the list return sample.
plugins/module_utils/doc_fragments/alert_definitions_by_service_type_list.py Updates the service list sample.
docs/modules/monitor_services_alert_definition.md Documents the parameter.
docs/modules/monitor_services_alert_definition_info.md Documents info output.
docs/modules/monitor_services_alert_definition_list.md Documents list output.
docs/modules/monitor_services_alert_definition_by_service_type_list.md Documents service list output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"channel_ids",
"description",
"entity_ids",
"group_by",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants