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

Question : Use cases #31

Open
advissor opened this issue Jul 27, 2023 · 1 comment
Open

Question : Use cases #31

advissor opened this issue Jul 27, 2023 · 1 comment

Comments

@advissor
Copy link

HI,
As I understand, using this tool locally has some benefits
Probably better use case, would be to collect the metrics over time and understand performance of terraform code base over time?

Are use cases for this tool described somewhere? Sorry if missed it somewhere here on github

Something like :

  • add as a pipeline step and export the metrics to tool XYZ for building a dashboard; Graphana/Prometheus, New Relics and etc
  • comparison between different runs
  • introducing some best practices based on number of resources & time it takes for an apply
@QuintenBruynseraede
Copy link
Collaborator

Hi,
First of all, thanks for showing interest in tf-profile! You're correct that it's currently positioned as a tool to do "adhoc" analysis of logs, locally or by enhancing the output of some automated process (CICD).

I see the value of comparing its output over multiple runs. And you're right that no such use case is currently described. I completely support exporting tf-profile's output to something like Prometheus or similar, and will put that on the roadmap. Imo that covers a lot of useful cases already.

As for your other suggestions (comparisons between runs / introducing some best practices), could you elaborate a bit on how you see this? Ideally, we could keep the API small and focused (i.e. I don't think tf-profile should be responsible for storing logs or making suggestions about your TF configuration).

Quinten

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

2 participants