alertmanager_list_alert_groups
List alert groups from Alertmanager to see how alerts are grouped for notification, including labels, receiver, and alert count.
Instructions
List alert groups from Alertmanager showing routing topology.
Wraps GET /api/v2/alerts/groups. Returns groups with their labels,
receiver, and alert count — shows how alerts are grouped for notification.
Examples:
- Use when: "Why did I get one notification instead of many?"
→ check which alerts are in the same group.
- Use when: "What receiver handles payment alerts?"
→ find the group and check its receiver.
- Don't use when: You want individual alert details
(call alertmanager_list_alerts).
Returns:
dict with total_groups / total_alerts / groups
(list with labels, receiver, alert_count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| total_alerts | Yes | ||
| total_groups | Yes |