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

remove cloud cost and custom cost from cost-model initialization #2691

Conversation

Sean-Holcomb
Copy link
Collaborator

@Sean-Holcomb Sean-Holcomb commented Apr 5, 2024

What does this PR change?

This PR modularizes the initialization of processes (or Services) for the cost-model (Kubernetes costs), cloud costs and custom costs. As these processes have limited shared dependencies and may need to run independently, they have been split out to do so. The way in which they have been split allows each Service to build the structures that it requires and register endpoints against a router that is passed to it. The OpenCost executable is then able to run these services using a router that it owns. The OpenCost executable is also able to register additional endpoints that are only relevant to itself and not to other executable that run any of the Services.

Does this PR relate to any other PRs?

How will this PR impact users?

Does this PR address any GitHub or Zendesk issues?

  • Closes ...

How was this PR tested?

TODO

Does this PR require changes to documentation?

Have you labeled this PR and its corresponding Issue as "next release" if it should be part of the next OpenCost release? If not, why not?

Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencost ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 10:23pm

Copy link

sonarcloud bot commented May 7, 2024

@Sean-Holcomb Sean-Holcomb merged commit 2f5e8fe into opencost:develop May 7, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants