Skip to content

Commit

Permalink
add piproxy_prometheus_address variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jfolz committed Jul 12, 2024
1 parent 6abd992 commit b9bc535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ piproxy_service_name: "piproxy"
piproxy_user: "piproxy"
piproxy_group: "{{ piproxy_user }}"
piproxy_address: "0.0.0.0:8080"
piproxy_prometheus_address: "0.0.0.0:9898"
piproxy_cache_path: "/var/lib/cache/{{ piproxy_service_name }}"
piproxy_cache_size: "20G"
piproxy_read_size: "256k"
Expand Down
1 change: 1 addition & 0 deletions templates/config.yml.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
address: {{ piproxy_address }}
prometheus_address: {{ piproxy_prometheus_address }}
cache_path: {{ piproxy_cache_path }}
cache_size: {{ piproxy_cache_size }}
read_size: {{ piproxy_read_size }}
Expand Down

0 comments on commit b9bc535

Please sign in to comment.