-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Count the number of vCPUs instead of the number of CPU cores
Based on the available documents, the client should collect and export "a single metric that counts the number of VCPUs on the system". Let's use a value that can be calculated as: `cat /proc/cpuinfo | grep processor | wc -l` There are several alternative options and methods to consider, but let's start with the easist one that doesn't require any additional dependencies. Use the metric name `system_cpu_logical_count` that follows semantic conventions for OTEL: open-telemetry/semantic-conventions#99
- Loading branch information
Showing
3 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters