luozenglin opened a new issue #6262:
URL: https://github.com/apache/incubator-doris/issues/6262


   **Describe the solution you'd like**
   
   The master of fe collects the monitoring data of fe and be periodically and 
stores it in bdbje.
   
   * For time series monitoring data can be obtained by http get,
   url:  
http://fe_host:http_port/rest/v2/monitor/timeserial/{MonitorType}?start=startTimestamp&end=endTimestamp
   the value of 'MonitorType' is {@link Monitor.MonitorType}, the 'start' and 
'end' parameters are timestamps that specify the start and end times of the 
time series data to be retrieved.
   
   The request body is in json format, as follows:
   ```
   {
     "nodes":[
       "host1:http_port", 
       "host2:http_port"
     ],
     "point_num":num
   }
   ```
   ‘nodes' specifies which nodes to get the monitoring data, the default is all 
nodes; 'point_num' specifies the number of returned data, the default is 100.
   
   The return result is in json format, as follows:
   ```
   {
       "x_value":[
           "timestamp",
           "timestamp"
       ],
       "y_value":{
           "fe_host1:http_port":[
               "value",
               "value"
           ]
       }
   }
   ```
   
   * For value type monitoring data can be obtained by http get,
   url: http://fe_host:http_port/rest/v2/monitor/cluster_info/{ClusterInfoType}
   the value of 'ClusterInfoType' is {@link ClusterInfo.ClusterInfoType}
   
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features 
you've considered.
   
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to