git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-9741) Register JVM metrics for each JM separately


Chesnay Schepler created FLINK-9741:
---------------------------------------

             Summary: Register JVM metrics for each JM separately
                 Key: FLINK-9741
                 URL: https://issues.apache.org/jira/browse/FLINK-9741
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination, Metrics
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Chesnay Schepler
             Fix For: 1.6.0


Currently, the {{Dispatcher}} contains a {{JobManagerMetricGroup}} on which the JVM metrics are registered. the JobManagers only receive a {{JobManagerJobMetricGroup}} and don't register the JVM metrics.

As the dispatcher and jobmanagers currently run in the same jvm, neither exposing their IDs to the metric system, this doesn't cause problem _right now_ as we can't differentiate between them anyway, but it will bite us down the line if either of the above assumptions is broken.

For example, with the proposed exposure of JM/Dispatcher IDs in FLINK-9543 we would not expose JVM metrics tied to a JM, but only the Dispatcher.

I propose to register all JVM metrics for each jobmanager separately to future proof the whole thing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flink-development/msg07969.html on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0007364608{main}( ).../msg07969.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flink-development/msg07969.html on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0007364608{main}( ).../msg07969.html:0