Skip to content

Commit

Permalink
Changing the log level for read stream metrics to Info (GoogleCloudDa…
Browse files Browse the repository at this point in the history
  • Loading branch information
isha97 authored Mar 5, 2024
1 parent 8119716 commit 5f14891
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ private void logData() {
jsonObject.addProperty("Rows/s", perSecond(parseTime, getRowsRead()));
jsonObject.addProperty("Bytes", getBytesRead());
jsonObject.addProperty("Rows", getRowsRead());
jsonObject.addProperty("I/O time", getScanTimeInMilliSec());
log.trace("Tracer Logs:{}", new Gson().toJson(jsonObject));
jsonObject.addProperty("I/O time in ms", getScanTimeInMilliSec());
log.info("ReadStream Metrics :{}", new Gson().toJson(jsonObject));
bigQueryMetrics.incrementBytesReadCounter(getBytesRead());
bigQueryMetrics.incrementRowsReadCounter(getRowsRead());
bigQueryMetrics.updateScanTime(getScanTimeInMilliSec());
Expand Down

0 comments on commit 5f14891

Please sign in to comment.