Promtail
Deploy and configure Grafana's Promtail on a node.
Description
Promtail is an agent which ships the contents of local logs to a private Loki instance or Grafana Cloud. It is usually deployed to every machine that has applications needed to be monitored.
It primarily:
- Discovers targets
- Attaches labels to log streams
- Pushes them to the Loki instance.
Currently, Promtail can tail logs from two sources: local log files and the systemd journal (on AMD64 machines only).
Usage
The simplest way to get started with this module is to add include promtail
to a manifest and create your config settings in Hiera. Additional details and examples are contained in REFERENCE.md.
Reference
This module is documented via
pdk bundle exec puppet strings generate --format markdown
.
Please see REFERENCE.md for more info.
Changelog
CHANGELOG.md is generated prior to each release via
pdk bundle exec rake changelog
. This process relies on labels that are applied to each pull request.
Limitations
At the moment, this module only supports Linux. Future versions will support additional OS's including Windows.
Development
Pull requests are welcome! A Vagrantfile is also included in this repository that can be used during development.