xiangran0327 opened a new pull request, #26172: URL: https://github.com/apache/doris/pull/26172
## Proposed changes Add histogramJsonMetric and nodeInfo to the interface "http://fe_host:http_port/metrics?type=json". ## HistogramJsonMetric case: { "tags": { "metric":"doris_fe_query_latency_ms", "quantile":"0.75" }, "unit":"ms", "value":0.0 }, { "tags": { "metric":"doris_fe_query_latency_ms", "quantile":"0.95" }, "unit":"ms", "value":0.0 }, { "tags": { "metric":"doris_fe_query_latency_ms", "quantile":"0.98" }, "unit":"ms", "value":0.0 }, { "tags": { "metric":"doris_fe_query_latency_ms", "quantile":"0.99" }, "unit":"ms", "value":0.0 }, { "tags": { "metric":"doris_fe_query_latency_ms", "quantile":"0.999" }, "unit":"ms", "value":0.0 } ## NodeInfo case: { "tags": { "metric":"node_info", "type":"is_master" }, "unit":"nounit", "value":1 }, { "tags": { "metric":"node_info", "type":"fe_node_num", "state":"total" }, "unit":"nounit", "value":1 }, { "tags": { "metric":"node_info", "type":"be_node_num", "state":"total" }, "unit":"nounit", "value":0 }, { "tags": { "metric":"node_info", "type":"be_node_num", "state":"alive" }, "unit":"nounit", "value":0 }, { "tags": { "metric":"node_info", "type":"be_node_num", "state":"decommissioned" }, "unit":"nounit", "value":0 }, { "tags": { "metric":"node_info", "type":"be_node_num", "state":"dead" }, "unit":"nounit", "value":0 } -- 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]
