-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add system.cpu.physical.count and system.cpu.logical.count metrics #99
Add system.cpu.physical.count and system.cpu.logical.count metrics #99
Conversation
697940c
to
7f076c4
Compare
7f076c4
to
0449e70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two suggestions, otherwise looks good to me
cc @open-telemetry/specs-semconv-approvers @open-telemetry/specs-semconv-maintainers |
6375b31
to
d01a81a
Compare
60f24fe
to
3bcb47f
Compare
bdf0191
to
e3c6def
Compare
e3c6def
to
4625204
Compare
@tigrannajaryan @jamesmoessis the metrics have been renamed and the description of Separate note, this will likely conflict with #154 |
9a6a50b
to
7422683
Compare
30f35a1
to
dd4cf63
Compare
added that part @dmitryax :) |
74cd430
to
48d6b37
Compare
Works for me too. I rephrased it a bit. Can you check one more time @dmitryax ? ^^ |
Signed-off-by: Benedikt Bongartz <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Tigran Najaryan <[email protected]> Co-authored-by: Dmitrii Anoshin <[email protected]>
bdc779f
to
e1be1b1
Compare
@open-telemetry/specs-semconv-maintainers anything left to do on this PR? |
|
Signed-off-by: Benedikt Bongartz <[email protected]>
Fixed |
Ideally, we'd like this change to either be generated off YAML or wait until the system metrics are defined in YAML, then merge this PR with that change. |
Co-authored-by: Armin Ruech <[email protected]>
…pen-telemetry#99) Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Tigran Najaryan <[email protected]> Co-authored-by: Dmitrii Anoshin <[email protected]> Co-authored-by: Armin Ruech <[email protected]>
…pen-telemetry#99) Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Tigran Najaryan <[email protected]> Co-authored-by: Dmitrii Anoshin <[email protected]> Co-authored-by: Armin Ruech <[email protected]>
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
ref: open-telemetry/opentelemetry-specification#3556
Closes #98