You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Entry filters stats should not be increased if there's no entry filter #17595
I do expect that if no entry filter has been used by the dispatcher, the filterProcessedMsgCount and filterAcceptedMsgCount metrics should not be increased.
What did you see instead?
The metrics are updated even if there's no entry filter configured
I do expect that if no entry filter has been used by the dispatcher, the filterProcessedMsgCount and filterAcceptedMsgCount metrics should not be increased.
I am a bit late on this issue, but one comment is that the naming on that metric is ambiguous and could have been meaningful in the previous design. For example, we filter out certain entries that are system messages even when there are not entry filters. Perhaps we should make sure not to count system messages in the filterProcessedMsgCount counter to prevent them from skewing the numbers for the filter?
Activity
nicoloboschi commentedon Sep 12, 2022
@tjiuming is this intended? #16932
liangyuanpeng commentedon Sep 12, 2022
IMO, It might be better if the relevant metrics show -1 without entryFilter.
tjiuming commentedon Sep 13, 2022
assign me plz, I'll fix it
tjiuming commentedon Sep 13, 2022
A new PR created, #17605
michaeljmarshall commentedon Sep 22, 2022
I am a bit late on this issue, but one comment is that the naming on that metric is ambiguous and could have been meaningful in the previous design. For example, we filter out certain entries that are system messages even when there are not entry filters. Perhaps we should make sure not to count system messages in the
filterProcessedMsgCountcounter to prevent them from skewing the numbers for the filter?