[ https://issues.apache.org/jira/browse/BEAM-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Wegner closed BEAM-4178. ------------------------------ Resolution: Won't Fix Fix Version/s: Not applicable Please let us now if the posted workaround is insufficient. > 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, runner-dataflow, sdk-java-core > Affects Versions: 2.4.0 > Environment: Java, DataflowRunner > Reporter: Kevin Peterson > Assignee: Scott Wegner > Priority: Minor > Fix For: Not applicable > > > 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)