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
'User has been dropped', 'Illegal type {} of argument of function {}. Should be DateTime or DateTime64'
48
+
'User has been dropped', 'Illegal type {} of argument of function {}. Should be DateTime or DateTime64',
49
+
'Bad SSH public key provided', 'Database {} does not exist', 'Substitution {} is not set', 'Invalid cache key hex: {}'
49
50
] as arr) array join arr;
50
51
51
52
-- Check that we don't have too many short meaningless message patterns.
@@ -61,7 +62,8 @@ select 'messages shorter than 16', max2(countDistinctOrDefault(message_format_st
61
62
-- This table currently doesn't have enough information to do this reliably, so we just regex search for " (ERROR_NAME_IN_CAPS)" and hope that's good enough.
62
63
-- For the "Code: 123. DB::Exception: " part, we just subtract 26 instead of searching for it. Because sometimes it's not at the start, e.g.:
63
64
-- "Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception:[...]"
64
-
select'exceptions shorter than 30', max2(countDistinctOrDefault(message_format_string), 3) from logs where message ilike '%DB::Exception%'and if(length(regexpExtract(message, '(.*)\\([A-Z0-9_]+\\)')) as pref >0, pref, length(message)) <30+26and message_format_string not in known_short_messages;
65
+
select'exceptions shorter than 30', max2(countDistinctOrDefault(message_format_string), 3) from logs
66
+
where message ilike '%DB::Exception%'and if(length(regexpExtract(message, '(.*)\\([A-Z0-9_]+\\)')) as pref >0, pref, length(message)) <30+26and message_format_string not in known_short_messages;
65
67
66
68
67
69
-- Avoid too noisy messages: top 1 message frequency must be less than 30%. We should reduce the threshold
0 commit comments