-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-12395] Add support to enable google cloud profiler for python S… #14877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
R: @tvalentyn |
sdks/python/setup.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you want to install some version in this range in
| # GCP extra features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point.
|
Could you describe the benefit of adding Cloud Profiler? Does this enable automatic instrumentation of Beam pipelines running on GCP? My team would actually benefit from having that feature :) FWIW, adding
It would have been nice to have this change flagged in the release notes (https://github.com/apache/beam/releases/tag/v2.31.0). I guess the ideal solution here is for google-cloud-profiler to distribute wheels... I filed GoogleCloudPlatform/cloud-profiler-python#98 |
Yes, this will enable automatic instrumentation of beam pipeline on GCP when the pipeline options has '--experiments=enable_google_cloud_profiler', I'll add that to release note. The package should have been pre-installed if running GCP. Didn't notice that this will introduce complexity to docker user, thanks for creating the issue for google-cloud-profiler to distribute the wheel. We can remove the dependency from base requirement and maybe have user to provide that dependency through requirements if they indeed need this functionality. |
…DK harness
Please add a meaningful description for your change here
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
ValidatesRunnercompliance status (on master branch)Examples testing status on various runners
Post-Commit SDK/Transform Integration Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.