[
https://issues.apache.org/jira/browse/FLINK-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426812#comment-15426812
]
ASF GitHub Bot commented on FLINK-4389:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/2363#discussion_r75346742
--- 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 --
Can we name this method like the message?
> Expose metrics to Webfrontend
> -----------------------------
>
> Key: FLINK-4389
> URL: https://issues.apache.org/jira/browse/FLINK-4389
> Project: Flink
> Issue Type: Sub-task
> Components: Metrics, Webfrontend
> Affects Versions: 1.1.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Fix For: pre-apache
>
>
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-7%3A+Expose+metrics+to+WebInterface
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)