Yu Wang
Yu Wang
I found we can only use telegraf container to collect linux host metrics as follows. docker run \ -v /sys:/rootfs/sys:ro \ -v /proc:/rootfs/proc:ro \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -v /var/run/utmp:/var/run/utmp:ro \...
## Bug report On windows 10 enterprise, I can use docker stats to see blk io which is not zero. It looks like 9.13mb / 140mb. However, the telegraf cannot...
int[][] dirs = new int[][]{{-1, 0}, {1, 0}, {0, -1}, {0, 1}}; This above line of code, if added to post, will stop the entire post from displaying.
I cannot find a Dockerclient.close() API. My code gave me warning about unclosed socket. Although this is not error, is it possible to close the socket elegantly?
When running test cases, I found one test case in SystemSpec is not friendly to Windows native developer. def env1 = { val io = unsafeRun(system.env("PATH")) io must beSome io.get...
### Expected behavior http://127.0.0.1:2375/containers//stats should give blkio stats ### Actual behavior But the blkio is null. Below is the response {"read":"2018-02-16T17:33:08.6050714Z","preread":"0001-01-01T00:00:00Z","pids_stats":{},"blkio_stats":{"io_service_bytes_recursive":null,"io_serviced_recursive":null,"io_queue_recursive":null,"io_service_time_recursive":null,"io_wait_time_recursive":null,"io_merged_recursive":null,"io_time_recursive":null,"sectors_recursive":null},"num_procs":8,"storage_stats":{"read_count_normalized":27287,"read_size_bytes":197374976,"write_count_normalized":162553,"write_size_bytes":905820160},"cpu_stats":{"cpu_usage":{"total_usage":120087827528,"usage_in_kernelmode":0,"usage_in_usermode":0},"throttling_data":{"periods":0,"throttled_periods":0,"throttled_time":0}},"precpu_stats":{"cpu_usage":{"total_usage":0,"usage_in_kernelmode":0,"usage_in_usermode":0},"throttling_data":{"periods":0,"throttled_periods":0,"throttled_time":0}},"memory_stats":{"commitbytes":1088184320,"commitpeakbytes":1088700416,"privateworkingset":673415168},"name":"/rmq","id":"3f4930d8cf3c03ad2a49a2a72a731a6aa8fa04e7e0bf670e6fcad7c6335006e1","networks":{"a59cc8d1-ae78-451d-ba71-dc813f100071":{"rx_bytes":0,"rx_packets":0,"rx_errors":0,"rx_dropped":0,"tx_bytes":0,"tx_packets":0,"tx_errors":0,"tx_dropped":0}}} docker for linux work well. docker for windows doesn't...