DerGut opened a new pull request, #3687: URL: https://github.com/apache/iceberg-rust/pull/3687
## Which issue does this PR close? This PR belongs to the second attempt at closing https://github.com/apache/iceberg-rust/issues/1466 by implementing Iceberg's [Metrics Reporting API](https://iceberg.apache.org/docs/latest/metrics-reporting/). This is the second of three planned PRs: 1. https://github.com/apache/iceberg-rust/pull/3667: Scan report collection and lifecycle, with a logging consumer 2. (this PR): Public reporter API and configuration 3. REST catalog scan reporting ## What changes are included in this PR? This PR adds the public API: - a public `MetricsReporter` trait and the types it consumes (`pub enum MetricsReport` and its children/ fields). - setters on the `Table` and `TableScan` to overwrite a metrics reporter (default is the `LoggingMetricsReporter` matching Java's behavior This build towards the third planned PR which adds a REST-catalog specific metrics reporter based on this API. ## Are these changes tested? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## AI Disclosure <!-- https://iceberg.apache.org/contribute/#guidelines-for-ai-assisted-contributions --> -- 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]
