Skip to main content

hive

Collect and monitor the general performance metrics exposed by the SpringBoot actuator.

Pre-monitoring operations

If you want to monitor information in Apache Hive with this monitoring type, you need to open your Hive Server2 in remoting mode.

1、Enable metastore:

hive --service metastore &

2. Enable hive server2:

hive --service hiveserver2 &

Configure parameters

Parameter nameParameter Help describes the
Monitor HostTHE MONITORED PEER IPV4, IPV6 OR DOMAIN NAME. Note ⚠️ that there are no protocol headers (eg: https://, http://).
Monitoring NameA name that identifies this monitoring that needs to be unique.
PortThe default port provided by the database is 10002.
Enable HTTPSWhether to access the website through HTTPS, please note that ⚠️ when HTTPS is enabled, the default port needs to be changed to 443
The acquisition interval isMonitor the periodic data acquisition interval, in seconds, and the minimum interval that can be set is 30 seconds
Whether to probe theWhether to check the availability of the monitoring before adding a monitoring is successful, and the new modification operation
Description CommentFor more information identifying and describing the remarks for this monitoring, users can remark the information here

Collect metrics

metric Collection: basic

Metric Namemetric unitMetrics help describe
vm_nameNoneThe name of the virtual machine (VM) running HiveServer2.
vm_vendorNoneThe vendor or provider of the virtual machine.
vm_versionNoneThe version of the virtual machine.
up_timeNoneThe duration for which HiveServer2 has been running.

metric Collection: enviroment

Metric Namemetric unitMetrics help describe
https_proxyPortNoneThe port number used for HTTPS proxy communication.
os_nameNoneThe name of the operating system on which HiveServer2 is running.
os_versionNoneThe version of the operating system.
os_archNoneThe architecture of the operating system.
java_runtime_nameNoneThe name of the Java runtime environment used by HiveServer2.
java_runtime_versionNoneThe version of the Java runtime environment.

metric Collection: thread

Metric Namemetric unitMetrics help describe
thread_countNoneThe current number of threads being used by HiveServer2.
total_started_threadNoneThe total count of threads started by HiveServer2 since its launch.
peak_thread_countNoneThe highest number of threads used by HiveServer2 at any given time.
daemon_thread_countNoneThe number of daemon threads currently active in HiveServer2.

metric Collection: code_cache

Metric Namemetric unitMetrics help describe
committedMBThe amount of memory currently allocated for the memory pool.
initMBThe initial amount of memory requested for the memory pool.
maxMBThe maximum amount of memory that can be allocated for the memory pool.
usedMBThe amount of memory currently being used by the memory pool.