redhat-developer / vscode-redhat-telemetry

21 stars 25 forks source link

Only include 30% of all 'textCompletion' events from 'redhat.java'. #36

Closed rgrunber closed 11 months ago

rgrunber commented 11 months ago

https://github.com/redhat-developer/vscode-java/blob/8fa2464e16028b248fd89efc14622aeab251e890/src/standardLanguageClient.ts#L837

@fbricon , let me know if the logic makes sense. I'm assuming it is merged with the * configuration to restrict the textCompletion event to just 1%. (as opposed to having to write an exclusion for 99%)

rgrunber commented 11 months ago

Just a small change. I still think we'll only include < 1% at release time, but for pre-releases, let's restrict to 30% for now. So a few days before releasing we can do 1% of 30% (ie. 0.003).