JackyYangPassion opened a new issue, #2627: URL: https://github.com/apache/incubator-hugegraph/issues/2627
### Bug Type (问题类型) None ### Before submit - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: Master (Apache Release Version) - Backend: HStore ### Expected & Actual behavior (期望与实际表现) # 当前问题 Histograms 类型指标值获取出现异常 NaN ``` jraft_append_logs_bytes_summary_count{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_mean # TYPE jraft_append_logs_bytes_mean gauge jraft_append_logs_bytes_mean{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_min # TYPE jraft_append_logs_bytes_min gauge jraft_append_logs_bytes_min{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_median # TYPE jraft_append_logs_bytes_median gauge jraft_append_logs_bytes_median{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_max # TYPE jraft_append_logs_bytes_max gauge jraft_append_logs_bytes_max{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_summary_sum # TYPE jraft_append_logs_bytes_summary_sum gauge jraft_append_logs_bytes_summary_sum{group="0",handle="data",hg="store",} NaN # HELP jraft_append_logs_bytes_summary # TYPE jraft_append_logs_bytes_summary gauge jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.95",} NaN jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.75",} NaN jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.999",} NaN jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.98",} NaN jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.99",} NaN jraft_append_logs_bytes_summary{group="0",handle="data",hg="store",quantile="0.5",} NaN ``` # 期望结果 通过Spring Actuator 接口获取正确的JRaft 监控指标 curl http://ip:8620/actuator/prometheus |grep jraft_append_logs_bytes # 指标详情 ``` -- <hg_0/127.0.0.1:8510> -- Histograms ------------------------------------------------------------------ append-logs-bytes count = 67710 min = 110 max = 110 mean = 110.00 stddev = 0.00 median = 110.00 75% <= 110.00 95% <= 110.00 98% <= 110.00 99% <= 110.00 99.9% <= 110.00 append-logs-count count = 67710 min = 1 max = 1 mean = 1.00 stddev = 0.00 median = 1.00 75% <= 1.00 95% <= 1.00 98% <= 1.00 99% <= 1.00 99.9% <= 1.00 fsm-apply-tasks-count count = 67705 min = 1 max = 1 mean = 1.00 stddev = 0.00 median = 1.00 75% <= 1.00 95% <= 1.00 98% <= 1.00 99% <= 1.00 99.9% <= 1.00 handle-append-entries-count count = 20 min = 0 max = 0 mean = 0.00 stddev = 0.00 median = 0.00 75% <= 0.00 95% <= 0.00 98% <= 0.00 99% <= 0.00 99.9% <= 0.00 replicate-entries-bytes count = 135378 min = 110 max = 110 mean = 110.00 stddev = 0.00 median = 110.00 75% <= 110.00 95% <= 110.00 98% <= 110.00 99% <= 110.00 99.9% <= 110.00 replicate-entries-count count = 135378 min = 1 max = 1 mean = 1.00 stddev = 0.00 median = 1.00 75% <= 1.00 95% <= 1.00 98% <= 1.00 99% <= 1.00 99.9% <= 1.00 replicator-hg_0/127.0.0.1:8512::64.replicate-inflights-count count = 20365 min = 1 max = 1 mean = 1.00 stddev = 0.00 median = 1.00 75% <= 1.00 95% <= 1.00 98% <= 1.00 99% <= 1.00 99.9% <= 1.00 replicator-hg_0/127.0.0.1:8513::80.replicate-inflights-count count = 20365 min = 1 max = 1 mean = 1.00 stddev = 0.00 median = 1.00 75% <= 1.00 95% <= 1.00 98% <= 1.00 99% <= 1.00 99.9% <= 1.00 ``` # 具体指标 ``` append-logs-bytes append-logs-count fsm-apply-tasks-count handle-append-entries-count replicate-entries-bytes replicate-entries-count replicate-inflights-count ``` ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- 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. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org