-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I'd like to monitor the number of CPU hours we've used of nixbuild.net. If we launch binplz.dev and it is really popular, we'd probably like to easily know how many CPU hours we've used, so that we can pull the plug if we end up using too much money.
My idea is to create an AWS Lambda that runs every hour or so and accesses nixbuild.net to figure out how many hours have been used so far, and then uploads the current number of hours to CloudWatch.
Then we could create an alarm on CloudWatch that will notify us if the number of hours has gone over some set amount.
Metadata
Metadata
Assignees
Labels
No labels