This is an automated email from the ASF dual-hosted git repository.
zaynt4606 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 37925dd40b [MINOR] Clarify worker metrics in monitoring documentation
37925dd40b is described below
commit 37925dd40b980f75c14aa6d2506fda729ab0bebc
Author: huangxiaoping <[email protected]>
AuthorDate: Tue Nov 17 15:33:18 2026 +0800
[MINOR] Clarify worker metrics in monitoring documentation
### What changes were proposed in this pull request?
Clarify the descriptions of several Worker metrics in the monitoring
documentation:
- Distinguish flush counts from the number of bytes flushed for local,
HDFS, OSS, and S3 storage.
- Describe `SlotsAllocated` as a cumulative count of successfully reserved
slots, including primary and replica slots.
- Describe `NettyMemory` as the direct memory usage reported by Netty.
### Why are the changes needed?
The current descriptions can lead readers to confuse flush counts with byte
counts, a cumulative counter with a one-hour value, and Netty direct memory
with all Worker off-heap memory.
### Does this PR resolve a correctness bug?
- [ ] Yes
### Does this PR introduce _any_ user-facing change?
- [x] Yes
The monitoring documentation more accurately describes these metrics.
Metric behavior is unchanged.
### How was this patch tested?
- Compared the descriptions with the Worker metric registration and update
code.
- Checked the Markdown table alignment and ran `git diff --check`.
- No runtime tests were run for this documentation-only change.
Closes #3965 from huangxiaopingRD/fix-flush-metrics-docs.
Authored-by: huangxiaoping <[email protected]>
Signed-off-by: zhengtao <[email protected]>
AI-Contributed/Feature: 0/20
AI-Contributed/UT: 0/0
---
docs/monitoring.md | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/docs/monitoring.md b/docs/monitoring.md
index ff189ad4d5..bd48d98d76 100644
--- a/docs/monitoring.md
+++ b/docs/monitoring.md
@@ -250,12 +250,12 @@ These metrics are exposed by Celeborn worker.
| FlushS3DataTime | The time for a worker to write
a buffer to s3 storage.
|
| CommitFilesTime | The time for a worker to flush
buffers and close files related to specified shuffle.
|
| CommitFilesFailCount | The count of commit files
request failed in current worker.
|
- | SlotsAllocated | Slots allocated in last hour.
|
+ | SlotsAllocated | Cumulative number of slots
successfully reserved by the worker, including primary and replica slots.
|
| ReserveSlotsFailCount | The count of failed slot
reservation requests, counted once per request rather than per slot.
|
| ActiveSlotsCount | The number of slots currently
being used in a worker.
|
| ReserveSlotsTime | ReserveSlots means acquire a
disk buffer and record partition location.
|
| ActiveConnectionCount | The count of active network
connection.
|
- | NettyMemory | The total amount of off-heap
memory used by celeborn worker.
|
+ | NettyMemory | Direct memory usage in bytes
reported by Netty's `PlatformDependent.usedDirectMemory()`.
|
| SortTime | The time for a worker to sort a
shuffle file.
|
| SortMemory | The memory used by sorting
shuffle files.
|
| SortingFiles | The count of sorting shuffle
files.
|
@@ -294,14 +294,14 @@ These metrics are exposed by Celeborn worker.
| DirectMemoryUsageRatio | Ratio of direct memory used and
max direct memory.
|
| RegisterWithMasterFailCount | The count of failures in
register with master request.
|
| FlushWorkingQueueSize | The size of flush working queue
for mount point.
|
- | LocalFlushCount | The amount of data flushed to
local.
|
- | LocalFlushSize | The size of data flushed to
local.
|
- | HdfsFlushCount | The amount of data flushed to
HDFS.
|
- | HdfsFlushSize | The size of data flushed to
HDFS.
|
- | OssFlushCount | The amount of data flushed to
OSS.
|
- | OssFlushSize | The size of data flushed to
OSS.
|
- | S3FlushCount | The amount of data flushed to
S3.
|
- | S3FlushSize | The size of data flushed to S3.
|
+ | LocalFlushCount | The number of flushes to local
storage.
|
+ | LocalFlushSize | The number of bytes flushed to
local storage.
|
+ | HdfsFlushCount | The number of flushes to HDFS.
|
+ | HdfsFlushSize | The number of bytes flushed to
HDFS.
|
+ | OssFlushCount | The number of flushes to OSS.
|
+ | OssFlushSize | The number of bytes flushed to
OSS.
|
+ | S3FlushCount | The number of flushes to S3.
|
+ | S3FlushSize | The number of bytes flushed to
S3.
|
| MetadataOperationStatusCount | The count of metadata DB
operations performed by the worker |
| push_usedHeapMemory |
|
| push_usedDirectMemory |
|