Skip to content
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 new metrics for runtime instrumentation #1924

Open
liustanley opened this issue Aug 29, 2023 · 1 comment
Open

Add new metrics for runtime instrumentation #1924

liustanley opened this issue Aug 29, 2023 · 1 comment

Comments

@liustanley
Copy link
Contributor

I noticed that there a number of metrics that are missing from the current runtime instrumentation, and I'd like to request for the following runtime metrics to be added:

CPU Percent - psutil.Process().cpu_percent
Context Switches Involuntary - psutil.Process().num_ctx_switches().involuntary
Context Switches Voluntary - psutil.Process().num_ctx_switches().voluntary
Num Threads - psutil.Process().num_threads()

bourbonkk pushed a commit to bourbonkk/opentelemetry-python-contrib that referenced this issue Sep 12, 2023
@alexmojaki
Copy link
Contributor

@xrmx this is done now, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants