You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2024/07/26 17:47:05 UTC
[I] [Bug]: Portable runner queryMetrics returns duplicate result [beam]
Abacn opened a new issue, #32001:
URL: https://github.com/apache/beam/issues/32001
### What happened?
For portable runner pipeline result, it is found running `PipelineResult.metrics().queryMetrics(...).getCounter/getDistribution/etc` returns each metric twice, found in https://github.com/apache/beam/pull/31999#issuecomment-2253037656
The reson is in
https://github.com/apache/beam/blob/44792814ff303cd561a1fb3d0ff6cb1b4b4c3135/runners/portability/java/src/main/java/org/apache/beam/runners/portability/PortableMetrics.java#L93-L94
it adds both attempted list and committed list, which essentially has the same info, then in `convert...MonitoringInfoTo...` always creates attempted metrics
### Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
### Issue Components
- [ ] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam YAML
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Infrastructure
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner
--
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-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Portable runner queryMetrics returns duplicate result [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #32001:
URL: https://github.com/apache/beam/issues/32001#issuecomment-3274829956
This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.
--
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-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Portable runner queryMetrics returns duplicate result [beam]
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn closed issue #32001: [Bug]: Portable runner queryMetrics returns duplicate result
URL: https://github.com/apache/beam/issues/32001
--
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-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org