diff --git a/retrieval/targetmanager.go b/retrieval/targetmanager.go index 7d32f83c8..55e022741 100644 --- a/retrieval/targetmanager.go +++ b/retrieval/targetmanager.go @@ -265,7 +265,7 @@ func (tm *TargetManager) updateTargetGroup(tgroup *config.TargetGroup, cfg *conf if told == nil { continue } - if tnew.InstanceIdentifier() == told.InstanceIdentifier() { + if tnew.fingerprint() == told.fingerprint() { match = told oldTargets[j] = nil break