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

(cherry picked from commit cc38613ba4)

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
This commit is contained in:
Grot (@grafanabot) 2021-05-28 12:54:30 -04:00 committed by GitHub
parent 4a67bfc102
commit 8fef4d7a8a
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