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

scx_rusty: Convert to scx_stats #539

Merged
merged 15 commits into from
Aug 23, 2024
Merged

scx_rusty: Convert to scx_stats #539

merged 15 commits into from
Aug 23, 2024

Conversation

htejun
Copy link
Contributor

@htejun htejun commented Aug 23, 2024

  • Convert scx_rusty to use scx_stats.
  • Some updates to scx_stats in the process.
  • scx_layered --monitor behavior updated so that both scx_rusty and scx_layered can behave consistently.

scx_rusty will be converted to scx_stats in a similar fashin with
scx_layered. Undo log_recorder conversion in preparation.
This reverts commit 83373b1 in prepration
for converting to scx_stats.
to prepare for scx_stats conversion. While at it, make some cosmetic
changes.
to prepare for scx_stats conversion.
…delta

This will ease transition to scx_stats.
This allows scx_rusty to avoid generating excessive logs for statistics
while still allowing detailed monitoring on demand.
OM labels() was called with an array which is then incorrectly interpreted
as a single label. Unpack it to list of arguments. While at it, make error
reporting a bit more robust.
@htejun htejun requested a review from hodgesds August 23, 2024 17:17
Copy link
Contributor

@hodgesds hodgesds left a comment

Choose a reason for hiding this comment

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

lgtm, I think --stats is far more clear in what it does.

@htejun htejun merged commit b6ccb87 into main Aug 23, 2024
2 checks passed
@htejun htejun deleted the htejun/scx_rusty branch August 23, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants