[Feature Request]: Support more latency, throughput, and resource usage metrics in the benchmark framework
What would you like to happen?
The Java SDK benchmark / load test framework under it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/ supports a limited set of metrics by default. Support for the following metrics are needed to enable richer, more informative benchmarks:
- Per stage E2E latencies at various percentiles
- Input throughput normalized by vCPU time
- Resource usage and cost estimation (vCPU, memory, etc.) over a set, steady state interval rather than over the entire lifetime of a streaming pipeline
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components
- [ ] Component: Python SDK
- [x] 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
.take-issue @frank-shuo-chen @jrmccluskey
.free-issue
.take-issue
Thanks for assigning the issue.
I'd be interested in working on this. Before starting implementation, could you clarify:
- Should these metrics be runner-agnostic, or initially implemented for the Dataflow runner?
- Is there an existing metrics abstraction in the IT framework we should extend?
- For steady-state intervals, is there a preferred strategy (e.g., fixed time window, manual marking, auto-detection)?
I'd like to align on design expectations before proceeding.
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 issue has been closed due to lack of activity. If you think that is incorrect, you can reopen the issue at any time.