smattheis opened a new pull request #18991: URL: https://github.com/apache/flink/pull/18991
## What is the purpose of the change * Add mailbox delay/latency metric backed by a DescriptiveStatisticsHistogram and throughput metric backed by a MeterView. ## Brief change log * Added metrics to TaskIOMetricGroup * Extended StreamTask to schedule mailbox latency measurements using a timer * Extended MailboxProcessor to count processed mails for throughput measurement ## Verifying this change This change added tests and can be verified as follows: - Extended existing test method TaskMailboxProcessorTest#testRunDefaultActionAndMails to verify mail/throughput counting - Added test method StreamTaskTest#testMailboxMetricsLatency to verify timer-based latency measurement ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (yes / __no__) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / __no__) - The serializers: (yes / __no__ / don't know) - The runtime per-record code paths (performance sensitive): (__yes__ / no / don't know) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / __no__ / don't know) - The S3 file system connector: (yes / __no__ / don't know) ## Documentation - Does this pull request introduce a new feature? (__yes__ / no) - If yes, how is the feature documented? (not applicable / __docs__ / __JavaDocs__ / not documented) __Note:__ This PR is based on https://github.com/apache/flink/pull/18984 which is a hotfix. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org