Метрики Прометея показывают нулевые значения для томов OpenEBS? - PullRequest
0 голосов
/ 13 декабря 2018

Я получаю нули за 2 метрики Прометея: openebs_total_write_bytes & openebs_total_read_bytes .В то же время openebs_write_block_count монотонно растет.OpenEBS v 0.8.

I1212 09:43:39.559667       1 jivacollector.go:59] Got response: {"Name":"pvc-2b15924e-fd57-11e8-b27a-42010a3f0103","ReadIOPS":"10","ReplicaCounter":3,"Replicas":[{"Address":"tcp://10.128.32.25:9502","Mode":"RW"},{"Address":"tcp://10.128.30.4:9502","Mode":"RW"},{"Address":"tcp://10.128.26.21:9502","Mode":"RW"}],"RevisionCounter":13168,"SCSIIOCount":{"40":10,"42":4113},"SectorSize":"4096","Size":"107374182400","Status":"RW","TotalReadBlockCount":"143360","TotalReadTime":"12792647","TotalWriteBlockCount":"40534016","TotalWriteTime":"68922008511","UpTime":"29594.443906","UsedBlocks":"613624","UsedLogicalBlocks":"613615","WriteIOPS":"4113","actions":{},"links":{"self":"http://127.0.0.1:9501/v1/stats"},"type":"stats"}
I1212 09:43:40.421493       1 jivacollector.go:59] Got response: {"Name":"pvc-2b15924e-fd57-11e8-b27a-42010a3f0103","ReadIOPS":"10","ReplicaCounter":3,"Replicas":[{"Address":"tcp://10.128.32.25:9502","Mode":"RW"},{"Address":"tcp://10.128.30.4:9502","Mode":"RW"},{"Address":"tcp://10.128.26.21:9502","Mode":"RW"}],"RevisionCounter":13168,"SCSIIOCount":{"40":10,"42":4113},"SectorSize":"4096","Size":"107374182400","Status":"RW","TotalReadBlockCount":"143360","TotalReadTime":"12792647","TotalWriteBlockCount":"40534016","TotalWriteTime":"68922008511","UpTime":"29595.305764","UsedBlocks":"613624","UsedLogicalBlocks":"613615","WriteIOPS":"4113","actions":{},"links":{"self":"http://127.0.0.1:9501/v1/stats"},"type":"stats"}
I1212 09:44:09.558113       1 jivacollector.go:59] Got response: {"Name":"pvc-2b15924e-fd57-11e8-b27a-42010a3f0103","ReadIOPS":"10","ReplicaCounter":3,"Replicas":[{"Address":"tcp://10.128.32.25:9502","Mode":"RW"},{"Address":"tcp://10.128.30.4:9502","Mode":"RW"},{"Address":"tcp://10.128.26.21:9502","Mode":"RW"}],"RevisionCounter":13174,"SCSIIOCount":{"40":10,"42":4119},"SectorSize":"4096","Size":"107374182400","Status":"RW","TotalReadBlockCount":"143360","TotalReadTime":"12792647","TotalWriteBlockCount":"40583168","TotalWriteTime":"68927678351","UpTime":"29624.442425","UsedBlocks":"613624","UsedLogicalBlocks":"613615","WriteIOPS":"4119","actions":{},"links":{"self":"http://127.0.0.1:9501/v1/stats"},"type":"stats"}
I1212 09:44:10.417433       1 jivacollector.go:59] Got response: {"Name":"pvc-2b15924e-fd57-11e8-b27a-42010a3f0103","ReadIOPS":"10","ReplicaCounter":3,"Replicas":[{"Address":"tcp://10.128.32.25:9502","Mode":"RW"},{"Address":"tcp://10.128.30.4:9502","Mode":"RW"},{"Address":"tcp://10.128.26.21:9502","Mode":"RW"}],"RevisionCounter":13174,"SCSIIOCount":{"40":10,"42":4119},"SectorSize":"4096","Size":"107374182400","Status":"RW","TotalReadBlockCount":"143360","TotalReadTime":"12792647","TotalWriteBlockCount":"40583168","TotalWriteTime":"68927678351","UpTime":"29625.301859","UsedBlocks":"613624","UsedLogicalBlocks":"613615","WriteIOPS":"4119","actions":{},"links":{"self":"http://127.0.0.1:9501/v1/stats"},"type":"stats"}

1 Ответ

0 голосов
/ 04 января 2019

В OpenEBS в настоящее время поддерживаются два механизма хранения,

  • cStor (рекомендуется)
  • Jiva

openebs_total_read_bytes и openebs_total_write_bytes - очень специфичные cstor, это не такбыл реализован в Джива еще.Похоже, что вы используете Jiva из описания, я бы порекомендовал вам использовать cStor, который является рекомендованным Storage Engine командой OpenEBS.

...