Stackdriver use with Apps Script

51 views
Skip to first unread message

Alan Wells

unread,
Jun 22, 2019, 9:38:18 AM6/22/19
to Google Apps Script Community
When a new Apps Script project file is created, the manifest file (appsscript.json) is automatically created, and populated with some default configurations.

{
 
"timeZone": "America/New_York",
 
"dependencies": {
 
},
 
"exceptionLogging": "STACKDRIVER"
}


"exceptionLogging": "STACKDRIVER" is added by default.

If you look at the Stackdriver documentation, you'll see information about cost, pricing, estimating your bill, alerts for StackDriver usage, controlling your cost, free products and chargeable products, and a table with the amount of free allotement per month.

Stackdriver Logging is a chargable product.  You might incur cost.  But the table outlining the pricing details, states that the free allotment per month for Log is "First 50 GiB per project"   I'm not sure what that equates to in number of logs per month.  50,000 Log entries? Hundreds of thousands of log entries?  Millions?  I don't know.  I'm guessing that unless your app was constantly logging many entries every time it ran, and you had thousands of users, that you'd be under the allotment.

Is there something specific to Apps Script that is different than use with other apps?

Alan Wells

unread,
Jun 22, 2019, 11:06:06 AM6/22/19
to Google Apps Script Community
In order to incur any costs for Stackdriver, a project would need to be linked to a billing account.  If you go directly to a project in GCP and to the Billing section, you'll see a message stating that "This project has no billing account" unless you had set one up and linked the project to it.

NoBillingAccount.JPG



You can see all of your projects and whether they are linked to a billing account at:


GCP_Billing.JPG


Romain Vialard

unread,
Jun 26, 2019, 12:47:34 PM6/26/19
to Google Apps Script Community
No there's nothing specific for Apps Script but the free tier is very generous. Even with several Millions of entries you will still be under the free quota (of course it depends how big are your entries as you can send JSON objects to Stackdriver Logging, but consider it difficult to start paying if you simply send logs from Apps Script).

Reply all
Reply to author
Forward
0 new messages