mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Merge pull request #993 from prometheus/fabxc/filesd_interval
Increase default retry interval for file SD
This commit is contained in:
commit
60967736fa
|
@ -91,7 +91,7 @@ var (
|
|||
|
||||
// The default file SD configuration.
|
||||
DefaultFileSDConfig = FileSDConfig{
|
||||
RefreshInterval: Duration(30 * time.Second),
|
||||
RefreshInterval: Duration(5 * time.Minute),
|
||||
}
|
||||
|
||||
// The default Consul SD configuration.
|
||||
|
|
|
@ -65,7 +65,7 @@ var expectedConf = &Config{
|
|||
},
|
||||
{
|
||||
Names: []string{"bar/*.yaml"},
|
||||
RefreshInterval: Duration(30 * time.Second),
|
||||
RefreshInterval: Duration(5 * time.Minute),
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue