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

Investigate feasibility of serving as a data collector API #311

Open
drewhammond opened this issue Jan 27, 2024 · 0 comments
Open

Investigate feasibility of serving as a data collector API #311

drewhammond opened this issue Jan 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@drewhammond
Copy link
Owner

There are some appealing features that would be made possible if chefbrowser hosted an endpoint for data collection (https://docs.chef.io/automate/data_collection/). However, doing this also makes an otherwise very simple read-only application much more complex.

I don't have any desire to recreate the functionality of Chef Automate in this project, but I'm not against the idea of collecting the same data and using it to display statistics about the last chef client run on each node page.

I don't have any desire to recreate the functionality of Chef Automate in this project, but I'm not against the idea of displaying statistics about the last chef run on each node page.

Some napkin considerations:

  • Must be configurable and disabled by default
  • Storage solution should be scalable but if feasible something like sqlite should be considered for small environments
  • Periodic clean ups will be necessary. Either with a configurable TTL or by pruning records for nodes that are no longer returned by the chef server API.
  • Should be possible to run as a separate service to fail gracefully without taking down the chefbrowser application
@drewhammond drewhammond added the enhancement New feature or request label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant