Mingliang Liu created FLINK-35504:
-------------------------------------

             Summary: Improve Elasticsearch 8 connector observability
                 Key: FLINK-35504
                 URL: https://issues.apache.org/jira/browse/FLINK-35504
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / ElasticSearch
    Affects Versions: elasticsearch-3.1.0
            Reporter: Mingliang Liu


Currently all logs are in DEBUG level. Some of those messages are very helpful 
to get the progress and errors, which can be changed to INFO or WARN level. We 
can also include error details into DEBUG level messages so it's easier to 
debug with more context.

Meanwhile, we can update the metric to track {{numRecordsSend}}. FWIW, the base 
class tracks following metrics already so we don't need to implement them: 
{{CurrentSendTime}} Gauge, {{NumBytesOut}} and {{NumRecordsOut}} Counters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to