From e402a3f25f7fa2b733d2929170f6d955a0397646 Mon Sep 17 00:00:00 2001 From: Nadia Santalla Date: Wed, 20 Aug 2025 15:51:12 +0200 Subject: [PATCH] feat: add frequency and timeout to checkInfo and thus logs CheckInfo holds metadata about a check, which is added to log lines related to that check. It is useful to find logs for a given check ID, or to trace the check that yielded a particularly interesting log line. We suspect that some frequency/timeout combinations are problematic, specifically where those values are too close. By adding them to this logged metadata, we may be able to spot if problematic log lines are due to these combinations. --- internal/k6runner/k6runner.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/k6runner/k6runner.go b/internal/k6runner/k6runner.go index 1331015a2..0c0686909 100644 --- a/internal/k6runner/k6runner.go +++ b/internal/k6runner/k6runner.go @@ -73,6 +73,8 @@ func CheckInfoFromSM(smc smmmodel.Check) CheckInfo { ci.Metadata["regionID"] = smc.RegionId ci.Metadata["created"] = smc.Created ci.Metadata["modified"] = smc.Modified + ci.Metadata["frequency"] = smc.Frequency + ci.Metadata["timeout"] = smc.Timeout return ci }