File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 193193 "type" : " string" ,
194194 "title" : " Timeout" ,
195195 "description" : " HTTP request timeout" ,
196- "format " : " duration "
196+ "pattern " : " ^[0-9]+[smhd]$ "
197197 },
198198 "idle_timeout" : {
199199 "type" : " string" ,
200200 "title" : " Idle_Timeout" ,
201201 "description" : " HTTP request idle timeout" ,
202- "format " : " duration "
202+ "pattern " : " ^[0-9]+[smhd]$ "
203203 },
204204 "timeout_shutdown" : {
205205 "type" : " string" ,
206206 "title" : " Shutdown timeout" ,
207207 "description" : " Timeout to wait on shutdown to allow load balancers detect that we're going away" ,
208- "format " : " duration "
208+ "pattern " : " ^[0-9]+[smhd]$ "
209209 },
210210 "concurrency" : {
211211 "type" : " integer" ,
227227 "type" : " string" ,
228228 "title" : " Max Connection Duration" ,
229229 "description" : " Maximum duration to keep outgoing connections alive (to Cortex/Mimir)" ,
230- "format " : " duration "
230+ "pattern " : " ^[0-9]+[smhd]$ "
231231 },
232232 "max_conns_per_host" : {
233233 "type" : " integer" ,
497497 ],
498498 "title" : " Interval" ,
499499 "description" : " ServiceMonitor scrape interval" ,
500- "format " : " duration "
500+ "pattern " : " ^[0-9]+[smhd]$ "
501501 },
502502 "scrapeTimeout" : {
503503 "type" : [
506506 ],
507507 "title" : " Scrape Timeout" ,
508508 "description" : " ServiceMonitor scrape timeout in Go duration format (e.g. 15s)" ,
509- "format " : " duration "
509+ "pattern " : " ^[0-9]+[smhd]$ "
510510 },
511511 "relabelings" : {
512512 "type" : " array" ,
You can’t perform that action at this time.
0 commit comments