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

Registering the same metric object with different name and group will conflict in metric reporter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17.0
    • 2.0.0
    • Runtime / Metrics
    • None

    Description

      Metrics are organized by maps in AbstractReporter and MetricQueryService, which uses metric object as key and metric name as value. This kind of implementation is problematic when the same metric object is registered multiple times, either with different names or under different metric groups, which will override each other and only one metric is kept finally.

      Attachments

        Activity

          People

            xiasun xingbe
            renqs Qingsheng Ren
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: