Open bt-justtrack opened 3 months ago
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.
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.