luzhijing commented on code in PR #28435:
URL: https://github.com/apache/doris/pull/28435#discussion_r1436854081


##########
docs/en/docs/admin-manual/maint-monitor/monitor-metrics/metrics.md:
##########
@@ -26,5 +26,317 @@ under the License.
 
 # Monitor Metrics
 
-(TODO)
-There is no English document, please visit the Chinese document.
+Doris FE process and BE processes provide complete monitoring metrics. 
Monitoring metrics can be divided into two categories:
+
+1.     **Process monitoring**: mainly displays some monitoring values of the 
Doris process itself .
+2.     **Node monitoring**: mainly displays the monitoring of the node machine 
itself where the Doris process is located, such as CPU , memory, IO , network , 
etc.
+
+You can obtain the current monitoring by accessing the http port of the FE or 
BE node . like :
+
+```
+curl http://fe_host:http_port/metrics
+curl http://be_host:webserver_port/metrics
+```
+
+Monitoring metrics are generated in a Prometheus compatible format, for eg:
+
+```
+doris_fe_cache_added{type="partition"} 0
+doris_fe_cache_added{type="sql"} 0
+doris_fe_cache_hit{type="partition"} 0
+doris_fe_cache_hit{type="sql"} 0
+doris_fe_connection_total 2
+```
+
+Monitoring metrics in Json format can be fetched using `type` parameter in 
rest interface, for eg:
+
+```
+curl http://fe_host:http_port/metrics?type=json
+curl http://be_host:webserver_port/metrics?type=json
+```
+
+## Monitoring levels and best practices
+
+**The last column in the table marks the importance level of the monitoring 
items. P0 means the most important, the larger the value , the lower the 
importance.**
+
+The vast majority of monitoring metric types are Counter . That is the 
cumulative value. You can obtain effective information by collecting monitoring 
values at intervals (such as every 15 seconds) and calculating the slope per 
unit time .
+
+The query error rate can be obtained by calculating the slope of 
`doris_fe_query_err`, presented as (error per second).
+
+> 欢迎完善此表格以提供更全面有效的监控指标。

Review Comment:
   This sentence is missing translation.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to