|
| 1 | +--- |
| 2 | +id: iceberg |
| 3 | +Title: Monitoring Apache Iceberg |
| 4 | +sidebar_label: Apache Iceberg |
| 5 | +keywords: [open source monitoring tool, open source apache hive monitoring tool, monitoring apache iceberg metrics] |
| 6 | +--- |
| 7 | + |
| 8 | +> Collect and monitor the general performance metrics exposed by the Apache Iceberg. |
| 9 | +
|
| 10 | +## Pre-monitoring operations |
| 11 | + |
| 12 | +If you want to monitor information in `Apache Iceberg` with this monitoring type, you need to open your `Hive Server2` in remoting mode. |
| 13 | + |
| 14 | +**1、Enable metastore:** |
| 15 | + |
| 16 | +```shell |
| 17 | +hive --service metastore & |
| 18 | +``` |
| 19 | + |
| 20 | +**2. Enable hive server2:** |
| 21 | + |
| 22 | +```shell |
| 23 | +hive --service hiveserver2 & |
| 24 | +``` |
| 25 | + |
| 26 | +### Configure parameters |
| 27 | + |
| 28 | +| Parameter name | Parameter Help describes the | |
| 29 | +|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------| |
| 30 | +| Monitor Host | THE MONITORED PEER IPV4, IPV6 OR DOMAIN NAME. Note ⚠️ that there are no protocol headers (eg: https://, http://). | |
| 31 | +| Monitoring Name | A name that identifies this monitoring that needs to be unique. | |
| 32 | +| Port | The default port provided by the database is 10002. | |
| 33 | +| Enable HTTPS | Whether to access the website through HTTPS, please note that ⚠️ when HTTPS is enabled, the default port needs to be changed to 443 | |
| 34 | +| The acquisition interval is | Monitor the periodic data acquisition interval, in seconds, and the minimum interval that can be set is 30 seconds | |
| 35 | +| Whether to probe the | Whether to check the availability of the monitoring before adding a monitoring is successful, and the new modification operation | will continue only if the probe is successful | |
| 36 | +| Description Comment | For more information identifying and describing the remarks for this monitoring, users can remark the information here | |
| 37 | + |
| 38 | +### Collect metrics |
| 39 | + |
| 40 | +#### metric Collection: basic |
| 41 | + |
| 42 | +| Metric Name | metric unit | Metrics help describe | |
| 43 | +|-------------|-------------|-----------------------------------------------------------| |
| 44 | +| vm_name | None | The name of the virtual machine (VM) running HiveServer2. | |
| 45 | +| vm_vendor | None | The vendor or provider of the virtual machine. | |
| 46 | +| vm_version | None | The version of the virtual machine. | |
| 47 | +| up_time | None | The duration for which HiveServer2 has been running. | |
| 48 | + |
| 49 | +#### metric Collection: enviroment |
| 50 | + |
| 51 | +| Metric Name | metric unit | Metrics help describe | |
| 52 | +|----------------------|-------------|-------------------------------------------------------------------| |
| 53 | +| https_proxyPort | None | The port number used for HTTPS proxy communication. | |
| 54 | +| os_name | None | The name of the operating system on which HiveServer2 is running. | |
| 55 | +| os_version | None | The version of the operating system. | |
| 56 | +| os_arch | None | The architecture of the operating system. | |
| 57 | +| java_runtime_name | None | The name of the Java runtime environment used by HiveServer2. | |
| 58 | +| java_runtime_version | None | The version of the Java runtime environment. | |
| 59 | + |
| 60 | +#### metric Collection: thread |
| 61 | + |
| 62 | +| Metric Name | metric unit | Metrics help describe | |
| 63 | +|----------------------|-------------|----------------------------------------------------------------------| |
| 64 | +| thread_count | None | The current number of threads being used by HiveServer2. | |
| 65 | +| total_started_thread | None | The total count of threads started by HiveServer2 since its launch. | |
| 66 | +| peak_thread_count | None | The highest number of threads used by HiveServer2 at any given time. | |
| 67 | +| daemon_thread_count | None | The number of daemon threads currently active in HiveServer2. | |
| 68 | + |
| 69 | +#### metric Collection: code_cache |
| 70 | + |
| 71 | +| Metric Name | metric unit | Metrics help describe | |
| 72 | +|-------------|-------------|-------------------------------------------------------------------------| |
| 73 | +| committed | MB | The amount of memory currently allocated for the memory pool. | |
| 74 | +| init | MB | The initial amount of memory requested for the memory pool. | |
| 75 | +| max | MB | The maximum amount of memory that can be allocated for the memory pool. | |
| 76 | +| used | MB | The amount of memory currently being used by the memory pool. | |
| 77 | + |
0 commit comments