vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.89k stars 1.21k forks source link

nebula metric question #5900

Open vealfan opened 5 months ago

vealfan commented 5 months ago

请问,nebula现在支持的监控指标内容可以开放SDK的方式来获取嘛?或者有其他不通过http接口去获取的方式嘛

vealfan commented 5 months ago

因为我想获取不同用户下使用不同图空间的一些指标信息,这种方式有sdk方式获取嘛

wey-gu commented 5 months ago

All metrics are also open-source and documented, apart from the raw HTTP way of accessing them, there is a nebula-stats-exporter project out there to consume the metrics with grafana, etc.

Please check this out:

wey-gu commented 5 months ago

因为我想获取不同用户下使用不同图空间的一些指标信息,这种方式有sdk方式获取嘛

By different users, do you mean different spaces? Some of the metrics are graph space-specific.

ref:

vealfan commented 1 month ago

各种的指标的实现逻辑,这块有对外开放可以看实现逻辑吗

vealfan commented 1 month ago

因为我想查看num_reclaimed_expired_sessions这个指标的实现逻辑 @wey-gu