You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason you are receiving an empty JSON object when calling the /metrics endpoint is that the index() method mapped to this endpoint returns an empty HashMap:
This method is designed to return an empty map, which translates to an empty JSON object in the response. In contrast, the /metrics/drive endpoint calls the drive() method, which returns the actual drive metrics data:
Bug Type (问题类型)
rest-api (结果不合预期)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
If I call
curl "http://localhost:8520/metrics"
It just return
{}
.No metrics are returned.
But call
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
The text was updated successfully, but these errors were encountered: