9-BoNUS
admin
Promtail.yaml

Documentation

This minimal config scrape only single log file.

Primarily used in rpm/deb packaging where promtail service can be started during system init process.

And too much scraping during init process can overload the complete system.

https://github.com/grafana/loki/issues/11398 (opens in a new tab)

This minimal config scrape only single log file.

Primarily used in rpm/deb packaging where promtail service can be started during system init process.

And too much scraping during init process can overload the complete system.

https://github.com/grafana/loki/issues/11398 (opens in a new tab)

server: http_listen_port: 9080 grpc_listen_port: 0

positions: filename: /tmp/positions.yaml

clients:

scrape_configs:

Paytring API logs (Grouped)

  • job_name: DR-x-logs static_configs:
    • targets:

      • localhost labels: job: DR-x-logs app: x-api env: production path: /var/www/backend/storage/logs/*.log
    • targets:

      • localhost labels: job: DR-x-logs app: x-api-multipg env: production path: /var/www/backend/storage/logs/multipg/*.log

💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI