Sign inSign up

fagner/prometheus-iotdb-exporter

By fagner

Updated almost 6 years ago

Prometheus IoTDB exporter

Image
0

293

fagner/prometheus-iotdb-exporter repository overview

IoTDB Server Exporter Github Actions

Go Report Card Go Reference Docker Pulls GitHub go.mod Go version Codecov

Prometheus exporter for IoTDB server metrics.

Supported version: 0.11.0.

Running
./iotdb-exporter <flags>
Flags
NameDescriptionDefault
listenPortexporter listening port8092
iotDBHostIoTDB server host127.0.0.1
iotDBPortIoTDB server port6667
iotDBUsernameIoTDB usernameroot

For security reasons the server password needs to be set by using IOTDB_PASSWORD environment variable.

Metrics
NameMetric NameDescription
Write Ahead File Sizeiotdb_write_ahead_file_size_bytesWrite Ahead File Size (extracted from the root.stats.file_size.WAL time series) in bytes. For this metric to be collected the enable_stat_monitor option must be enabled in the /iotdb/conf/iotdb-engine.properties config file. To update the config file check the server_example folder.
System File Sizeiotdb_system_file_size_bytesSystem File Size (extracted from the root.stats.file_size.SYS time series) in bytes. For this metric to be collected the enable_stat_monitor option must be enabled in the /iotdb/conf/iotdb-engine.properties config file. To update the config file check the server_example folder.
Storage Group Countiotdb_storage_groupsStorage group count
Timeseries Countiotdb_time_seriesTimeseries (across all storage groups) count
Users Countiotdb_usersDatabase users count
Docker

You can deploy this exporter by using the fagner/prometheus-iotdb-exporter Docker image.

docker pull fagner/prometheus-iotdb-exporter

docker run -d -p "2000:8092" --name iotdb-exporter fagner/prometheus-iotdb-exporter

Or clone the repo and run the following commands.

docker build -t iotdb-exporter .
docker run -d -p "2000:8092" --name iotdb-exporter iotdb-exporter

Tag summary

Content type

Image

Digest

Size

327.4 MB

Last updated

almost 6 years ago

docker pull fagner/prometheus-iotdb-exporter