{"id":45422859,"url":"https://github.com/fagnercarvalho/prometheus-iotdb-exporter","last_synced_at":"2026-02-22T01:43:14.760Z","repository":{"id":54396329,"uuid":"321238414","full_name":"fagnercarvalho/prometheus-iotdb-exporter","owner":"fagnercarvalho","description":"Prometheus IoTDB exporter","archived":false,"fork":false,"pushed_at":"2023-09-02T03:35:06.000Z","size":101,"stargazers_count":9,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T05:59:33.905Z","etag":null,"topics":["golang","iotdb","metrics","prometheus","prometheus-exporter","prometheus-iotdb-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fagnercarvalho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-14T05:00:13.000Z","updated_at":"2024-04-27T22:40:13.000Z","dependencies_parsed_at":"2022-08-13T14:20:53.559Z","dependency_job_id":null,"html_url":"https://github.com/fagnercarvalho/prometheus-iotdb-exporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fagnercarvalho/prometheus-iotdb-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fagnercarvalho%2Fprometheus-iotdb-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fagnercarvalho%2Fprometheus-iotdb-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fagnercarvalho%2Fprometheus-iotdb-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fagnercarvalho%2Fprometheus-iotdb-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fagnercarvalho","download_url":"https://codeload.github.com/fagnercarvalho/prometheus-iotdb-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fagnercarvalho%2Fprometheus-iotdb-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","iotdb","metrics","prometheus","prometheus-exporter","prometheus-iotdb-exporter"],"created_at":"2026-02-22T01:43:14.021Z","updated_at":"2026-02-22T01:43:14.741Z","avatar_url":"https://github.com/fagnercarvalho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## IoTDB Server Exporter [![Github Actions](https://img.shields.io/github/workflow/status/fagnercarvalho/prometheus-iotdb-exporter/Go)](https://github.com/fagnercarvalho/prometheus-iotdb-exporter/actions?query=workflow%3AGoo)\r\n\r\n[![Go Report Card](https://goreportcard.com/badge/github.com/fagnercarvalho/prometheus-iotdb-exporter)](https://goreportcard.com/report/github.com/fagnercarvalho/prometheus-iotdb-exporter) [![Go Reference](https://pkg.go.dev/badge/github.com/fagnercarvalho/prometheus-iotdb-exporter.svg)](https://pkg.go.dev/github.com/fagnercarvalho/prometheus-iotdb-exporter) [![Docker Pulls](https://img.shields.io/docker/pulls/fagner/prometheus-iotdb-exporter.svg?maxAge=604800)](https://hub.docker.com/r/fagner/prometheus-iotdb-exporter) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/fagnercarvalho/prometheus-iotdb-exporter) [![Codecov](https://img.shields.io/codecov/c/gh/fagnercarvalho/prometheus-iotdb-exporter)](https://codecov.io/gh/fagnercarvalho/prometheus-iotdb-exporter)\r\n\r\nPrometheus exporter for IoTDB server metrics.\r\n\r\nSupported version: 0.11.0.\r\n\r\n##### Running (Linux)\r\n\r\n```\r\nexport IOTDB_PASSWORD=root\r\n./prometheus-iotdb-exporter \u003cflags\u003e\r\n```\r\n\r\n##### Running (Windows)\r\n\r\n```\r\nset IOTDB_PASSWORD=root\r\nprometheus-iotdb-exporter.exe \u003cflags\u003e\r\n```\r\n\r\nThen go to localhost:8092 to see your metrics.\r\n\r\n##### Flags\r\n\r\n| Name          | Description             | Default   |\r\n| ------------- | ----------------------- | --------- |\r\n| listenPort    | exporter listening port | 8092      |\r\n| iotDBHost     | IoTDB server host       | 127.0.0.1 |\r\n| iotDBPort     | IoTDB server port       | 6667      |\r\n| iotDBUsername | IoTDB username          | root      |\r\n\r\nFor security reasons the server password needs to be set by using `IOTDB_PASSWORD` environment variable.\r\n\r\n##### Metrics\r\n\r\n| Name                  | Metric Name                   | Description                                                  |\r\n| --------------------- | ----------------------------- | ------------------------------------------------------------ |\r\n| Write Ahead File Size | iotdb_write_ahead_file_size_bytes | Write 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](/server_example) folder. |\r\n| System File Size      | iotdb_system_file_size_bytes       | System 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](/server_example) folder. |\r\n| Storage Group Count   | iotdb_storage_groups         | Storage group count                                          |\r\n| Timeseries Count      | iotdb_time_series           | Timeseries (across all storage groups) count                 |\r\n| Users Count           | iotdb_users                  | Database users count                                         |\r\n\r\n##### Docker\r\n\r\nYou can deploy this exporter by using the [fagner/prometheus-iotdb-exporter](https://hub.docker.com/r/fagner/prometheus-iotdb-exporter/) Docker image.\r\n\r\n```\r\ndocker pull fagner/prometheus-iotdb-exporter\r\n\r\ndocker run -d -p \"2000:8092\" --name iotdb-exporter fagner/prometheus-iotdb-exporter\r\n```\r\n\r\nOr clone the repo and run the following commands.\r\n\r\n```\r\ndocker build -t iotdb-exporter .\r\ndocker run -d -p \"2000:8092\" --name iotdb-exporter iotdb-exporter\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffagnercarvalho%2Fprometheus-iotdb-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffagnercarvalho%2Fprometheus-iotdb-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffagnercarvalho%2Fprometheus-iotdb-exporter/lists"}