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

process.uptime should be added in hostmetrics/process scraper #36667

Closed
shikhar1987 opened this issue Dec 4, 2024 · 3 comments · Fixed by #37492
Closed

process.uptime should be added in hostmetrics/process scraper #36667

shikhar1987 opened this issue Dec 4, 2024 · 3 comments · Fixed by #37492

Comments

@shikhar1987
Copy link

Component(s)

No response

Is your feature request related to a problem? Please describe.

There is no metric which captures the uptime of processes running on a host.

Describe the solution you'd like

There should be a metric like process.uptime which should display the pid, elapsed time and command as dimensions.

Describe alternatives you've considered

Currently we use telegraf to capture the output of ps -eo pid,etime,comm.

Additional context

No response

@shikhar1987 shikhar1987 added enhancement New feature or request needs triage New item requiring triage labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

Pinging code owners for receiver/hostmetrics: @dmitryax @braydonk. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.

@braydonk
Copy link
Contributor

braydonk commented Dec 4, 2024

Since this now exists in our semantic conventions we can add it in the process scraper. I will find some time to do this soon, unless anyone else would like to contribute it.

@shikhar1987
Copy link
Author

Hi @braydonk / @dmitryax ,
Is there a possibility for anyone of you to have a look at this one?

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

Successfully merging a pull request may close this issue.

2 participants