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)

Reply via email to