act(bug): 6.7.x: only inc `checks-enqueued` when a check is created.
@@ -153,9 +153,9 @@ func (s *scanner) check(ctx context.Context, checkable db.Checkable, resourceTyp
if !created {
s.logger.Debug("check-already-exists")
- }
-
+ } else {
metric.Metrics.ChecksEnqueued.Inc()
+ }
return nil
}
