https://github.com/metalwarrior665/actor-check-compute-per-actor
https://github.com/metalwarrior665/actor-check-compute-per-actor
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/metalwarrior665/actor-check-compute-per-actor
- Owner: metalwarrior665
- Created: 2018-12-07T13:11:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T13:27:13.000Z (over 4 years ago)
- Last Synced: 2024-12-30T18:20:54.174Z (4 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## actor-check-compute-per-actor
This is a simple actor to check your compute units usage on Apify for each of your actor. We are planning to add this feature to the app itself, so after that this actor will be deprecated.
### usage
If you run this actor, it will go through all of your actor and their runs for the previous day/month and calculate their sum. It doesn't matter if you run it in the morning or evening because it always counts the previous day/month. The object with the data is then stored into the default key value store of the run.
### input
- checkTime<`String`>: Can be either `last-day`, `last-month` or `this-month`
- actorNamePattern<`String`>: Count CU only for the actors matching the pattern (Regular expression).### warning!
This actor is only usable if you have up to few thousands of runs totally since it has to make a separate API call for each run. There is a throttling of max 20 API calls per second.