Theia metrics extension monitors metrics only related to back-end node.js process?

Hi team,

I have been looking to collect metrics for our VSCode IDE which is built off of Theia 1.19.0 currently when the user faces any issues like web socket connection errors.

I came across https://www.npmjs.com/package/@theia/metrics and this collects metrics only related to Node.js backend processes? If so, do you have any suggestions on how to collect the metrics related to web socket failures, track customer activity, etc and send it eventually to the place we want?

Thanks and Regards,
Chid.