File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,6 @@ export class DefaultTelemetryClient implements TelemetryClient {
78
78
* @param batch batch of events
79
79
*/
80
80
public async postMetrics ( batch : MetricDatum [ ] ) : Promise < MetricDatum [ ] | undefined > {
81
- this . logger . info ( 'Trying to print compute' )
82
- this . logger . info ( getComputeEnvType ( ) )
83
81
try {
84
82
// If our batching logic rejected all of the telemetry, don't try to post
85
83
if ( batch . length === 0 ) {
@@ -93,15 +91,13 @@ export class DefaultTelemetryClient implements TelemetryClient {
93
91
AWSProductVersion : extensionVersion ,
94
92
ClientID : this . clientId ,
95
93
OS : os . platform ( ) ,
96
- OSVersion : 'myOsVersion' ,
94
+ OSVersion : os . release ( ) ,
97
95
ComputeEnv : getComputeEnvType ( ) ,
98
96
ParentProduct : vscode . env . appName ,
99
97
ParentProductVersion : vscode . version ,
100
98
MetricData : batch ,
101
99
} )
102
100
. promise ( )
103
- // this.logger.info(client)
104
- this . logger . info ( getComputeEnvType ( ) )
105
101
this . logger . info ( `telemetry: sent batch (size=${ batch . length } )` )
106
102
} else {
107
103
this . logger . info ( `telemetry: (test mode) dropped batch (size=${ batch . length } )` )
You can’t perform that action at this time.
0 commit comments