GlueDev / laravel-stackdriver

Enables logging, tracing and error reporting to Google Stackdriver for Laravel
MIT License
47 stars 26 forks source link

How to setup this package? #27

Open bhaidar opened 3 years ago

bhaidar commented 3 years ago

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:

Thanks a lot

bhaidar commented 3 years ago

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.