You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/11 07:18:32 UTC

[GitHub] [inlong] thesumery commented on a diff in pull request #5483: [INLONG-5210][Sort] Add reporting metrics for Elasticsearch 7 connector and audit SDK

thesumery commented on code in PR #5483:
URL: https://github.com/apache/inlong/pull/5483#discussion_r943167353


##########
inlong-sort/sort-connectors/elasticsearch-base/src/main/java/org/apache/inlong/sort/elasticsearch/table/RowElasticsearchSinkFunction.java:
##########
@@ -119,6 +148,7 @@ private void processUpsert(RowData row, RequestIndexer indexer) {
         if (sinkMetricData.getNumBytesOut() != null) {
             sinkMetricData.getNumBytesOut().inc(document.length);
         }
+        outputMetricForAudit(document.length);

Review Comment:
   Here only output +I/+U data?



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

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