rip out opt-in telemetry
this will be added back in when:
* we have a better idea of what to collect
* we have a way to prompt the user and communicate to them what we'll be
sending
@@ -139,8 +139,6 @@ type ATCCommand struct {
} `group:"Garbage Collection" namespace:"gc"`
BuildTrackerInterval time.Duration `long:"build-tracker-interval" default:"10s" description:"Interval on which to run build tracking."`
-
- TelemetryOptIn bool `long:"telemetry-opt-in" description:"Enable anonymous concourse version reporting."`
}
func (cmd *ATCCommand) WireDynamicFlags(commandFlags *flags.Command) {
@@ -571,16 +569,6 @@ func (cmd *ATCCommand) Runner(args []string) (ifrit.Runner, error) {
)},
}
- if cmd.TelemetryOptIn {
- url := fmt.Sprintf("http://telemetry.concourse.ci/?version=%s", Version)
- go func() {
- _, err := http.Get(url)
- if err != nil {
- logger.Error("telemetry-version", err)
- }
- }()
- }
-
if cmd.Worker.GardenURL.URL() != nil {
members = cmd.appendStaticWorker(logger, dbWorkerFactory, members)
}
