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

[feature] Add presto db monitor #2234

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

Yanshuming1
Copy link
Member

add PrestoDB monitor and doc
image

@github-actions github-actions bot added doc Improvements or additions to documentation monitoring-template backend labels Jul 7, 2024
@Yanshuming1 Yanshuming1 changed the title Add presto db monitor [feature] Add presto db monitor Jul 7, 2024
@tomsun28 tomsun28 added the good first pull request Good for newcomers label Jul 7, 2024
@tomsun28 tomsun28 requested a review from TJxiaobao July 7, 2024 13:51
Copy link
Member

@zhangshenghang zhangshenghang left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.
There are currently few monitoring indicators, It is recommended to add more, so that it can be better applied:
For example, the monitoring content of /v1/cluster includes:

{
"runningQueries": 0,
"blockedQueries": 0,
"queuedQueries": 0,
"activeWorkers": 1,
"runningDrivers": 0,
"runningTasks": 0,
"reservedMemory": 0,
"totalInputRows": 188406087,
"totalInputBytes": 466434168,
"totalCpuTimeSecs": 9,
"adjustedQueueSize": 0
}

You can refer to the official documentation:
https://prestodb.io/docs/current/rest/node.html
https://prestodb.io/docs/current/rest/query.html
https://prestodb.io/docs/current/rest/stage.html
https://prestodb.io/docs/current/rest/statement.html
https://prestodb.io/docs/current/rest/task.html

@Yanshuming1
Copy link
Member Author


Currently supported,I will add improvements in the future

@Yanshuming1
Copy link
Member Author

@TJxiaobao please,cr

Copy link
Contributor

@TJxiaobao TJxiaobao left a comment

Choose a reason for hiding this comment

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

Cool!👍

@TJxiaobao TJxiaobao merged commit da05b6a into apache:master Jul 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend doc Improvements or additions to documentation good first pull request Good for newcomers monitoring-template
Projects
Development

Successfully merging this pull request may close these issues.

4 participants