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

DM-39516: Extend Qserv Web Dashboard to allow monitoring active queries at Czar and worker database servers #803

Merged
merged 12 commits into from
Aug 17, 2023

Conversation

iagaponenko
Copy link
Contributor

No description provided.

Also added the utility class to handle simple query cases.
Copy link
Contributor

@jgates108 jgates108 left a comment

Choose a reason for hiding this comment

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

Looks good, just very minor comments.

src/replica/QservMgtServices.h Show resolved Hide resolved
src/wbase/WorkerCommand.h Outdated Show resolved Hide resolved
src/wbase/WorkerCommand.h Show resolved Hide resolved
Simplified error reporting. Reduced code duplication.
Added a function for getting info on the ongoing database activities
as reported by the query SHOW [FULL] PROCESSLIST.
Added the REST services to report database activities at Czar and
Qserv workers. Incremented the version number of the REST API.
The identifiers are captured for the worker task monitoring
purposes. They are used by the Web Dashboard for associating task
activities with the corresponding MySQL queries issued by the tasks.
The task monitoring page of the Dashboard has been extended to display
a value of the identifier (if it was set for the task).
Introduced an additional state STARTED to differentiate between
two events - when a task was started by a scheduler from the actual
start time of the corresponding MySQL query. The change is meant
to improve the monitoring of the worker tasks.
The corresponding monitoring page of the Web Dashboard was modified
as well.
@iagaponenko iagaponenko merged commit 4971fc5 into main Aug 17, 2023
11 of 12 checks passed
@iagaponenko iagaponenko deleted the tickets/DM-39516 branch August 17, 2023 01:02
@iagaponenko iagaponenko changed the title Tickets/dm 39516 DM-39516: Extend Qserv Web Dashboard to allow monitoring active queries at Czar and worker database servers Aug 18, 2023
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