-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add archiving diagnostic commands #21713
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks fine. Guess we can see how useful all those metrics are and consider later to add more if needed....
Left a comment that should be handled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works well, test failures unrelated.
✅ from me.
Description:
Fixes #21666
This PR adds five new diagnostic commands for archiving:
./console diagnostic:archiving-queue [--json]
Shows the current invalidation queue in a human readable format, optional output as json.
./console diagnostic:archiving-metrics [--json]
Shows a list of archiving related metrics, optional json output.
./console diagnostic:archiving-instance-statistics [--json]
Show a list of statistics for the current server, option json output.
./console diagnostic:archiving-config [--json]
Shows the value of all archiving related config settings, optional json output.
./console diagnostic:archiving-status [--with-stats] [--email=EMAIL]
Combines the output of all of the above four commands, by default instance statistics are not included but can be added by using the
--with-stats
parameter. If the--email
parameter is used to specific an email address then the output will be sent to that email, otherwise it will be displayed on the console.Review