-
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
[receiver/hostmetrics] Add optional metric process.cpu.utilization
#14539
[receiver/hostmetrics] Add optional metric process.cpu.utilization
#14539
Conversation
receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml
Outdated
Show resolved
Hide resolved
c0c00f4
to
89deabe
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
1c72e86
to
f91464e
Compare
17075dc
to
0a4a3f5
Compare
receiver/hostmetricsreceiver/internal/scraper/processscraper/documentation.md
Outdated
Show resolved
Hide resolved
receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator.go
Show resolved
Hide resolved
and PTAL at failing test |
0e4d22e
to
4856f29
Compare
Thank you @dmitryax for the review comments 🙏 keep them coming 🙂 |
205c4fa
to
487d87a
Compare
487d87a
to
24f370c
Compare
24f370c
to
cb43ed1
Compare
Rebased again. Not sure why the exporter tests failed on Windows, I don't think it's related to this change. @dmitryax can this be merged? |
@astencel-sumo I did some changes to the mdatagen tool. Can you please rebase and run |
This metric is described in [semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.13.0/specification/metrics/semantic_conventions/process-metrics.md), but hasn't been exposed until now. This metric has an equivalent in Telegraf as `procstat.cpu_usage`.
cb43ed1
to
ab624d5
Compare
Done 👍 |
process.cpu.utilization
metricprocess.cpu.utilization
…pen-telemetry#14539) [receiver/hostmetrics] Add `process.cpu.utilization` metric This metric is described in [semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.13.0/specification/metrics/semantic_conventions/process-metrics.md), but hasn't been exposed until now. This metric has an equivalent in Telegraf as `procstat.cpu_usage`.
Description:
This pull request adds an optional metric named
process.cpu.utilization
, as described in the semantic conventions, to the metrics scraped by theprocess
scraper of thehostmetrics
receiver.Link to tracking Issue:
#14084
Context:
This metric has an equivalent in Telegraf as
procstat.cpu_usage
.