This document is for guiding how to develop IoTDB restful module for supporting Prometheus and Grafana in Java (backend) and TypeScript (frontend of Grafana).
Prometheus:
Prometheus is written by Go. It can write data into (and query data from) TSDBs if the TSDBs have restful API.
The rest API's body is defined by the Protocol Buffer.
Therefore, to implement iotdb-prometheus module, you need to know: 1. protocol buffer; 2. restful service;
Protocol Buffer:
Prometheus 2.9 uses ProtoBuf 2.13.2. So, it is better to use ProtoBuf 2.13.2.
1. Install
TODO