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

hostmetrics: Adding process.uptime metric #37492

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MovieStoreGuy
Copy link
Contributor

Description

Adding new metric into hostmetric process scraper to track process uptime

Link to tracking issue

Fixes #36667

Testing

Added tests to validate coverage.

Documentation

Added as part of mdatagen

@braydonk
Copy link
Contributor

Thanks for the PR @MovieStoreGuy, the implementation looks good. Could you adjust the metric definition to match process.uptime in semantic conventions?

@MovieStoreGuy MovieStoreGuy force-pushed the msg/process-uptime-addition branch from 79a9b0b to e90f0b5 Compare January 27, 2025 22:43
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MovieStoreGuy
Copy link
Contributor Author

Alright, I have resolved all the issues with regards to tests and linting, however, there is some vulns being reported due to the go version being used within tests.

These should be fixed outside of this PR and merged in to validate the complete CI workflow.

This adds process uptime into the hostmetrics receiver.
@MovieStoreGuy MovieStoreGuy force-pushed the msg/process-uptime-addition branch from ae13f0b to cf81852 Compare January 28, 2025 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

process.uptime should be added in hostmetrics/process scraper
4 participants