Skip to content

Commit

Permalink
docs: add small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Netail committed Apr 9, 2024
1 parent 63cc39d commit 03e2237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/opentelemetry-host-metrics/src/stats/si.ts
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

// Import from network file directly as importing from the root imports the /lib/cpu file,
// resulting in also having to add osx-temperature-sensor as a dependency for macOS,
// while /lib/cpu isn't even used by this package (deep-importing not working as expected)
import { networkStats } from 'systeminformation/lib/network';
import type { Systeminformation } from 'systeminformation';

Expand Down

0 comments on commit 03e2237

Please sign in to comment.