[
https://issues.apache.org/jira/browse/FLINK-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-8004:
------------------------------------
Description:
Hi, we have been stumbled about some documentation inconsistencies in how to
use metrics in flink. Seems there is some invalid java code posted as samples
like having methods declared as @public and missing return statements, see
[here|https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/metrics.html#counter]
I raised a question on
[SO|https://stackoverflow.com/questions/47153424/what-does-public-modifier-mean-in-method-signature]
and Fabian asked me to open a Jira issue
was:
Hi, we have been stumbled about some documentation inconsistencies in how to
use metrics in flink. Seems there is some invalid java code posted as samples
like having methods declared as @public and missing return statements, see
[here|https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/metrics.html#counter]
I raised a question on
[SO|https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/metrics.html#counter]
and Fabian asked me to open a Jira issue
> Sample code in Debugging & Monitoring Metrics documentation section is not
> valid java
> --------------------------------------------------------------------------------------
>
> Key: FLINK-8004
> URL: https://issues.apache.org/jira/browse/FLINK-8004
> Project: Flink
> Issue Type: Improvement
> Reporter: Andreas Hecke
> Assignee: Chesnay Schepler
> Priority: Minor
>
> Hi, we have been stumbled about some documentation inconsistencies in how to
> use metrics in flink. Seems there is some invalid java code posted as samples
> like having methods declared as @public and missing return statements, see
> [here|https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/metrics.html#counter]
> I raised a question on
> [SO|https://stackoverflow.com/questions/47153424/what-does-public-modifier-mean-in-method-signature]
> and Fabian asked me to open a Jira issue
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)