Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Opened

PR #74 opened: infra: add Nightwatch agent to supervisor

Summary

  • Adds Nightwatch agent (php artisan nightwatch:agent) as a supervised process in the Docker container
  • The agent was installed via composer but never running, so no telemetry was reaching the Nightwatch dashboard
  • Also updated LOG_STACK env var to single,stderr on both prod and dev via Coolify API so Laravel logs are visible in Coolify application logs
  • Added NIGHTWATCH_TOKEN and NIGHTWATCH_REQUEST_SAMPLE_RATE env vars to dev

Test plan

  • Deploy to dev, verify Nightwatch agent starts (check supervisor status in container logs)
  • Verify data appears in Nightwatch dashboard
  • Verify Laravel logs now visible in Coolify application logs via stderr
+13
additions
-0
deletions
1
files changed