Skip to content

Commit f2d8342

Browse files
feat: Add raw scores to debug
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
1 parent 139bcce commit f2d8342

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/plugins/scorer/active_request.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ func (s *ActiveRequest) Score(ctx context.Context, _ *scheduling.CycleState, _ *
164164
}
165165
s.mutex.RUnlock()
166166

167+
log.FromContext(ctx).V(logutil.DEBUG).Info("Active request counts", "endpointCounts", scoredEndpoints, "maxCount", maxCount)
168+
167169
scoredEndpointsMap := make(map[scheduling.Endpoint]float64, len(endpoints))
168170
for _, endpoint := range endpoints {
169171
endpointName := endpoint.GetMetadata().NamespacedName.String()

0 commit comments

Comments
 (0)