All Products
Search
Document Center

E-MapReduce:Metrics

Last Updated:Mar 26, 2026

FE and BE processes expose monitoring metrics that you can use to troubleshoot network, memory, and thread issues on your E-MapReduce (EMR) cluster nodes.

Access metrics

FE and BE processes expose metrics over HTTP in Prometheus format by default. To get JSON output, append ?type=json to the URL.

Process Metrics endpoint JSON endpoint
FE http://fe_host:fe_http_port/metrics http://fe_host:fe_http_port/metrics?type=json
BE http://be_host:be_webserver_port/metrics http://be_host:be_webserver_port/metrics?type=json
Replace host with the IP address of the master node in your EMR cluster. For BE processes, use the private IP address. For FE processes, use either the private IP address or the public IP address based on your network environment. The default value of http_port is 8031 and the default value of webserver_port is 8041. Run the show frontends command to get the actual port numbers.

FE metrics

Network metrics

These metrics mirror the Tcp fields in /proc/net/snmp and are used to troubleshoot network issues on FE nodes.

Metric /proc/net/snmp field Description
doris_fe_snmp{name="tcp_in_errs"} Tcp: InErrs Number of error Transmission Control Protocol (TCP) packets received. The incidence rate can be calculated in combination with the sampling period.
doris_fe_snmp{name="tcp_retrans_segs"} Tcp: RetransSegs Number of retransmitted TCP packets. The incidence rate can be calculated in combination with the sampling period.
doris_fe_snmp{name="tcp_in_segs"} Tcp: InSegs Number of all received TCP packets. Use as denominator in error rate: (NEW_tcp_in_errs - OLD_tcp_in_errs) / (NEW_tcp_in_segs - OLD_tcp_in_segs)
doris_fe_snmp{name="tcp_out_segs"} Tcp: OutSegs Number of sent TCP packets with the RST flag. Use as denominator in retransmission rate: (NEW_tcp_tcp_retrans_segs - OLD_tcp_retrans_segs) / (NEW_tcp_out_segs - OLD_tcp_out_segs)

Memory metrics

These metrics mirror the fields in /proc/meminfo and are used to troubleshoot memory issues on FE nodes.

Metric /proc/meminfo field Description
doris_fe_meminfo{name="memory_total"} MemTotal Total available memory — physical memory minus reserved space and core memory
doris_fe_meminfo{name="memory_free"} MemFree Unused memory
doris_fe_meminfo{name="memory_available"} MemAvailable Available memory — reclaimable memory plus the value of MemFree
doris_fe_meminfo{name="buffers"} Buffers Memory used by block devices to cache metadata and file system pages
doris_fe_meminfo{name="cached"} Cached Memory allocated to the file buffer

JVM thread metrics

These metrics report Java Virtual Machine (JVM) thread states on FE nodes and are used to troubleshoot JVM thread issues.

Metric Description
jvm_thread{type="count"} Total JVM threads on an FE node, including Daemon threads and non-Daemon threads
jvm_thread{type="peak_count"} Peak thread count since the JVM started on an FE node
jvm_thread{type="new_count"} JVM threads in the NEW state on an FE node
jvm_thread{type="runnable_count"} JVM threads in the RUNNABLE state on an FE node
jvm_thread{type="blocked_count"} JVM threads in the BLOCKED state on an FE node
jvm_thread{type="waiting_count"} JVM threads in the WAITING state on an FE node
jvm_thread{type="timed_waiting_count"} JVM threads in the TIMED_WAITING state on an FE node
jvm_thread{type="terminated_count"} JVM threads in the TERMINATED state on an FE node

BE metrics

Network metrics

These metrics mirror the Tcp fields in /proc/net/snmp and are used to troubleshoot network issues on BE nodes.

Metric /proc/net/snmp field Description
doris_be_snmp{name="tcp_in_errs"} Tcp: InErrs Number of error TCP packets received. The incidence rate can be calculated in combination with the sampling period.
doris_be_snmp{name="tcp_retrans_segs"} Tcp: RetransSegs Number of retransmitted TCP packets. The incidence rate can be calculated in combination with the sampling period.
doris_be_snmp{name="tcp_in_segs"} Tcp: InSegs Number of all received TCP packets. Use as denominator in error rate: (NEW_tcp_in_errs - OLD_tcp_in_errs) / (NEW_tcp_in_segs - OLD_tcp_in_segs)
doris_be_snmp{name="tcp_out_segs"} Tcp: OutSegs Number of sent TCP packets with the RST flag. Use as denominator in retransmission rate: (NEW_tcp_tcp_retrans_segs - OLD_tcp_retrans_segs) / (NEW_tcp_out_segs - OLD_tcp_out_segs)

Compaction metrics

Metric Description
doris_be_compaction_mem_current_consumption Total MemPool consumption of all Compaction threads. You can use this metric to quickly identify whether Compaction threads use too much memory. If excessive memory resources are used, the memory usage may be excessively high, or out-of-memory (OOM) errors may occur.