@@ -47,6 +47,9 @@ case $1 in
47
47
< % if_p(' prometheus.log_level' ) do | log_level| %> \
48
48
--log.level=" <%= log_level %>" \
49
49
< % end %> \
50
+ < % if_p(' prometheus.log_format' ) do | log_format| %> \
51
+ --log.format=" <%= log_format %>" \
52
+ < % end %> \
50
53
< % if_p(' prometheus.query.max_concurrency' ) do | max_concurrency| %> \
51
54
--query.max-concurrency=" <%= max_concurrency %>" \
52
55
< % end %> \
@@ -81,9 +84,12 @@ case $1 in
81
84
< % if_p(' prometheus.storage.tsdb.max_block_duration' ) do | max_block_duration| %> \
82
85
--storage.tsdb.max-block-duration=" <%= max_block_duration %>" \
83
86
< % end %> \
84
- < % if_p(' prometheus.storage.tsdb.no_lockfile' ) do | no_lockfile| %> \
85
- --storage.tsdb.no-lockfile=" <%= no_lockfile %>" \
86
- < % end %> \
87
+ < % if p(' prometheus.storage.tsdb.no_lockfile' ) %> \
88
+ --storage.tsdb.no-lockfile \
89
+ < % end %>
90
+ < % if p(' prometheus.storage.tsdb.wal_compression' ) %> \
91
+ --storage.tsdb.wal-compression \
92
+ < % end %>
87
93
< % if_p(' prometheus.storage.remote.flush_deadline' ) do | flush_deadline| %> \
88
94
--storage.remote.flush-deadline=" <%= flush_deadline %>" \
89
95
< % end %> \
@@ -102,15 +108,11 @@ case $1 in
102
108
< % if_p(' prometheus.web.cors_origin' ) do | cors_origin| %> \
103
109
--web.cors.origin=" <%= cors_origin %>" \
104
110
< % end %> \
105
- < % if_p(' prometheus.web.enable_lifecycle' ) do | enable_lifecycle| %> \
106
- < % if enable_lifecycle %> \
111
+ < % if p(' prometheus.web.enable_lifecycle' ) %> \
107
112
--web.enable-lifecycle \
108
- < % end %> \
109
113
< % end %> \
110
- < % if_p(' prometheus.web.enable_admin_api' ) do | enable_admin_api| %> \
111
- < % if enable_admin_api %> \
114
+ < % if p(' prometheus.web.enable_admin_api' ) %> \
112
115
--web.enable-admin-api \
113
- < % end %> \
114
116
< % end %> \
115
117
< % if_p(' prometheus.web.external_url' ) do | external_url| %> \
116
118
--web.external-url=" <%= external_url %>" \
0 commit comments