A monitoring script /opt/logd/logd collects system metrics and appends JSON lines to /var/log/metrics.jsonl…
A monitoring script /opt/logd/logd collects system metrics and appends JSON lines to /var/log/metrics.jsonl…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Make /opt/logd/logd write exactly one valid JSON object per invocation to /var/log/metrics.jsonl…
The task
Goal: Make `/opt/logd/logd` write exactly one valid JSON object per invocation to `/var/log/metrics.jsonl` (append mode), with no corruption, no missing fields, and correct values regardless of input conditions.
Part of ai-and/termgrade-environments.