Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fargate cost metrics #21

Open
jacobtomlinson opened this issue Aug 6, 2019 · 0 comments
Open

Add fargate cost metrics #21

jacobtomlinson opened this issue Aug 6, 2019 · 0 comments
Labels
enhancement New feature or request provider/aws/ecs Cluster provider for AWS ECS

Comments

@jacobtomlinson
Copy link
Member

Because Fargate tasks are billed per second and we can query the AWS API for the start and end times of all tasks that are created as part of the cluster we should be able to calculate how much our cluster is costing.

Two useful metrics would be:

  • How much is the current cluster costing? (per second, minute, hour, etc)
  • How much has it cost so far? (How long has it been running, has it scaled up and down in that time, etc)

I did this a little in the notebook that inspired this module. Would be good to revisit and clean it up.

Note: This is not useful when running in EC2 mode as users are billed for the instances rather than the tasks. We could request info on the instances bit this is likely to be much less useful.

@jacobtomlinson jacobtomlinson added enhancement New feature or request provider/aws/ecs Cluster provider for AWS ECS labels Aug 6, 2019
lukaszo pushed a commit to lukaszo/dask-cloudprovider that referenced this issue Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request provider/aws/ecs Cluster provider for AWS ECS
Projects
None yet
Development

No branches or pull requests

1 participant