Skip to content

Support OutputBytes, OutputBatches, PruningMetrics, and Ratio metrics#305

Merged
jayshrivastava merged 1 commit intomainfrom
js/support-more-metrics
Jan 22, 2026
Merged

Support OutputBytes, OutputBatches, PruningMetrics, and Ratio metrics#305
jayshrivastava merged 1 commit intomainfrom
js/support-more-metrics

Conversation

@jayshrivastava
Copy link
Collaborator

Add proto serialization support for four additional DataFusion metric types that were previously filtered out during metrics collection. This enables these metrics to be transferred across network boundaries in distributed query execution and displayed in explain analyze output.

Closes #237

Add proto serialization support for four additional DataFusion metric types
that were previously filtered out during metrics collection. This enables
these metrics to be transferred across network boundaries in distributed
query execution and displayed in explain analyze output.

Closes #237
@jayshrivastava jayshrivastava force-pushed the js/support-more-metrics branch from 27429d9 to 36f6ff2 Compare January 22, 2026 19:47
Copy link
Collaborator

@gabotechs gabotechs left a comment

Choose a reason for hiding this comment

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

💯

Comment on lines -15 to +21
#[prost(message, repeated, tag = "12")]
#[prost(message, repeated, tag = "16")]
pub labels: Vec<ProtoLabel>,
#[prost(uint64, optional, tag = "13")]
#[prost(uint64, optional, tag = "17")]
Copy link
Collaborator

Choose a reason for hiding this comment

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

For now it's completely fine, but at some point we'll need to keep in mind backwards compatibility. Completely fine now as we are not guaranteeing that changes are backwards compatible.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍🏽

@jayshrivastava jayshrivastava merged commit 056e689 into main Jan 22, 2026
7 checks passed
@jayshrivastava jayshrivastava deleted the js/support-more-metrics branch January 22, 2026 20:20
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.

Support transferring OutputByte metrics

2 participants