[COMPASS-5503] Windows OS version is null in logs Created: 09/Feb/22  Updated: 11/Sep/23

Status: Open
Project: Compass
Component/s: Logging, Telemetry Data
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3

 Description   

A few recent logs from windows customers don't have the osReleaseName/osReleaseVersion.
We can expand the os release name and version parsing in https://github.com/mongodb-js/compass/blob/main/packages/compass/src/main/logging.ts#L42 to give more information for windows devices.

{"t":{"$date":"2022-02-09T15:52:09.311Z"},"s":"I","c":"COMPASS-MAIN","id":1001000001,"ctx":"logging","msg":"Starting logging","attr":{"version":"1.30.1","nodeVersion":"14.16.0","electronVersion":"13.5.1","chromeVersion":"91.0.4472.164","platform":"win32","arch":"x64","osReleaseName":null,"osReleaseVersion":null}}
{"t":{"$date":"2022-02-09T15:52:15.637Z"},"s":"I","c":"COMPASS-MIGRATIONS","id":1001000070,"ctx":"Migrations","msg":"Considering upgrade migration","attr":{"previousVersion":"1.19.12","currentVersion":"1.30.1","tasks":["1.20.0-beta.0","1.21.0-beta.0","1.21.0-dev.0"]}}


Generated at Wed Feb 07 22:39:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.