Skip to content

Instantly share code, notes, and snippets.

View gurre's full-sized avatar

Gustav Svalander gurre

  • Göteborg, Sweden
  • 14:45 (UTC +02:00)
View GitHub Profile
@gurre
gurre / promtail.yml
Created January 29, 2023 07:44
Promtail configuration for systemd and logs from all nomad task directories using consul service discovery
positions:
filename: /tmp/data/positions.yaml
server:
log_level: warn
#disable: true
http_listen_address: {{ env "NOMAD_IP_http" }}
http_listen_port: {{ env "NOMAD_PORT_http" }}
grpc_listen_address: {{ env "NOMAD_IP_grpc" }}
grpc_listen_port: {{ env "NOMAD_PORT_grpc" }}