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
{{ message }}
Repository navigation
Commit 3549453
Browse filesBrowse the repository at this point in the historyBrowse files
[core][gcs] Split out Redis wrapping and capture TableName as std::string
Address review on #65583:
- Move the Redis-backend wrapping (MaybeObserve, the
gcs_redis_storage_metrics_enabled flag, and the shared_ptr delegate
change) out of this PR into a separate one.
- NormalizeTableNameLabel now returns a std::string and the latency
callbacks capture it by value. The string_view-into-static-storage
design saved at most one SSO copy per operation, which is not
measurable next to the storage round trip, so drop it along with the
lifetime/SSO comments and the tests that only existed to support it.
Signed-off-by: zzchun <zzchun8@gmail.com>
Copy file name to clipboardExpand all lines: doc/source/ray-observability/reference/system-metrics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ These variables must be set in the Ray node and Dashboard Reporter process envir
50
50
- Current number of placement groups by state. The State label (e.g., PENDING, CREATED, REMOVED) describes the state of the placement group. See [rpc::PlacementGroupTable](https://github.com/ray-project/ray/blob/e85355b9b593742b4f5cb72cab92051980fa73d3/src/ray/protobuf/gcs.proto#L517) for more information.
51
51
* - `ray_gcs_storage_operation_count_total`
52
52
- `Operation`, `TableName`
53
-
- Number of operations the GCS invoked on its storage backend, broken down by operation (`Put`, `Get`, `GetAll`, `MultiGet`, `Delete`, `BatchDelete`, `GetKeys`, `Exists`, `GetNextJobID`) and by the GCS table it addressed. `TableName` is bounded to the names of Ray's internal `TablePrefix` enum, plus `JobCounter` for `GetNextJobID` and `OTHER` for a table name outside that enum. The values the GCS produces in practice are `JOB`, `ACTOR`, `ACTOR_TASK_SPEC`, `PLACEMENT_GROUP`, `NODE`, `WORKERS` and `KV`; the remaining enum names are legacy and no current code path emits them. Keys, internal-KV namespaces and any other user-supplied string never appear in labels. Recorded when the operation is issued, so this leads `ray_gcs_storage_operation_latency_ms` by the number of operations in flight. On the external-Redis backend, set `RAY_gcs_redis_storage_metrics_enabled=false` to stop exporting both metrics; the in-memory and RocksDB backends always export them.
53
+
- Number of operations the GCS invoked on its storage backend, broken down by operation (`Put`, `Get`, `GetAll`, `MultiGet`, `Delete`, `BatchDelete`, `GetKeys`, `Exists`, `GetNextJobID`) and by the GCS table it addressed. `TableName` is bounded to the names of Ray's internal `TablePrefix` enum, plus `JobCounter` for `GetNextJobID` and `OTHER` for a table name outside that enum. The values the GCS produces in practice are `JOB`, `ACTOR`, `ACTOR_TASK_SPEC`, `PLACEMENT_GROUP`, `NODE`, `WORKERS` and `KV`; the remaining enum names are legacy and no current code path emits them. Keys, internal-KV namespaces and any other user-supplied string never appear in labels. Recorded when the operation is issued, so this leads `ray_gcs_storage_operation_latency_ms` by the number of operations in flight. Exported only when the GCS storage backend is in-memory or RocksDB.
54
54
* - `ray_gcs_storage_operation_latency_ms`
55
55
- `Operation`, `TableName`
56
56
- Time to invoke an operation on the GCS storage backend, with the same label domain as `ray_gcs_storage_operation_count_total`. Recorded when the operation completes.
0 commit comments