You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kevin Peterson (JIRA)" <ji...@apache.org> on 2018/04/26 20:41:00 UTC
[jira] [Created] (BEAM-4178) Metric doesn't appear until first
changed
Kevin Peterson created BEAM-4178:
------------------------------------
Summary: Metric doesn't appear until first changed
Key: BEAM-4178
URL: https://issues.apache.org/jira/browse/BEAM-4178
Project: Beam
Issue Type: Bug
Components: beam-model, sdk-java-core
Affects Versions: 2.4.0
Environment: Java, DataflowRunner
Reporter: Kevin Peterson
Assignee: Kenneth Knowles
When defining a counter Metric, I've noticed that the Metric does not show up in the Dataflow UI (or stackdriver) until it is first incremented or decremented.
Ideally, some initial value for the metric should be reported when the pipeline is started.
The specific use case I have in mind is setting up a Stackdriver alert for a error condition in the pipeline. But because the metric doesn't show up until an error actually happens, I can't set the metric up in advance.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)