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 57366ee
Browse filesBrowse the repository at this point in the historyBrowse files
feat(storage): integrate OpenTelemetry metrics gating across clients and transfer_manager (#18577)
Integrate the OpenTelemetry metrics gating configuration across Google
Cloud Storage client classes and `transfer_manager`.
- Add `enable_metrics` and `enable_debug_metrics` parameters to
`Client`, `GrpcClient`, and `AsyncGrpcClient`.
- Expose `metrics_enabled` and `debug_metrics_enabled` properties across
all three client classes.
- Preserve `enable_metrics` and `enable_debug_metrics` across
multi-process boundaries in `transfer_manager` (`_reduce_client` and
`_LazyClient`).
- Add unit tests in `test_client.py`, `test_grpc_client.py`,
`test_async_grpc_client.py`, and `test_transfer_manager.py`.
0 commit comments