Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/2363#discussion_r75354845 --- Diff: flink-runtime/src/main/scala/org/apache/flink/runtime/messages/Messages.scala --- @@ -47,4 +47,21 @@ object Messages { * @return The Acknowledge case object instance. */ def getAcknowledge(): Acknowledge.type = Acknowledge + + /** + * Signals that the receiver (JobManager/TaskManager) should transmit a dump of the + * registered metrics. + * + * This message may be send regularly by the WebInterface. + */ + case object MetricRequest + + /** + * Accessor for the case object instance, to simplify Java interoperability. + * + * @return The MetricRequest case object instance. + */ + def getRequestMetrics(): AnyRef = { --- End diff -- sure
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---