atlasbot: fix hottest line parsing

This commit is contained in:
Brad Stein 2026-02-01 14:45:10 -03:00
parent 174324824d
commit 93532c2622

View File

@ -1003,7 +1003,7 @@ def _expand_hottest_line(line: str) -> list[str]:
continue
metric, rest = part.split("=", 1)
metric = metric.strip()
match = re.search(r"(?P<node>[^\\s\\[]+).*\\((?P<value>[^)]+)\\)", rest)
match = re.search(r"(?P<node>[^\s\[]+).*\((?P<value>[^)]+)\)", rest)
if not match:
continue
node = match.group("node").strip()