You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/01/20 05:47:26 UTC

[jira] [Closed] (FLINK-5419) Taskmanager metrics not accessible via REST

     [ https://issues.apache.org/jira/browse/FLINK-5419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-5419.
-----------------------------------
    Resolution: Fixed

master: c93e04c16a7865dbbc90d89799b46f91831e0a55
1.2: f90edc483000db42caaff0de650c1f5bca11bf47

> Taskmanager metrics not accessible via REST
> -------------------------------------------
>
>                 Key: FLINK-5419
>                 URL: https://issues.apache.org/jira/browse/FLINK-5419
>             Project: Flink
>          Issue Type: Bug
>          Components: Metrics, Webfrontend
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>             Fix For: 1.2.0, 1.3.0
>
>
> There is currently a URL clash between the TaskManagersHandler and TaskManagerMetricsHandler, with both being routed to
> {code}
> /taskmanagers/:taskmanagerid/metrics
> {code}
> As a result it is not possible to query the full set of metrics for a taskmanager, but only the hard-coded subset that is displayed on the metrics tab on the taskmanager page.
> This is a side-effect of 6d53bbc4b92e651786ecc8c2c6dfeb8e450a16a3 making the URL's more consistent. The TaskManager page in the web-interface has 3 tabs: Metrics, Log and Stdout.
> The URLs for these tabs are
> {code}
> /taskmanager/<tmid>/metrics
> /taskmanager/<tmid>/log
> /taskmanager/<tmid>/stdout
> {code}
> which correspond to the REST URL's used. Previously, the metrics tab used {code}/taskmanager/<tmid>{code}
> However, 70704de0c82cbb7b143dd696221e11999feb3600 then exposed the metrics gathered by the metrics system through the REST API. The assumption was that general information for the taskmanagers are retrieved via /taskmanager/<tmid>, similar to how the job-related URL's are structured, which sadly isn't the case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)