mqliang commented on a change in pull request #6741:
URL: https://github.com/apache/incubator-pinot/pull/6741#discussion_r611969337



##########
File path: 
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
##########
@@ -442,15 +442,17 @@ public BrokerResponse handleRequest(JsonNode request, 
@Nullable RequesterIdentit
       // Table name might have been changed (with suffix _OFFLINE/_REALTIME 
appended)
       LOGGER.info("requestId={},table={},timeMs={},docs={}/{},entries={}/{},"
               + 
"segments(queried/processed/matched/consuming/unavailable):{}/{}/{}/{}/{},consumingFreshnessTimeMs={},"
-              + 
"servers={}/{},groupLimitReached={},brokerReduceTimeMs={},exceptions={},serverStats={},query={}",
 requestId,
+              + 
"servers={}/{},groupLimitReached={},brokerReduceTimeMs={},offlineThreadCpuTimeNs={},"
+              + 
"realtimeThreadCpuTimeNs={},exceptions={},serverStats={},query={}", requestId,

Review comment:
       done

##########
File path: 
pinot-common/src/main/java/org/apache/pinot/common/response/broker/BrokerResponseNative.java
##########
@@ -277,6 +279,31 @@ public void setTimeUsedMs(long timeUsedMs) {
     _timeUsedMs = timeUsedMs;
   }
 
+  @JsonProperty("offlineThreadCpuTimeNs")
+  @Override
+  public long getOfflineThreadCpuTimeNs() {
+    return _offlineThreadCpuTimeNs;
+  }
+
+  @JsonProperty("offlineThreadCpuTimeNs")
+  @Override
+  public void setOfflineThreadCpuTimeNs(long timeUsedMs) {

Review comment:
       done

##########
File path: 
pinot-common/src/main/java/org/apache/pinot/common/response/broker/BrokerResponseNative.java
##########
@@ -277,6 +279,31 @@ public void setTimeUsedMs(long timeUsedMs) {
     _timeUsedMs = timeUsedMs;
   }
 
+  @JsonProperty("offlineThreadCpuTimeNs")
+  @Override
+  public long getOfflineThreadCpuTimeNs() {
+    return _offlineThreadCpuTimeNs;
+  }
+
+  @JsonProperty("offlineThreadCpuTimeNs")
+  @Override
+  public void setOfflineThreadCpuTimeNs(long timeUsedMs) {
+    _offlineThreadCpuTimeNs = timeUsedMs;
+  }
+
+
+  @JsonProperty("realtimeThreadCpuTimeNs")
+  @Override
+  public long getRealtimeThreadCpuTimeNs() {
+    return _realtimeThreadCpuTimeNs;
+  }
+
+  @JsonProperty("realtimeThreadCpuTimeNs")
+  @Override
+  public void setRealtimeThreadCpuTimeNs(long timeUsedMs) {
+    _realtimeThreadCpuTimeNs = timeUsedMs;
+  }

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to