Skip to content

Instantly share code, notes, and snippets.

@Booligoosh
Last active October 13, 2019 00:34
Show Gist options
  • Save Booligoosh/eb608fbbbfbecc488171cc23ef5bd55e to your computer and use it in GitHub Desktop.
Save Booligoosh/eb608fbbbfbecc488171cc23ef5bd55e to your computer and use it in GitHub Desktop.
Netlify usage

Netlify Usage

This is a log of my cumulative Netlify usage for the current period on each day. It's automatically fetched daily. I made it so that I can better keep track of my Netlify usage and find spikes and usage patterns to avoid going past the free tier. It contains three sets of data…

Bandwidth

This is the amount of bandwidth (in bytes) going through Netlify for ALL SITES in my account (KanbanMail, Code The Web, etc.)

Invocations

This is the number of times that Netlify has run my cloud functions for KanbanMail.

Runtime

This is the amount of time (in seconds) that Netlify has spent running my cloud functions for for KanbanMail.


In future, I plan to turn this data into a web page with a graph.

{
"2019-09-25": 4814591650,
"2019-09-26": 4830147819,
"2019-09-27": 4830147819,
"2019-09-28": 4830147819,
"2019-09-29": 7094472717,
"2019-09-30": 7467252332,
"2019-10-01": 7964689177,
"2019-10-02": 8496371199,
"2019-10-03": 8910670083,
"2019-10-04": 9384912326,
"2019-10-09": 11017843330,
"2019-10-13": 268351746
}
{
"2019-09-24": 113166,
"2019-09-25": 113484,
"2019-09-26": 113484,
"2019-09-27": 113484,
"2019-09-28": 113717,
"2019-09-29": 269869,
"2019-09-30": 269896,
"2019-10-01": 269909,
"2019-10-02": 269909,
"2019-10-03": 269922,
"2019-10-04": 269942,
"2019-10-09": 269997,
"2019-10-12": 0
}
{
"2019-09-24": 36058,
"2019-09-25": 36284,
"2019-09-26": 36284,
"2019-09-27": 36284,
"2019-09-28": 36454,
"2019-09-29": 92205,
"2019-09-30": 92229,
"2019-10-01": 92249,
"2019-10-02": 92249,
"2019-10-03": 92265,
"2019-10-04": 92309,
"2019-10-09": 92359,
"2019-10-12": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment