diff --git a/cli/alert_query.go b/cli/alert_query.go index cec8f098..f74bc091 100644 --- a/cli/alert_query.go +++ b/cli/alert_query.go @@ -96,6 +96,7 @@ func (a *alertQueryCmd) queryAlerts(ctx context.Context, _ *kingpin.ParseContext WithInhibited(&a.inhibited). WithSilenced(&a.silenced). WithUnprocessed(&a.unprocessed). + WithReceiver(&a.receiver). WithFilter(a.matcherGroups) amclient := NewAlertmanagerClient(alertmanagerURL)