junmuz opened a new issue, #11386: URL: https://github.com/apache/paimon/issues/11386
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Motivation Paimon exposes scan metrics for Flink source enumerators, but equivalent metrics are missing for dedicated source Monitor operators and sink initialization and recovery paths. These components also scan manifest metadata, so the missing metrics make it difficult to measure metadata planning costs when investigating slow snapshot discovery, startup, or recovery. ### Solution Extend the existing scan metrics to cover: • Source Monitor operators: Report bounded and streaming scan metrics under the Monitor operator’s TaskManager metric group. • Sink writers: Report manifest scans used to initialize or recover writers under each writer subtask’s TaskManager metric group. • Sink coordinators: Report manifest prefetch and partition/bucket recovery scans under the sink coordinator’s JobManager metric group, including scans triggered by metadata refresh. ### 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]
