Skip to content

XRootD CPU Utilization Metric #2225

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

Merged
merged 3 commits into from
Apr 30, 2025

Conversation

patrickbrophy
Copy link
Contributor

This PR addresses #1463. This PR adds a new metric xrootd_cpu_utilization. This metric is calculated from the summary statistics provided by XRootD. The CPU utilization is calculated via the following: (CPU time used) / (Wall time elapsed). The CPU time used is calculate by calculating the delta between the last amount of CPU time used and the current cpu time used. The wall time elapsed is calculated as the difference between the current time and the last time we received a summary statistic.

@patrickbrophy patrickbrophy added enhancement New feature or request cache Issue relating to the cache component origin Issue relating to the origin component monitoring labels Apr 21, 2025
@patrickbrophy patrickbrophy linked an issue Apr 21, 2025 that may be closed by this pull request
@patrickbrophy patrickbrophy added this to the v7.17 milestone Apr 23, 2025
Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

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

One small change request and one small question. Otherwise LGTM.

@jhiemstrawisc jhiemstrawisc merged commit 1e315f0 into PelicanPlatform:main Apr 30, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache Issue relating to the cache component enhancement New feature or request monitoring origin Issue relating to the origin component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Track XRootD CPU usage
2 participants