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

Support API Cost Breakdown #1962

Closed
madisonb opened this issue Mar 16, 2021 · 0 comments · Fixed by #2382
Closed

Support API Cost Breakdown #1962

madisonb opened this issue Mar 16, 2021 · 0 comments · Fixed by #2382
Assignees
Labels
enhancement New feature or request metrics Related to metrics or dashboards research Determine technical constraints
Milestone

Comments

@madisonb
Copy link

Description

Per the discussion over here, I would like to be able to understand and calculate the cost of my various API endpoints running within my cortex cluster.

Right now, using AWS cost tags only gives me the overall cost of the cluster, but not my true Spot, CPU, Memory, or any other costs by replica. Using a formula or estimator is difficult considering all the variables at play.

Motivation

This has real implication for enabling teams to rapidly prototype new models and move them into production, because you can understand the cost of any individual API endpoint running within the cluster. This might allow you to focus on memory optimization, reduction in init time, speed, or anything else that helps keep your costs down.

From a contractual R&D perspective, this also helps understand costs specific for customers or programs without spinning up new dedicated clusters just for a single API endpoint or two. While that is practical is some circumstances, it gets unwieldy at large scales and would be easier to track costs based on a single cluster.

Additional context

Here is an example project that helps track kubernetes costs using Prometheus, it might be a great starting point.

https://github.com/kubecost/cost-model

@madisonb madisonb added the enhancement New feature or request label Mar 16, 2021
@miguelvr miguelvr changed the title Feature Reqest: Support for API Cost Breakdown Feature Request: Support for API Cost Breakdown Mar 16, 2021
@miguelvr miguelvr added the metrics Related to metrics or dashboards label Mar 16, 2021
@deliahu deliahu changed the title Feature Request: Support for API Cost Breakdown Support API Cost Breakdown Jun 6, 2021
@vishalbollu vishalbollu added the research Determine technical constraints label Jun 23, 2021
@miguelvr miguelvr assigned miguelvr and deliahu and unassigned miguelvr Jul 1, 2021
@deliahu deliahu removed their assignment Jul 20, 2021
@miguelvr miguelvr assigned vishalbollu and deliahu and unassigned vishalbollu Jul 21, 2021
@deliahu deliahu added this to the v0.40 milestone Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request metrics Related to metrics or dashboards research Determine technical constraints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants