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

Register TaskManagerMetricGroup under ResourceID instead of InstanceID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • Runtime / Metrics

    Description

      Currently, the TaskManager registers the TaskManagerMetricGroup under its InstanceID and thereby binding its metrics effectively to the lifetime of its registration with the JobManager. This has also implications how the REST handler retrieve the TaskManager metrics, namely by its InstanceID.

      I would actually propose to register the TaskManagerMetricGroup under the TaskManager/TaskExecutor ResourceID which is valid over the whole lifetime of the TaskManager/TaskExecutor. That way we would also be able to query metrics independent of the connection status to the JobManager.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: