Files
gitlab-mirror/roles/promtail
Alexander Gorelyshev 3072a3c1b8 Update README.md
2025-12-26 22:50:28 +04:00
..
2025-12-26 22:10:09 +04:00
2025-12-26 21:58:02 +04:00
2025-12-26 22:36:10 +04:00
2025-12-26 22:50:03 +04:00
2025-12-17 17:58:14 +03:00
2025-12-26 22:50:28 +04:00

promtail

Installs promtail as a systemd service.

Requirements

Role Variables

(all optional)

  • promtail_version: Promtail version to install
  • promtail_loki_server: address of the Loki server
  • promtail_loki_port: Loki listening port
  • promtail_positions_path: a YAML file containing last scraped positions in the logs (default: /var/lib/promtail/positions.yaml)
  • promtail_custom_scrape_configs: additional scrape_configs configuration
  • promtail_add_var_logs: scrape the entire /var/logs directory (default: true)

Dependencies

None

Example Playbook

See: converge.yml

License

MIT

Author Information

Alexander Gorelyshev and Danilkin Danila (MIPT)

corvus-migratorius@proton.me