Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
husonghua committed Dec 28, 2021
1 parent 5f16c49 commit ddae9bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inventory.sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ node_exporter_version='1.2.2'
# Promtail
promtail=false
promtail_version='2.4.1'
promtail_monitor=192.168.0.0
promtail_monitor='http://192.168.0.0:3100'
promtail_name=something
2 changes: 1 addition & 1 deletion roles/setup/templates/promtail.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ positions:
filename: /tmp/positions.yaml

clients:
- url: http://{{ promtail_monitor }}:3100/loki/api/v1/push
- url: {{ promtail_monitor }}/loki/api/v1/push

scrape_configs:
- job_name: journal
Expand Down

0 comments on commit ddae9bf

Please sign in to comment.