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

for MPP-3467: add googlecloudprofiler to PrivateRelayConfig.ready #4321

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

groovecoder
Copy link
Member

@groovecoder groovecoder commented Jan 17, 2024

Google Cloud Profiler

https://cloud.google.com/profiler/docs
https://cloud.google.com/profiler/docs/profiling-python

Screenshot (if applicable)

image

How to test

Follow the steps in https://github.com/mozilla/fx-private-relay/pull/4321/files#diff-01748e8486974d80818eb9b8c9f623769f0ddb0821f867644d6e113f0dc008d3 for local server setup.

Checklist (Definition of Done)

  • Product Owner accepted the User Story (demo of functionality completed) or waived the privilege.
  • All acceptance criteria are met.
  • Jira ticket has been updated (if needed) to match changes made during the development process.
  • I've added or updated relevant docs in the docs/ directory
  • Jira ticket has been updated (if needed) with suggestions for QA when this PR is deployed to stage.
  • All UI revisions follow the coding standards, and use Protocol tokens where applicable (see /frontend/src/styles/tokens.scss).
  • Commits in this PR are minimal and have descriptive commit messages.
  • l10n changes have been submitted to the l10n repository, if any.

@groovecoder groovecoder force-pushed the add-google-cloud-profiler-MPP-3467 branch 6 times, most recently from acba5ce to 225d16b Compare January 25, 2024 22:38
@groovecoder groovecoder marked this pull request as ready for review January 25, 2024 22:42
@groovecoder groovecoder force-pushed the add-google-cloud-profiler-MPP-3467 branch from 225d16b to 86bc582 Compare January 26, 2024 12:33
Copy link
Member

@jwhitlock jwhitlock left a comment

Choose a reason for hiding this comment

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

Thanks @groovecoder! I didn't see any blockers for merging this, since it represents working code in local dev and Heroku (which took a lot of effort!). I imagine we'll need more changes to get it running in GCP.

I was able to load get_version_info from it's original spot by importing inside the function rather than at the top level. If you want to do that in this PR, please do, but I can also do it in my next PR (#4347) which touches all these files again.

.gitignore Show resolved Hide resolved
.profile Show resolved Hide resolved
privaterelay/apps.py Outdated Show resolved Hide resolved
privaterelay/views.py Outdated Show resolved Hide resolved
privaterelay/apps.py Outdated Show resolved Hide resolved
privaterelay/apps.py Show resolved Hide resolved
privaterelay/apps.py Outdated Show resolved Hide resolved
privaterelay/apps.py Outdated Show resolved Hide resolved
privaterelay/apps.py Outdated Show resolved Hide resolved
docs/profiler.md Show resolved Hide resolved
@groovecoder groovecoder force-pushed the add-google-cloud-profiler-MPP-3467 branch from 86bc582 to 3658fb9 Compare January 26, 2024 20:32
Also moves get_version_info to privaterelay.apps
@groovecoder groovecoder force-pushed the add-google-cloud-profiler-MPP-3467 branch from 3658fb9 to 24187e0 Compare January 26, 2024 20:35
@groovecoder groovecoder added this pull request to the merge queue Jan 26, 2024
Merged via the queue into main with commit 11f8d73 Jan 26, 2024
27 checks passed
@groovecoder groovecoder deleted the add-google-cloud-profiler-MPP-3467 branch January 26, 2024 20:54
Copy link

sentry-io bot commented Jan 31, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ IsADirectoryError: [Errno 21] Is a directory: '.' privaterelay.apps in ready View Issue

Did you find this useful? React with a 👍 or 👎

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.

2 participants