Skip to content
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

[batch] Profile more services not just batch-driver #12681

Merged
merged 7 commits into from
Feb 11, 2023

Conversation

daniel-goldstein
Copy link
Contributor

No description provided.

jigold
jigold previously requested changes Feb 10, 2023
verbose=3,
)

def ignore_failed_to_collect_and_upload_profile(record):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this block need to be indented to the left by 1 tab?

import googlecloudprofiler

HAIL_SHA = os.environ['HAIL_SHA']
HAIL_SHOULD_PROFILE = os.environ.get('HAIL_SHOULD_PROFILE', False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to cast this to a boolean.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to an in check, since we only ever include that environment variable when we want to profile.

@danking danking merged commit 451fdcc into hail-is:main Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants