[native] Follow up on task watchdog#21809
Conversation
7f73c49 to
e652265
Compare
There was a problem hiding this comment.
Can we just get cache and all the other components from PrestoServer?
There was a problem hiding this comment.
These are not public in PrestoServer, do we want to expose them?
presto-native-execution/presto_cpp/main/PeriodicTaskManager.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Those metrics should be COUNT or SUM?
There was a problem hiding this comment.
COUNT and SUM are for cumulative values, this is a gauge value (0 is a valid non-initial state) so can only be AVG.
There was a problem hiding this comment.
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!
e652265 to
d0745dd
Compare
f025eb3 to
a9ef10c
Compare
a9ef10c to
4691386
Compare
Follow up on #21783