Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16736

Expose Elasticsearch sink metric

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Not a Priority
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I found it quite useful to expose metric of sink operator via flink metric system for debugging and monitoring purpose, such as:

      • total times of bulk request
      • total size(sum) of bulk request
      • total duration(sum) spent on bulk request

      with these metrics, we could derive the average size and duration.

      Elasticsearch SDK already exposed all these information by BulkProcessorListenr. A simple bridge should be enough.

      Attachments

        Activity

          People

            Unassigned Unassigned
            YangLee YangLee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: