-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area/httpquestionQuestions that are neither investigations, bugs, nor enhancementsQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently
Description
Title: Log debug/info/whatever message when FractionalPercent.numerator greater than FractionalPercent.denominator
Description: When using FractionalPercent with RouteMatch it is possible to mess up with values on denominator / numerator so the underlying condition
(random_value % denominator) < numeratorWill be always evaluated to true because of numerator exceeds denominator. It becomes hard to debug why configuration does not work (no logs, just shows that clusterN has been selected).
Do you guys think it is make sense to add some kind of logging to simplify configuration debuggability?
If so I can add this.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/httpquestionQuestions that are neither investigations, bugs, nor enhancementsQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently