mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #733] [MERGED] feat(client): Add client-side metrics for transfer and RPC operations #1779
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1779
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/733
Author: @xiaguan
Created: 8/12/2025
Status: ✅ Merged
Merged: 8/13/2025
Merged by: @xiaguan
Base:
main← Head:master_client_metric📝 Commits (9)
d5486e3feat(client): Add RPC operation and tansfer metrics trackingba52666feat(client): Add client-side metrics for transfer and RPC operations6b6d76bfix test48d5eefUpdate mooncake-store/src/client.cppb1868bdUpdate mooncake-store/src/client.cpp8027424Update mooncake-store/src/client.cpp7629f4ffix format issuea98b0b4refactor(client): make client metrics optional using ClientMetric class19871fafix lint📊 Changes
11 files changed (+869 additions, -28 deletions)
View changed files
📝
mooncake-store/include/client.h(+23 -0)➕
mooncake-store/include/client_metric.h(+276 -0)📝
mooncake-store/include/master_client.h(+8 -8)📝
mooncake-store/include/transfer_task.h(+11 -1)📝
mooncake-store/src/CMakeLists.txt(+1 -0)📝
mooncake-store/src/client.cpp(+57 -2)➕
mooncake-store/src/client_metric.cpp(+133 -0)📝
mooncake-store/src/master_client.cpp(+132 -10)📝
mooncake-store/src/transfer_task.cpp(+39 -7)📝
mooncake-store/tests/CMakeLists.txt(+11 -0)➕
mooncake-store/tests/client_metrics_test.cpp(+178 -0)📄 Description
In this PR, we introduce client side support for both transfer and RPC-related metrics.
We provide interface support: Prometheus-style and human-readable formats. Additionally, we've implemented a background thread for metric printing (disabled by default).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.