fagnercarvalho opened a new issue #2201:
URL: https://github.com/apache/iotdb/issues/2201


   Can't see the Writing Data Statistics as timeseries even after setting 
`enable_stat_monitor` as `true` in `iotdb-engine.properties`
   
   Steps to reproduce the behavior:
   1. Create the following Dockerfile (make sure to set `enable_stat_monitor` 
as `true` in `iotdb-engine.properties`):
   ```Docker
   FROM apache/iotdb:0.11.0
   
   COPY iotdb-engine.properties /iotdb/conf/
   
   ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
   ```
   2. Build the `Dockerfile` and run it.
   ```
   docker build -t iotdb .
   docker run -d -p 0.0.0.0:6667:6667 -p 0.0.0.0:31999:31999 -p 
0.0.0.0:8181:8181 --name custom-iotdb iotdb
   ```
   3. Go to the IoTDB CLI inside the container.
   ```
   docker exec -it custom-iotdb /bin/bash
   start-cli.sh
   ```
   4. Run a few commands to populate two timeseries with data:
   ```
   set storage group to root.ln
   
   create timeseries root.ln.wf02.wt02.status with datatype=BOOLEAN,encoding=RLE
   create timeseries root.ln.wf02.wt02.temperature with 
datatype=FLOAT,encoding=RLE
   
   insert into root.ln.wf02.wt02(time,temperature,status) 
values(2017-11-01T16:37:50.000,30.34,true)
   insert into root.ln.wf02.wt02(time,temperature,status) 
values(2017-11-01T17:00:50.000,20.34,false)
   ```
   5. Run `SHOW TIMESERIES` 
   
   **Expected behavior**
   I was expecting to see the `root.stats.write.global.TOTAL_POINTS` and 
`root.stats.write.root_ln.TOTAL_POINTS` timeseries (as indicated in the 
[Monitor and Log 
Tools](https://iotdb.apache.org/UserGuide/V0.11.x/System%20Tools/Monitor%20and%20Log%20Tools.html)
 page) but the only new timeseries I see are `root.stats.file_size.WAL` and 
`root.stats.file_size.SYS`.
   
    - OS: Windows but using Docker
    - Version 0.11.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to