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

How to setup this package? #27

Open
bhaidar opened this issue May 18, 2021 · 1 comment
Open

How to setup this package? #27

bhaidar opened this issue May 18, 2021 · 1 comment

Comments

@bhaidar
Copy link

bhaidar commented May 18, 2021

Hello,

I assume this package will free us from having to configure ourselves enabling cloud logging and error logging on GCP.

There are a few questions if you could help me answer them:

  • Can this package be used for apps running on both App Engine and Compute Engine? Or is it only for App Engine?
  • The keyfile path. How to specify that when running on App Engine? For compute engine ,I can download the file locally and put the path. But for App Engine, how does it work? I can put the file in the project root folder but then it gets into git. Is there another way?
  • For the batch daemon, if I am running on App Engine, do i still need to add it to supervisord? In that case, what's the file path that I should specify for the daemon?

Thanks a lot

@bhaidar
Copy link
Author

bhaidar commented May 18, 2021

I found the following from this page:

While running on Google Cloud Platform environments such as Google Compute Engine, Google App Engine and Google Kubernetes Engine, no extra work is needed. The Project ID and Credentials and are discovered automatically. Code should be written as if already authenticated.

This means, this package can be used on both Compute Engine and App Engine. It will simply log to Google Stackdriver service. Since Laravel app will be running on Google App Engine or Compute Engine, hence the code is already authenticated.

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

No branches or pull requests

1 participant