From 21419ae8ea79292b8b2c1b1844bd4ce5cb6bc052 Mon Sep 17 00:00:00 2001 From: Hugh Kaznowski Date: Sat, 5 Sep 2026 19:35:32 +0100 Subject: [PATCH] Add IsError worked example to Parameters docs (ticket 019) Shows how to declare a boolean IsError param (regex (?i)error, kind boolean, no capture group) that's true/false on every log line, using the boolean param kind added in ticket 018. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01XFUNZwCvz3kcod3352ZR2o --- webapp/src/components/Docs.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webapp/src/components/Docs.tsx b/webapp/src/components/Docs.tsx index c12b610..f9c03d9 100644 --- a/webapp/src/components/Docs.tsx +++ b/webapp/src/components/Docs.tsx @@ -178,6 +178,14 @@ const SECTIONS: DocSection[] = [ a metric (see Filtering above — bare params aren't queryable by name on their own, only metric labels/values are).

+

+ Given the same kind of lines, declaring a param named IsError with regex{' '} + {String.raw`(?i)error`} and type boolean — no capture group needed — shows{' '} + IsError as true or false on every line in the log table, based on + whether the regex matches that line's text case-insensitively. Unlike string/number + /timestamp/duration params, a boolean param is never omitted for a + non-matching line. +

), },