Project: HertzBeat (Observability and Analysis / Observability)
File: iotdb.md

id: iotdb title: Monitoring Apache IoTDB Database sidebar_label: IoTDB Database keywords: [open source monitoring tool, open source database monitoring tool, monitoring IotDB database metrics] Monitor the running status of the Apache IoTDB Internet of Things time series database (JVM-related), memory task clusters and other related Metrics. You need to enable the `metrics` function in IoTDB, which will provide interface data in the form of prometheus metrics. To enable the `metrics` function, refer to The main steps are as follows: The metric collection is disabled by default, you need to modify the parameters in `conf/iotdb-metric.yml` first, then restart the server ``` enableMetric: true enablePerformanceStat: false metricReporterList: JMX PROMETHEUS monitorType: MICROMETER metricLevel: IMPORTANT predefinedMetrics: JVM FILE ``` Restart IoTDB, open a browser or use curl to access http://servier_ip:9091/metrics, and you can see the metric data. Add the corresponding IoTDB monitoring in HertzBeat. | Parameter name | Parameter help description | |--|-- --| | Monitoring Host | The peer IPV4, IPV6 or domain name to be monitored. Note Without protocol header (eg: https://, http://). | | Monitoring name | The name that identifies this monitoring, and the name needs to be unique. | | Port | The port provided by the IoTDB Metric interface, which is 9091 by

| | Timeout | HTTP request query timeout | | Acquisition Interval | Interval time for monitoring periodic data collection, in seconds, the minimum interval that can be set is 30 seconds | | Whether to detect | Whether to detect and check the availability of monitoring before adding monitoring, and the operation of adding and modifying will continue after the detection is successful | | Description Remarks | More remark information to identify and describe this monitoring, users can remark information here | | Metric Name | Metric Unit | Metric Help Description | | ||-| | name | None | Node name IP | | status | None | Node status, 1=online 2=offline | | Metric Name | Metric Unit | Metric Help Description | |-||| | area | none | heap memory or nonheap memory | | id | none | memory block | | value | MB | The memory size currently requested by the JVM | | Metric Name | Metric Unit | Metric Help Description | | -- ||| | area | none | heap memory or nonheap memory | | id | none | memory block | | value | MB | JVM used memory size | | Metric Name | Metric Unit | Metric Help Description | | -- ||| | state | none | thread state | | count | None | The number of threads corresponding to the thread state | | Metric Name | Metric Unit | Metric Help Description | |--||-| | name | None | Business name timeSeries/storageGroup/device/deviceUsingTemplate | | type | none | type total/normal/template/template | | value | None | The current timeSeries/storageGroup/device/The number of devices that have activated the template | | Metric Name | Metric Unit | Metric Help Description | | -- || -| | name | None | Cache name chunk/timeSeriesMeta/bloomFilter | | value | % | chunk/timeSeriesMeta cache hit rate, bloomFilter interception rate | | Metric Name | Metric Unit | Metric Help Description | | -- || | | name | None | Queue name compactioninner/compactioncross/flush | | status | none | status running/waiting | | value | None | Number of tasks at current time | | Metric Name | Metric Unit | Metric Help Description | |-||-| | name | None | name | | connection | none | thrift current connection number |