mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
fix: Honor DisableAutoUpdate config and disable Docker disk metrics by default
This commit is contained in:
parent
6ac5e3ebfe
commit
df3ff171b9
1 changed files with 2 additions and 2 deletions
|
|
@ -182,14 +182,14 @@ func main() {
|
|||
AgentType: "unified",
|
||||
AgentVersion: Version,
|
||||
InsecureSkipVerify: cfg.InsecureSkipVerify,
|
||||
DisableAutoUpdate: true,
|
||||
DisableAutoUpdate: cfg.DisableAutoUpdate,
|
||||
LogLevel: cfg.LogLevel,
|
||||
Logger: &logger,
|
||||
SwarmScope: "node",
|
||||
IncludeContainers: true,
|
||||
IncludeServices: true,
|
||||
IncludeTasks: true,
|
||||
CollectDiskMetrics: true,
|
||||
CollectDiskMetrics: false,
|
||||
}
|
||||
|
||||
dockerAgent, err = dockeragent.New(dockerCfg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue