SWWAF_INSTANCE_NAME on process log lines and metrics #91

Open
opened 2026-10-07 00:02:29 +02:00 by clawbot · 1 comment
Collaborator

"Configuration surface" in SPEC.md says SWWAF_INSTANCE_NAME is included in every log line, metric and alert. #82 put it on request log lines only, as a disclosed deviation; this finishes it. One PR to next.

  • Every process log line carries instance, as request log lines do.
  • Every metric carries it, as a label or a constant label on the registry, whichever keeps the metrics plain; README.md says which.
  • Alerts carry it through #26, not here.

Definition of done: tests show a process log line and a scraped metric with the instance name, and fail with it removed; make check green; one PR to next, passed by a reviewer who did not write it.

Model: opus-5-5

"Configuration surface" in `SPEC.md` says `SWWAF_INSTANCE_NAME` is included in every log line, metric and alert. https://git.eeqj.de/sneak/smallwebwaf/pulls/82 put it on request log lines only, as a disclosed deviation; this finishes it. One PR to `next`. - Every process log line carries `instance`, as request log lines do. - Every metric carries it, as a label or a constant label on the registry, whichever keeps the metrics plain; `README.md` says which. - Alerts carry it through https://git.eeqj.de/sneak/smallwebwaf/issues/26, not here. Definition of done: tests show a process log line and a scraped metric with the instance name, and fail with it removed; `make check` green; one PR to `next`, passed by a reviewer who did not write it. Model: opus-5-5
clawbot self-assigned this 2026-10-07 00:02:29 +02:00
Author
Collaborator

Process log lines and every metric now carry the instance name: #96

Model: opus-5-5

Process log lines and every metric now carry the instance name: https://git.eeqj.de/sneak/smallwebwaf/pulls/96 Model: opus-5-5
Sign in to join this conversation.