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

Expose driver execution stats via JMX #22427

Conversation

losipiuk
Copy link
Member

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jun 18, 2024
@losipiuk losipiuk requested review from findepi and sopel39 June 18, 2024 21:54
@@ -272,4 +278,50 @@ public DistributionStat getCpuInputByteRate()
{
return cpuInputByteRate;
}

@Managed
Copy link
Member

Choose a reason for hiding this comment

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

I think you already have these in TimeSharingTaskExecutor, e.g: io.trino.execution.executor.timesharing.TimeSharingTaskExecutor#getRunningSplits,
io.trino.execution.executor.timesharing.TimeSharingTaskExecutor#getWaitingSplits
Probably just no completedDrivers, but I'm not sure it's important

Copy link
Member Author

Choose a reason for hiding this comment

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

TimeSharingTaskExecutor is on worker - right? This is coordinator metric

@losipiuk losipiuk force-pushed the lukaszos/expose-driver-execution-stats-via-jmx-e90acb branch 2 times, most recently from 01a76e2 to 2589b99 Compare June 19, 2024 09:39
@losipiuk losipiuk force-pushed the lukaszos/expose-driver-execution-stats-via-jmx-e90acb branch from 2589b99 to 845901c Compare June 19, 2024 10:35
@losipiuk losipiuk merged commit ab70abe into trinodb:master Jun 19, 2024
4 of 10 checks passed
@github-actions github-actions bot added this to the 450 milestone Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants