alexanderbianchi commented on code in PR #124:
URL:
https://github.com/apache/datafusion-iceberg/pull/124#discussion_r4762873942
##########
crates/datafusion/src/read/scan.rs:
##########
@@ -240,13 +243,31 @@ impl DataSource for IcebergDataSource {
task_context: &context,
},
)?;
- let stream = self
+ let files_opened = MetricBuilder::new(&self.metrics)
+ .with_category(MetricCategory::Rows)
+ .counter("files_opened", partition);
+ let bytes_scanned = MetricBuilder::new(&self.metrics)
+ .with_type(MetricType::Summary)
+ .with_category(MetricCategory::Bytes)
+ .gauge("bytes_scanned", partition);
Review Comment:
https://github.com/datafusion-contrib/datafusion-distributed/pull/850#discussion_r4492143410
You had requested a guage for bytes_scanned here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]