alerting: fixes per-receiver metric cardinality (#34915)

This commit is contained in:
Owen Diehl 2021-05-28 12:31:23 -04:00 committed by GitHub
parent 9aca032d10
commit cc38613ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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