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

config: Track setting usage #1132

Open
bt-justtrack opened this issue Jul 24, 2024 · 1 comment
Open

config: Track setting usage #1132

bt-justtrack opened this issue Jul 24, 2024 · 1 comment
Labels
enhancement New feature or request refinement

Comments

@bt-justtrack
Copy link
Contributor

We want to add a property to a setting whether it was used at some point in time or not. That would enable easy cleanup of unused config settings.

@bt-justtrack
Copy link
Contributor Author

Plan: Once we have #1133 we can have Providers optionally also implement another interface allowing them to track usage for settings keys.
Here you can ask them to return the list of used and unused settings keys.
For eg the env var provider this usage tracking could be tracking all actually requested env vars and returning as unused the set of all env var keys - the set of requested keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refinement
Projects
None yet
Development

No branches or pull requests

1 participant