Skip to content

monitor the CPU hours used of nixbuild.net #34

@cdepillabout

Description

@cdepillabout

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions