Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] I can not get metrics from store server

Open
#2,600 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
api, observability

Research direction

Reproduce the behavior with the reported /metrics and /metrics/drive curl requests against a HugeGraph server deployed from the linked guide. Trace the REST API entry points that serve these endpoints and compare their metric sources; done means /metrics returns the expected metrics rather than an empty object, with coverage for the observed behavior.

Written by the indexing model from the issue text.

Description

bug store
Bug Type (问题类型)

rest-api (结果不合预期)

Before submit
  • 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
  • Server Version: master branch
  • Backend: Server deployed by Guide doc
  • OS: Mac
  • Data Size: Less than 10 vertices
Expected & Actual behavior (期望与实际表现)

If I call
curl "http://localhost:8520/metrics"
It just return {}.
No metrics are returned.

But call

curl "http://localhost:8520/metrics/drive"

It can return {"/":{"usable_space":89916,"total_space":471482,"free_space":89916,"size_unit":"MB"}}%

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Dominant language
Java
Stars
3.2k
Forks
640
Avg merge
3d 9h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/hugegraph

All issues in apache/hugegraph

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.