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

Yan Fang updated SAMZA-709:
---------------------------
    Description: 
Currently, we expose two monitoring urls in the AM. One is the tracking url, 
where the AM dashboard stays; the other one is a RPC url, which is for REST 
API. But we only documented the AM dashboard under [Yarn/Application Master | 
http://samza.apache.org/learn/documentation/0.9/yarn/application-master.html]

Suggestion:
1. create a separate monitoring page for the Web UI and REST API under 
[Jobs|http://samza.apache.org/learn/documentation/0.9/] category.
2. move the dashboard section from [Yarn Application 
Master|http://samza.apache.org/learn/documentation/0.9/yarn/application-master.html]
 to the monitoring page.
3. add REST API document. The format can be similar to what [Spark 
uses|https://spark.apache.org/docs/latest/monitoring.html#rest-api]. What we 
expose through the server is in [ApplicationMasterRestServlet | 
https://github.com/apache/samza/blob/master/samza-yarn/src/main/scala/org/apache/samza/webapp/ApplicationMasterRestServlet.scala]
 . 

  was:
Currently, we expose two monitoring urls in the AM. One is the tracking url, 
where the AM dashboard stays; the other one is a RPC url, which is for REST 
API. But we only documented the AM dashboard under [Yarn/Application Master | 
http://samza.apache.org/learn/documentation/0.9/yarn/application-master.html]

Suggestion:
1. create a separate monitoring page for the Web UI and REST API under 
[Jobs|http://samza.apache.org/learn/documentation/0.9/] category.
2. move the dashboard section from [Yarn/Application 
Master|http://samza.apache.org/learn/documentation/0.9/yarn/application-master.htm
 to the monitoring page.
3. add REST API document. The format can be similar to what [Spark 
uses|https://spark.apache.org/docs/latest/monitoring.html#rest-api]. What we 
expose through the server is in [ApplicationMasterRestServlet | 
https://github.com/apache/samza/blob/master/samza-yarn/src/main/scala/org/apache/samza/webapp/ApplicationMasterRestServlet.scala]
 . 


> Add Monitoring page for REST API and the dashboard
> --------------------------------------------------
>
>                 Key: SAMZA-709
>                 URL: https://issues.apache.org/jira/browse/SAMZA-709
>             Project: Samza
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Yan Fang
>              Labels: newbie
>
> Currently, we expose two monitoring urls in the AM. One is the tracking url, 
> where the AM dashboard stays; the other one is a RPC url, which is for REST 
> API. But we only documented the AM dashboard under [Yarn/Application Master | 
> http://samza.apache.org/learn/documentation/0.9/yarn/application-master.html]
> Suggestion:
> 1. create a separate monitoring page for the Web UI and REST API under 
> [Jobs|http://samza.apache.org/learn/documentation/0.9/] category.
> 2. move the dashboard section from [Yarn Application 
> Master|http://samza.apache.org/learn/documentation/0.9/yarn/application-master.html]
>  to the monitoring page.
> 3. add REST API document. The format can be similar to what [Spark 
> uses|https://spark.apache.org/docs/latest/monitoring.html#rest-api]. What we 
> expose through the server is in [ApplicationMasterRestServlet | 
> https://github.com/apache/samza/blob/master/samza-yarn/src/main/scala/org/apache/samza/webapp/ApplicationMasterRestServlet.scala]
>  . 



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

Reply via email to