Skip to content

Commit

Permalink
alerting: fixes per-receiver metric cardinality (#34915)
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-d committed May 28, 2021
1 parent 9aca032 commit cc38613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/ngalert/notifier/alertmanager.go
Expand Up @@ -448,7 +448,7 @@ func (am *Alertmanager) buildReceiverIntegrations(receiver *apimodels.PostableAp
if err != nil {
return nil, err
}
integrations = append(integrations, notify.NewIntegration(n, n, r.Name, i))
integrations = append(integrations, notify.NewIntegration(n, n, r.Type, i))
}

return integrations, nil
Expand Down

0 comments on commit cc38613

Please sign in to comment.