Skip to content

[native] Follow up on task watchdog#21809

Merged
xiaoxmeng merged 1 commit intoprestodb:masterfrom
Yuhta:tasks/T175424805/D52921877
Jan 31, 2024
Merged

[native] Follow up on task watchdog#21809
xiaoxmeng merged 1 commit intoprestodb:masterfrom
Yuhta:tasks/T175424805/D52921877

Conversation

@Yuhta
Copy link
Contributor

@Yuhta Yuhta commented Jan 29, 2024

Follow up on #21783

@Yuhta Yuhta force-pushed the tasks/T175424805/D52921877 branch 4 times, most recently from 7f73c49 to e652265 Compare January 29, 2024 20:44
@Yuhta Yuhta marked this pull request as ready for review January 29, 2024 21:36
@Yuhta Yuhta requested a review from a team as a code owner January 29, 2024 21:36
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@Yuhta thanks for the followup!

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just get cache and all the other components from PrestoServer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are not public in PrestoServer, do we want to expose them?

Copy link
Contributor

Choose a reason for hiding this comment

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

Those metrics should be COUNT or SUM?

Copy link
Contributor Author

@Yuhta Yuhta Jan 30, 2024

Choose a reason for hiding this comment

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

COUNT and SUM are for cumulative values, this is a gauge value (0 is a valid non-initial state) so can only be AVG.

Copy link
Contributor

Choose a reason for hiding this comment

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

GAUGE has a separate type from opencensus open sourced from Google. Gauge value won't change until the next update. AVG here is the average value within a time window. I thought we want to how many times a particular type of events happens during a time range? Thanks!

@Yuhta Yuhta force-pushed the tasks/T175424805/D52921877 branch from e652265 to d0745dd Compare January 30, 2024 16:48
@Yuhta Yuhta force-pushed the tasks/T175424805/D52921877 branch 3 times, most recently from f025eb3 to a9ef10c Compare January 30, 2024 21:04
@Yuhta Yuhta force-pushed the tasks/T175424805/D52921877 branch from a9ef10c to 4691386 Compare January 30, 2024 21:19
@xiaoxmeng xiaoxmeng merged commit 20738bc into prestodb:master Jan 31, 2024
@wanglinsong wanglinsong mentioned this pull request Feb 12, 2024
64 tasks
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.

3 participants