[
https://issues.apache.org/jira/browse/BEAM-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972942#comment-15972942
]
ASF GitHub Bot commented on BEAM-1383:
--------------------------------------
GitHub user pabloem opened a pull request:
https://github.com/apache/beam/pull/2575
[BEAM-1383] Making metrics usage in datastore_wordcount consistent
Modifying `datastore_wordcount.py` to create metrics within the `__init__`
method of the DoFn that uses them.
r: @aaltay
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pabloem/incubator-beam consistent-metrics
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2575.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2575
----
commit 157a3eeb6a8b3b8931b1ac3bffc750d6f3133aa5
Author: Pablo <[email protected]>
Date: 2017-04-18T15:43:12Z
Making metrics usage in datastore_wordcount consistent
----
> Consistency in the Metrics examples
> -----------------------------------
>
> Key: BEAM-1383
> URL: https://issues.apache.org/jira/browse/BEAM-1383
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Pablo Estrada
> Assignee: Pablo Estrada
> Labels: newbie, starter
> Fix For: First stable release
>
>
> snippets.py and wordcount.py initialize them in different places. Fix this.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)