Open jkmathew opened 9 months ago
@jkmathew Most of the hardware information are being fetched in this class: https://github.com/spotify/XCMetrics/blob/c045eb9769e62a51bdf7d1d7bb7cbe0f2acb34dc/Sources/XCMetricsClient/Hardware%20Management/HardwareFactsFetcher.swift
We use mostly standard commands to collect the hardware information, so you should be able to easily reproduce if those commands are erroring out or producing invalid data and aren't sent correctly to the service.
Another issue I am seeing is CPU model is Apple M1 Pro but the CPU architecture is x86_64, is this because the developer enabled Rosseta for their Xcode?
Yes, that's correct.
I am seeing some fields like
host_os
,host_architecture
,host_os_version
,cpu_model
are empty in thebuild_hosts
table. Also, integer fields likecpu_count
,memory_total_mb
,swap_total_mb
etc are 0. Is this because of some configuration issue or something I am doing wrong?Another issue I am seeing is CPU model is![Screenshot 2023-09-19 at 10 46 13](https://github.com/spotify/XCMetrics/assets/1732366/5c08363a-fb14-4683-a213-81a69facd717)
Apple M1 Pro
but the CPU architecture isx86_64
, is this because the developer enabled Rosseta for their Xcode?