-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support for scraping a system "uptime" metric #14130
Comments
Pinging code owners: @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I believe this is a reasonable request. I think a new We would probably need a semantic convention established for the metric name. I allowed myself to create a proposal here: open-telemetry/semantic-conventions#648. |
@astencel-sumo I like your idea of a I don't think we need to wait for something like |
I've also noticed there is an Perhaps we can get some thoughts on the above from the codeowner of host metrics - @dmitryax any thoughts? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Still useful |
Can we sort of reopen this issue ? I think it is still relevant. |
We are looking for this matrix |
This issue was closed due to inactivity some time ago. Recently a new issue has been raised for this: #31627, so there's a chance this will be implemented. |
Is your feature request related to a problem? Please describe.
The problem is that there is no "uptime" metric emitted from the collector's receivers. For us, many existing systems rely on this metric being scraped, and so not having this metric blocks migration. An entirely new receiver for this seems overkill.
Other agents, such as the signalfx agent, have scrapers for this.
Describe the solution you'd like
A scraper in the
hostmetricsreceiver
that retrieves uptime, in the Linux case, from/proc/uptime
. Also open to suggestions if there are any other suitable receivers. Potentially there could be a scraper in the hostmetrics receiver that scrapes miscellaneous system information. Also open to suggestions here.Describe alternatives you've considered
I've considered writing my own receiver that collects the metric.
Additional context
No response
The text was updated successfully, but these errors were encountered: