lostluck opened a new issue, #31926:
URL: https://github.com/apache/beam/issues/31926

   Prism doesn't currently populate Attempted metrics, just committed metrics, 
when returning metrics through Job Logs.
   
   In principle, for completed jobs, the values should be identical. They 
should only be different while a Job is executing.
   
   The short version: Committed metrics should be all metrics from 
ProcessBundleResponses, while tentative metrics are those *plus* anything from 
a ProcessBundleProgressResponse.
   
   Metrics are accumulated here.
   
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/runners/prism/internal/jobservices/metrics.go#L483
   
   This would allow the following Java Validates Runner tests to pass:
   
   MetricsTest$AttemptedMetricTests.testAttemptedDistributionMetrics
   MetricsTest$AttemptedMetricTests.testAttemptedCounterMetrics


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to