Skip to content

feat(storage): wire operation metrics in HTTP veneer and storage channels - #14698

Open
nidhiii-27 wants to merge 4 commits into
feat/storage-logical-metricsfrom
feat/storage-veneer-operation-metrics
Open

nidhiii-27 wants to merge 4 commits into
feat/storage-logical-metricsfrom
feat/storage-veneer-operation-metrics

Conversation

@nidhiii-27

@nidhiii-27 nidhiii-27 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Wires operation metrics into shared storage channels and the HTTP/JSON veneer implementation.

  • Plumbs StorageMetricsContext into BaseStorageReadChannel and BaseStorageWriteChannel to record operations on close.
  • Instruments StorageImpl, HttpCopyWriter, and HTTP channel wrappers (BlobReadChannelV2, BlobWriteChannelV2).
  • Updates CopyWriterTest unit tests.

Stacked on #14695.

@nidhiii-27
nidhiii-27 requested review from a team as code owners October 20, 2026 14:05

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request integrates StorageMetricsContext across various storage operations in GrpcStorageImpl, StorageImpl, and GapicCopyWriter to enable operation-specific metrics tracking. However, in GrpcStorageImpl.java's moveBlob method, the metricsContext is passed to the retrier but is not merged into the GrpcCallContext or passed to the moveObjectCallable call, which prevents proper propagation of the metrics context to the gRPC request.

@nidhiii-27
nidhiii-27 added this pull request to stack #14485 October 21, 2026 08:14
@Dhriti07
Dhriti07 force-pushed the feat/storage-veneer-operation-metrics branch from 29c672c to 6c828d8 Compare October 22, 2026 05:06
@nidhiii-27
nidhiii-27 force-pushed the feat/storage-logical-metrics branch from 2455496 to 02b170e Compare October 22, 2026 05:42
@nidhiii-27
nidhiii-27 requested review from a team as code owners October 22, 2026 05:42
@nidhiii-27
nidhiii-27 removed this pull request from stack #14485 October 22, 2026 05:45
@nidhiii-27
nidhiii-27 force-pushed the feat/storage-veneer-operation-metrics branch from 6c828d8 to 3011be4 Compare October 22, 2026 05:47
@nidhiii-27 nidhiii-27 changed the title feat(storage): wire veneer operation metrics in StorageImpl and GrpcStorageImpl feat(storage): wire operation metrics in HTTP veneer and storage channels Oct 22, 2026
@nidhiii-27
nidhiii-27 force-pushed the feat/storage-logical-metrics branch from 02b170e to 2b123b7 Compare October 22, 2026 05:54
@nidhiii-27
nidhiii-27 force-pushed the feat/storage-veneer-operation-metrics branch from 3011be4 to 261bc60 Compare October 22, 2026 05:55

This branch has not been deployed

No deployments
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.

1 participant