junmuz opened a new issue, #7588: URL: https://github.com/apache/paimon/issues/7588
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Motivation Paimon's commit metrics currently provide detailed information about file counts, sizes, durations, and compaction stats, but they do not expose the snapshot ID produced by each commit. Similarly, the lastScannedSnapshotId scan metric exists in code but is missing from the metrics documentation. Adding these improves observability for operators monitoring streaming ingestion pipelines. ### Solution Add lastCommittedSnapshotId gauge to commit metrics. Document lastScannedSnapshotId and lastCommittedSnapshotId in metrics reference ### Anything else? _No response_ ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
