DerGut opened a new pull request, #3709:
URL: https://github.com/apache/iceberg-rust/pull/3709

   ## Which issue does this PR close?
   
   This PR works towards #1466 to make iceberg-rust participate in [metrics 
reporting](https://iceberg.apache.org/docs/latest/metrics-reporting/). This is 
relevant to analyze access patterns and troubleshoot problems with table layout.
   
   I realized that https://github.com/apache/iceberg-rust/pull/3667 is too big 
to get started and am instead attempting to land the API first, because the 
metrics counting logic can re-use it for tests.
   
   ## What changes are included in this PR?
   
   This PR builds the public reporter contract and scan report types).
   
   ```rust
   #[async_trait]
   pub trait MetricsReporter: Debug + Send + Sync {
       /// Reports the metrics for a completed table operation.
       async fn report(&self, report: &MetricsReport);
   }
   ```
   
   ## Are these changes tested?
   
   Yes, other PRs build on this API showing that it's design is plausible. The 
PR doesn't include any logic.
   
   ## AI Disclosure
   
   Generated the with an agent.


-- 
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]

Reply via email to