Enable stats collection when pilot is enabled
This commit is contained in:
parent
05333b9579
commit
af04e92cf2
2 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,8 @@ For this very reason, the sendAnonymousUsage option is mandatory: we want you to
|
|||
|
||||
This feature comes from the public proposal [here](https://github.com/traefik/traefik/issues/2369).
|
||||
|
||||
This feature is activated when using Traefik Pilot to better understand the community's need, and also to get information about plug-ins popularity.
|
||||
|
||||
In order to help us learn more about how Traefik is being used and improve it, we collect anonymous usage statistics from running instances.
|
||||
Those data help us prioritize our developments and focus on what's important for our users (for example, which provider is popular, and which is not).
|
||||
|
||||
|
|
|
@ -224,6 +224,11 @@ func (c *Configuration) SetEffectiveConfiguration() {
|
|||
}
|
||||
}
|
||||
|
||||
// Enable anonymous usage when pilot is enabled.
|
||||
if c.Pilot != nil && c.Pilot.Token != "" {
|
||||
c.Global.SendAnonymousUsage = true
|
||||
}
|
||||
|
||||
c.initACMEProvider()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue