nebula icon indicating copy to clipboard operation
nebula copied to clipboard

nebula metric question

Open vealfan opened this issue 1 year ago • 5 comments

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

vealfan avatar Jun 20 '24 07:06 vealfan

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

vealfan avatar Jun 20 '24 07:06 vealfan

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:

  • https://github.com/vesoft-inc/nebula-stats-exporter
  • https://www.nebula-graph.io/products/dashboard

wey-gu avatar Jun 20 '24 07:06 wey-gu

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

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

ref:

  • https://docs.nebula-graph.com.cn/3.8.0/6.monitor-and-metrics/1.query-performance-metrics/#_6 (Chinese)
  • https://docs.nebula-graph.io/3.8.0/6.monitor-and-metrics/1.query-performance-metrics/#space-level_metrics (en)

wey-gu avatar Jun 20 '24 07:06 wey-gu

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

vealfan avatar Oct 17 '24 01:10 vealfan

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

vealfan avatar Oct 17 '24 01:10 vealfan