Skip to content

Research and prototype resource usage and cost tracking #654

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

Open
5 tasks
johnstcn opened this issue May 21, 2025 · 0 comments
Open
5 tasks

Research and prototype resource usage and cost tracking #654

johnstcn opened this issue May 21, 2025 · 0 comments
Assignees

Comments

@johnstcn
Copy link
Member

johnstcn commented May 21, 2025

Overview

Umbrella issue for research relating to resource usage and cost tracking feature.

Tasks

  • Prototype extracting resource usage data from workspace_builds.provisioner_state (est: 1-2 days)
  • Prototype a basic report of the above by resource type / workspace / user (est: 1-2 days)
  • Investigate potential data storage backends for above data (est: 1-2 days)
  • Write/update RFC with discoveries from the above (est: 1 day)

Stretch goals

  • Prototype determining cost data from above using existing 3rd party tooling (est: 1-2 days)

Questions / Expected Outcomes

  • ‼️ Can we reliably determine resource usage (units/interval) based solely on Terraform state?
  • ‼️ Can a small PostgreSQL deployment reasonably handle all of the historical usage data from dev.coder.com, or do we need to investigate alternative backends?
  • Can Grafana comfortably handle 80% of the use cases of a reporting dashboard while still remaining performant?
  • (Optional) Can we determine the cost of resources to within a reasonable level of accuracy using existing tools without having to implement our own?
@johnstcn johnstcn self-assigned this May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant