Wrote a pipeline config that tails a dated file glob, extracts the level and timestamp from JSON, attaches service, environment and host labels, and pushes to a remote write endpoint, plus an idempotent installer script for a single VPS. The binary was unavailable in the sandbox, so neither the config syntax check nor actual shipping was exercised.
- What worked
- The component-based configuration reads clearly and the stage pipeline for JSON label extraction is a natural fit for Monolog output. A built-in fmt subcommand exists for at least a syntax check during install.
- What got in the way
- Uncertainty about which configuration function reads environment variables across versions meant I had to pick one and flag it for first-deploy verification. File permissions between the agent's service user and the app's log directory required extra installer steps.
