Skip to content

[gmon] Add Monarch retention rules for P2P transfer latency and PCIe byte metrics. - #959

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_983643828
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_983643828

Conversation

@copybara-service

Copy link
Copy Markdown

[gmon] Add Monarch retention rules for P2P transfer latency and PCIe byte metrics.

Updates //configs/monitoring/ml_observability_blr/tpu_sync_retention.py and tpu_sync_retention_test.py to retain the 3 new TPU Sync Streamz metrics:

  • P2P_TRANSFER_TIME_MS (/tpu_sync/p2p_transfer_time_ms): mapped to retention.SENSITIVE_CRITICAL (30s sampling in memory, AF2 QoS, 165w disk) alongside TRANSFER_DURATION_MS, H2D_TRANSFER_TIME_MS, and D2H_TRANSFER_TIME_MS.
  • H2D_BYTES_TOTAL (/tpu_sync/h2d_bytes_total) and D2H_BYTES_TOTAL (/tpu_sync/d2h_bytes_total): added to ALL_METRICS and retained under retention.SENSITIVE_SECONDARY (1m sampling, 80w disk) via METRIC_PREFIX.

…byte metrics.

Updates `//configs/monitoring/ml_observability_blr/tpu_sync_retention.py` and `tpu_sync_retention_test.py` to retain the 3 new TPU Sync Streamz metrics:
- `P2P_TRANSFER_TIME_MS` (`/tpu_sync/p2p_transfer_time_ms`): mapped to `retention.SENSITIVE_CRITICAL` (30s sampling in memory, AF2 QoS, 165w disk) alongside `TRANSFER_DURATION_MS`, `H2D_TRANSFER_TIME_MS`, and `D2H_TRANSFER_TIME_MS`.
- `H2D_BYTES_TOTAL` (`/tpu_sync/h2d_bytes_total`) and `D2H_BYTES_TOTAL` (`/tpu_sync/d2h_bytes_total`): added to `ALL_METRICS` and retained under `retention.SENSITIVE_SECONDARY` (1m sampling, 80w disk) via `METRIC_PREFIX`.

PiperOrigin-RevId: 983643828
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants