Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 613 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 613 Bytes

PM2 Stackdriver logging module

Configuration

  • "pm2_stackdriver_enabled" Checks if the module is enabled or not (Default: false)
  • "pm2_stackdriver_on_google" Checks if we are on google cloud or not (Default: false)
  • "pm2_stackdriver_projectId" Set the project id when we are not google cloud
  • "pm2_stackdriver_keyFile" Set the credentials for google cloud
pm2 set @gastrohero/pm2-stackdriver:pm2_stackdriver_enabled true
pm2 set @gastrohero/pm2-stackdriver:pm2_stackdriver_projectId <project id>
pm2 set @gastrohero/pm2-stackdriver:pm2_stackdriver_keyFile <path to service account json>