Skip to content

Add bytesRead metric to BigQuery source connector#9

Open
Yanisdje wants to merge 1 commit into
mainfrom
yd/add-bytes-read-metric-969
Open

Add bytesRead metric to BigQuery source connector#9
Yanisdje wants to merge 1 commit into
mainfrom
yd/add-bytes-read-metric-969

Conversation

@Yanisdje

@Yanisdje Yanisdje commented Apr 24, 2026

Copy link
Copy Markdown

Internal issue: https://github.com/Shopify/streaming-compute/issues/969

Adds a bytesRead counter metric to the BQ source reader that tracks the Avro payload bytes received from BigQuery's Storage Read API. This enables Data Platform to measure total bytes ingested by Flink across all sources.

Changes:

  • Register bytesRead counter in BigQuerySourceReaderContext
  • Increment it per ReadRowsResponse in BigQuerySourceSplitReader.fetch()
  • Both flink 1.17/2.1 connector versions

@Yanisdje Yanisdje self-assigned this Apr 24, 2026
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