Skip to content

Commit c1d1acc

Browse files
chore: add matching policies attr
1 parent d0730f0 commit c1d1acc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/workspace-engine/pkg/workspace/store/release_targets.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ func (r *ReleaseTargets) computePolicies(ctx context.Context, releaseTarget *oap
174174
}
175175
}
176176

177+
span.SetAttributes(attribute.Int("matchingPolicies.count", len(matchingPolicies)))
178+
177179
return matchingPolicies, nil
178180
}
179181

0 commit comments

Comments
 (0)