File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
15
15
16
16
### Changed
17
17
18
+ - [ #8192 ] ( https://github.com/thanos-io/thanos/pull/8192 ) Sidecar: fix default get config timeout
19
+
18
20
### Removed
19
21
20
22
### Fixed
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ func (pc *prometheusConfig) registerFlag(cmd extkingpin.FlagClause) *prometheusC
136
136
Default ("30s" ).DurationVar (& pc .getConfigInterval )
137
137
cmd .Flag ("prometheus.get_config_timeout" ,
138
138
"Timeout for getting Prometheus config" ).
139
- Default ("5s " ).DurationVar (& pc .getConfigTimeout )
139
+ Default ("30s " ).DurationVar (& pc .getConfigTimeout )
140
140
pc .httpClient = extflag .RegisterPathOrContent (
141
141
cmd ,
142
142
"prometheus.http-client" ,
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ Flags:
161
161
https://thanos.io/tip/thanos/storage.md/#configuration
162
162
--prometheus.get_config_interval=30s
163
163
How often to get Prometheus config
164
- --prometheus.get_config_timeout=5s
164
+ --prometheus.get_config_timeout=30s
165
165
Timeout for getting Prometheus config
166
166
--prometheus.http-client=<content>
167
167
Alternative to 'prometheus.http-client-file'
You can’t perform that action at this time.
0 commit comments