From 39ec2bcd32b16c5ab2f5233ddc2abfc3023b022a Mon Sep 17 00:00:00 2001 From: "phares@iscn5cg20977xq" Date: Sun, 9 Nov 2025 09:39:13 -0700 Subject: [PATCH] Exclude lines containing specific key from performance message processing --- Helpers/HelperGatusToMona.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Helpers/HelperGatusToMona.cs b/Helpers/HelperGatusToMona.cs index bca1f6c..bce991f 100644 --- a/Helpers/HelperGatusToMona.cs +++ b/Helpers/HelperGatusToMona.cs @@ -103,6 +103,8 @@ internal static partial class HelperGatusToMona { foreach (string line in lines) { if (!line.StartsWith(appSettings.GatusConfiguration.Metric)) continue; + if (line.Contains(appSettings.GatusConfiguration.Key)) + continue; segments = line.Split('{'); if (segments.Length != 2) continue;