[jira] [Created] (FLINK-16440) Extend SlotManager metrics and status for dynamic slot allocation.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16440) Extend SlotManager metrics and status for dynamic slot allocation.

Shang Yuanchun (Jira)
Xintong Song created FLINK-16440:
------------------------------------

             Summary: Extend SlotManager metrics and status for dynamic slot allocation.
                 Key: FLINK-16440
                 URL: https://issues.apache.org/jira/browse/FLINK-16440
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Metrics
            Reporter: Xintong Song
             Fix For: 1.11.0


* Create a slotManagerMetricGroup in resourceManagerMetricGroup, pass it into SM and register slot related metrics there.
 * This allows registering different metrics for different SM implementation.
 * For backwards compatibility, the slotManagerMetricGroup should have the same path as the resourceManagerMetricGroup.


 * Extend ResourceOverview and TaskManagerInfo to contain TM total / free / allocated resources.
 * Need to add methods to SM for getting TM resource status.
 * For SlotManagerImpl,
 * The existing methods for getting number of registered / free slots need no changes.
 * TM resource status can be computed from TaskExecutorProcessSpec, slot profiles and number of free slots.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)