AI Flows & Container Telemetry
Promtail
A relentless log scraper and labeling agent that guarantees centralized visibility for every system event.
Promtail acts as the dedicated log shipping agent for the STD.DEV environment. It aggressively scrapes Docker container logs and host system logs, actively hunting for the JSON-wrapped `score_metrics` emitted by the Drupal backend to push them securely into Grafana Loki.
Intelligent Log Shipping
To maintain complete diagnostic transparency, STD.DEV requires every raw server event to be centralized and searchable. Promtail mounts the host system's /var/lib/docker/containers and /var/log directories, reading the raw stdout and stderr outputs of every running microservice. Before shipping these logs to Loki, Promtail applies intelligent labeling based on container names and metadata. Serving as the relentless frontline log scraper within the observability stack, Promtail complements tools like rsyslog (which parses structured data from the Drupal backend) by directly attaching to the Docker daemon to capture raw application outputs. By seamlessly shipping these unformatted logs directly to Grafana Loki, Promtail ensures that no system event or crash loop is ever lost, giving engineers absolute transparency in their Grafana dashboards.
What is Promtail's primary role in the STD.DEV environment?
Promtail serves as the dedicated log shipping agent for the STD.DEV environment, responsible for scraping and securely pushing logs into Grafana Loki.
How does Promtail collect logs from Docker containers and the host system?
What specific type of data does Promtail look for in Docker container logs?
Why is centralized and searchable logging important for STD.DEV?
What kind of intelligent labeling does Promtail apply before shipping logs?
How does Promtail complement tools like rsyslog in the observability stack?
What is the ultimate benefit of Promtail shipping unformatted logs directly to Grafana Loki?
What is the purpose of Promtail's log shipping?
What directories does Promtail access to read logs?
What is the relationship between Promtail and Grafana Loki?