telepresenceio / telepresence

Local development against a remote Kubernetes or OpenShift cluster
https://www.telepresence.io
Other
6.61k stars 521 forks source link

Make usage data collection configurable using an extension point #3705

Closed thallgren closed 1 month ago

thallgren commented 1 month ago

Replace the function scout.NewReporter with a variable so that the actual function can be configured at runtime. The default setting for the variable is a function that renders all usage data collection as no-ops.

The Report interfaced used is left untouched so that the metriton implementation that is now removed can be re-added in the enterprise client.