[
https://issues.apache.org/jira/browse/FLINK-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061930#comment-15061930
]
ASF GitHub Bot commented on FLINK-3131:
---------------------------------------
Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/1453#discussion_r47895592
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/state/StateHandle.java ---
@@ -43,4 +43,15 @@
* used any more.
*/
void discardState() throws Exception;
+
+ /**
+ * Returns the size of the state in bytes.
+ *
+ * <p>If the the size is not known, return <code>0</code>.
+ *
+ * @return Size of the state in bytes.
+ *
--- End diff --
New line which could be removed for consistency.
> Expose checkpoint metrics
> -------------------------
>
> Key: FLINK-3131
> URL: https://issues.apache.org/jira/browse/FLINK-3131
> Project: Flink
> Issue Type: Improvement
> Components: Webfrontend
> Affects Versions: 0.10.1
> Reporter: Ufuk Celebi
> Assignee: Ufuk Celebi
>
> Metrics about checkpoints are only accessible via the job manager logs and
> only show information about the completed checkpoints.
> The checkpointing metrics should be exposed in the web frontend, including:
> - number
> - duration
> - state size
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)